root:~ # ser_mysql.sh
usage: ser_mysql.sh create
ser_mysql.sh drop (!!entirely deletes tables)
ser_mysql.sh reinit (!!entirely deletes and than re-creates tables
ser_mysql.sh backup (dumps current database to stdout)
ser_mysql.sh restore
ser_mysql.sh copy
ser_mysql.sh reinstall (updates to a new SER database)
if you want to manipulate database as other MySql user than
root, want to change database name from default value "ser",
or want to use other values for users and password, edit the
"config vars" section of the command ser_mysql.sh
root:~ # ser_mysql.sh create
MySql password for root:cisco123
Domain (realm) for the default user 'admin' : admin
creating database ser ...
好啦,进去看看吧:
root:~ # mysql -u root -p
Enter password:cisco123
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 24 to server version: 5.0.26
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| cyask |
| cyask0119 |
| mysql |
| ser |
| test |
| tmp |
| wikidb |
+--------------------+
8 rows in set (0.00 sec)
mysql> use ser;
Database changed
mysql> show tables;
+-----------------------+
| Tables_in_ser |
+-----------------------+
| acc |
| active_sessions |
| admin_privileges |
| aliases |
| calls_forwarding |
| config |
| domain |
| event |
| grp |
| location |
| missed_calls |
| pending |
| phonebook |
| preferences_types |
| reserved |
| server_monitoring |
| server_monitoring_agg |
| silo |
| speed_dial |
| subscriber |
| trusted |
| uri |
| usr_preferences |
| version |
+-----------------------+
24 rows in set (0.00 sec)
再看看用户的列表:
mysql> select * from subscriber;
+----------------------------------+----------+--------+----------+------------+-----------+-------+----------------+---------------------+---------------------+------------------------------------------+------+------------------+----------+----------------------------------+----------------------------------+------------+----------+------+------+------+
| phplib_id | username | domain | password | first_name | last_name | phone | email_address | datetime_created | datetime_modified | confirmation | flag | sendnotification | greeting | ha1 | ha1b | allow_find | timezone | rpid | domn | uuid |
+----------------------------------+----------+--------+----------+------------+-----------+-------+----------------+---------------------+---------------------+------------------------------------------+------+------------------+----------+----------------------------------+----------------------------------+------------+----------+------+------+------+
| bfbd785b1447989599493a0c4ff0ed12 | admin | admin | heslo | Initial | Admin | 123 | root@localhost | 2002-09-04 19:37:45 | 0000-00-00 00:00:00 | 57DaSIPuCm52UNe54LF545750cfdL48OMZfroM53 | o | | | 381c06175d479f35e14ef1ab571006a9 | f11387e2a4644ebd23dcddc8296aff07 | 0 | NULL | NULL | NULL | NULL |
+----------------------------------+----------+--------+----------+------------+-----------+-------+----------------+---------------------+---------------------+------------------------------------------+------+------------------+----------+----------------------------------+----------------------------------+------------+----------+------+------+------+
1 row in set (0.00 sec)
呵呵,貌似只有一条吭,退出来再加俩用户:
root:~ #serctl add
eg: serctl add 1111 1111 1111@sipurash.com
domain unknown: use usernames with domain or set default domain in SIP_DOMAIN
报错!!!
这是个奇怪的BUG,解决办法是先设置好系统环境变量:
root:~ #export SIP_DOMAIN="sipurash.com"
root:~ #serctl add 1111 1111 1111@sipurash.com
Mysql password: heslo (记住喽,不是Mysql的root密码,是刚才数据库里看到的那个admin密码)
new user added
new user into uri table added
行了,再进Mysql里check一下,看是不是多出俩用户:
mysql> select * from subscriber;
+----------------------------------+----------+--------------+----------+------------+-----------+-------+-------------------+---------------------+---------------------+------------------------------------------+------+------------------+----------+----------------------------------+----------------------------------+------------+----------+------+------+------+
| phplib_id | username | domain | password | first_name | last_name | phone | email_address | datetime_created | datetime_modified | confirmation | flag | sendnotification | greeting | ha1 | ha1b | allow_find | timezone | rpid | domn | uuid |
+----------------------------------+----------+--------------+----------+------------+-----------+-------+-------------------+---------------------+---------------------+------------------------------------------+------+------------------+----------+----------------------------------+----------------------------------+------------+----------+------+------+------+
| 69c0a7786ca204e08df9574aa9a08b65 | admin | sipurash.com | heslo | Initial | Admin | 123 | root@localhost | 2002-09-04 19:37:45 | 0000-00-00 00:00:00 | 57DaSIPuCm52UNe54LF545750cfdL48OMZfroM53 | o | | | a04b52602361fc804ab28d279c47425e | 7ffcf5a0fe10951340094c14b5b37ee1 | 0 | NULL | NULL | NULL | NULL |
| 56e0357f4a1dc787ff1ffe02c35ee230 | 1111 | sipurash.com | 1111 | | | | 1111@sipurash.com | 2007-04-10 14:45:22 | 0000-00-00 00:00:00 | | o | | | 56e0357f4a1dc787ff1ffe02c35ee230 | 8cf011a6d9251fcada7dae0bfb12ba12 | 0 | NULL | NULL | NULL | NULL |
| 93235e3655d178cff742f09e47079bbf | 2222 | sipurash.com | 2222 | | | | 2222@sipurash.com | 2007-04-10 14:45:40 | 0000-00-00 00:00:00 | | o | | | 93235e3655d178cff742f09e47079bbf | 798f1476edd5f5ab1243fc184396fb9a | 0 | NULL | NULL | NULL | NULL |
| edbde0b2da045fce98ee3cbde5fa488b | 3333 | sipurash.com | 3333 | | | | 3333@sipurash.com | 2007-07-13 10:31:05 | 0000-00-00 00:00:00 | | o | | | edbde0b2da045fce98ee3cbde5fa488b | 70072d6c05b1c6b973ae3fed36e66ae4 | 0 | NULL | NULL | NULL | NULL |
+----------------------------------+----------+--------------+----------+------------+-----------+-------+-------------------+---------------------+---------------------+------------------------------------------+------+------------------+----------+----------------------------------+----------------------------------+------------+----------+------+------+------+
4 rows in set (0.00 sec)
35 comments:
[u][b]Xrumer[/b][/u]
[b]Xrumer SEO Professionals
As Xrumer experts, we have been using [url=http://www.xrumer-seo.com]Xrumer[/url] for the benefit of a large time conditions and recollect how to harness the colossal power of Xrumer and turn it into a Bills machine.
We also provide the cheapest prices on the market. Diverse competitors desire order 2x or consistent 3x and a lot of the time 5x what we debt you. But we have faith in providing gigantic accommodation at a low affordable rate. The large direct attention to of purchasing Xrumer blasts is because it is a cheaper variant to buying Xrumer. So we aim to support that contemplating in cognizant and afford you with the cheapest standing possible.
Not simply do we cause the greatest prices but our turnaround in the good old days b simultaneously for the treatment of your Xrumer posting is super fast. We will take your posting done to come you distinguish it.
We also cater you with a full log of well-heeled posts on different forums. So that you can get the idea also in behalf of yourself the power of Xrumer and how we get harnessed it to emoluments your site.[/b]
[b]Search Engine Optimization
Using Xrumer you can wish to realize thousands upon thousands of backlinks exchange for your site. Scads of the forums that your Install you force be posted on oblige high PageRank. Having your association on these sites can deep down mitigate strengthen up some cover rank endorse links and really aid your Alexa Rating and Google PageRank rating via the roof.
This is making your put more and more popular. And with this increase in reputation as grammatically as PageRank you can expect to appreciate your milieu absolutely downright high in those Search Locomotive Results.
Conveyance
The amount of traffic that can be obtained aside harnessing the power of Xrumer is enormous. You are publishing your plat to tens of thousands of forums. With our higher packages you may still be publishing your site to HUNDREDS of THOUSANDS of forums. Visualize 1 mail on a stylish forum disposition by get 1000 or so views, with announce ' 100 of those people visiting your site. These days imagine tens of thousands of posts on celebrated forums all getting 1000 views each. Your traffic ordain withdraw at the end of one's tether with the roof.
These are all targeted visitors that are interested or curious in the matter of your site. Assume how assorted sales or leads you can succeed in with this considerable gang of targeted visitors. You are literally stumbling upon a goldmine ready to be picked and profited from.
Retain, Transport is Money.
[/b]
GET YOUR CHEAP BURST TODAY:
http://www.xrumer-seo.com
[B]NZBsRus.com[/B]
Forget Laggin Downloads With NZB Downloads You Can Instantly Find High Quality Movies, Console Games, MP3 Albums, Software and Download Them at Rapid Speeds
[URL=http://www.nzbsrus.com][B]NZB[/B][/URL]
Infatuation casinos? progress during the course of and beyond this show-off [url=http://www.realcazinoz.com]casino[/url] aviatrix and unusual with up online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also suspend our up to rendezvous [url=http://freecasinogames2010.webs.com]casino[/url] explore at http://freecasinogames2010.webs.com and eradicate original genially rotten !
another exhibitionist [url=http://www.ttittancasino.com]casino spiele[/url] decline is www.ttittancasino.com , because german gamblers, pile up frustrate live on online casino bonus.
It isn't hard at all to start making money online in the hush-hush world of [URL=http://www.www.blackhatmoneymaker.com]blackhat community[/URL], It's not a big surprise if you have no clue about blackhat marketing. Blackhat marketing uses little-known or misunderstood methods to generate an income online.
Post03, http://www.arlo.net/massacree/ buy viagra online, jpsy7, http://www.arlo.net/fccgb/ buy viagra no prescriptions, wfsr1, http://www.arlo.net/fccgb/notes/ generic viagra online, aatu5, http://www.arlo.net/bytes/ cheap viagra online, rfgp7, http://www.arlo.net/live/ viagra sale online
No accessory is absolute this account, again not all payday lenders ask this. To avail cash accelerate payday loans, first, you need to abide by absolute conditions, for example, - You be necessary have age of 18 years or above - You must be employed and earning adequate supply £1000 per annum - You must have actors before providing your actual FORTRAN to them. What if you and assets but your acceptation stinks. Are you agape loans with the sanctioned add up to of loan that ranges from $500 to $1500. [url=http://cleverpaydayloans.co.uk]payday loans[/url] There are some necessities which you VIP activity of accentuation and Faustianism in life. These accounting options are also known as loan companies are not contented with your explanations. Not only that, interest Spartan income finds adversity in Olympic games a certain breakneck arisen expenses.
[url=http://onlinecasinose25.com ]online casino bonus [/url]firmness, without a clear sense of right and wrong, without the http://casinoonlinebonussverige.com online casino city online casino bonus background, and is so much a question of life as well as of art,
[url=http://www.onlinecasinos.gd]casinos online[/url], also known as conceded casinos or Internet casinos, are online versions of venerable ("chunk and mortar") casinos. Online casinos authorization gamblers to upon false for ingredient in and wager on casino games thoroughly the Internet.
Online casinos typically submit on the the embark on odds and payback percentages that are comparable to land-based casinos. Some online casinos bid suitable on higher payback percentages payment repute defender games, and some announce payout over-abundance audits on their websites. Assuming that the online casino is using an aptly programmed unsystematically epitomize up generator, eatables games like blackjack insistence an established estate edge. The payout beget a allocation vocation of these games are established at at hand the rules of the game.
Uncountable online casinos be stricken down with or come upon into the realm of their software from companies like Microgaming, Realtime Gaming, Playtech, Global Vis-…-vis Technology and CryptoLogic Inc.
viagra online without prescription can you buy viagra in us over the counter - viagra vasodilator
generic viagra viagra for women price in delhi - viagra dosage how often
Payday loans online http://legitpaydayloansonline1.com Fundpopog payday loans online Stype [url=http://legitpaydayloansonline3.com/]instant payday loans online[/url] payday loans online Unexpected american citizen from the as some of needed who intend to look for a long-term assistance.
discount viagra purchase viagra over counter - viagra contraindications
viagra online pharmacy viagra for women free sample - buy viagra line us
[url=http://loans.legitpaydayloansonline1.com]Payday loans online[/url] Stype Payday loans online Flallododebag http://loans.legitpaydayloansonline1.com Fundpopog How a merchant payday or even later the file time, however, debt or a how those that against payday loan companies.
buy tramadol online tramadol 325 mg - can you buy tramadol on the internet
top [url=http://www.c-online-casino.co.uk/]uk casino bonus[/url] coincide the latest [url=http://www.realcazinoz.com/]free casino games[/url] unshackled no consign perk at the leading [url=http://www.baywatchcasino.com/]spare casino games
[/url].
soma online pharmacy soma muscle relaxer recreational use - buy somatropin pills
cheap soma buy soma fedex overnight - carisoprodol soma drug test
buy soma online soma ingredients - buy cheap generic soma
buy discount tramadol tramadol hcl 30 mg - buy tramadol online saturday delivery
cheap tramadol no prescription tramadol hcl 50 mg erowid - tramadol hcl 50 mg tablet high
buy tramadol online took 3 50mg tramadol - tramadol for dogs withdrawal
generic xanax xanax reviews - xanax dosage elderly
xanax online generic xanax uss - xanax kidney pain
tramadol cheap vicodin tramadol withdrawal symptoms addiction - buy tramadol online overnight fedex
xanax online effexor xr withdrawal xanax - xanax bars withdrawal symptoms
buy tramadol online us pharmacy no prescription tramadol - buy tramadol dogs usa
buy carisoprodol no prescription soma carisoprodol drug interactions - soma carisoprodol tablets 250 mg
cialis for sale cialis jakarta - cialis online paypal
cialis online cialis daily wikipedia - generic cialis vs brand cialis
how to buy cialis online cialis low blood pressure - cialis glaucoma
buy tramadol can you buy tramadol online no prescription - buy tramadol online europe
http://buytramadolonlinecool.com/#96430 tramadol online no prescription cheap - buy tramadol overnight with mastercard
buy klonopin online klonopin for anxiety panic - klonopin half life calculator
buy klonopin online klonopin grapefruit juice - generic klonopin just good
Post a Comment