install.txt

来自「关于usb驱动的源码」· 文本 代码 · 共 50 行

TXT
50
字号
linqd now supports two kinds of database engines: mysql and odbc(win32).

The following installation process assumes that you use mysql.


- Download mysql at http://www.mysql.com, and start it correctly.

- Create necessary database and tables:

   shell> mysql -uroot -p
   mysql> CREATE DATABASE linq;
   mysql> GRANT ALL ON linq.* TO linq@localhost IDENTIFIED BY 'linq'
   mysql> quit
   
   shell> mysql -ulinq -Dlinq -p < linq.sql

   NOTE: You should use your own user name and password!!

- Edit etc/linqd.conf according to your needs

- [win] Ensure that libmySQL.dll(distributed with mysql) is in your path.
  You can achieve this by copying libmySQL.dll to the bin/ directory

- Start services:

   [linux] shell> ./run.sh start

   [win] shell> run install
   [win] shell> run start


If the 'admin' module is enabled(see etc/modules.conf), you can start/stop/update modules without rebooting linqd:

shell> telnet localhost 2323

admin> ls
search
vcard
presence
roster
message
offline
admin

admin> stop offline
admin> start offline
admin> quit


Good luck!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?