DocuSky on Ubuntu
1. Ubuntu
載點
2. XAMPP
載點
- Apache 2.4.56
- MariaDB 10.4.28
- PHP 8.2.4
- phpMyAdmin 5.2.1
3. Sphinx search
3.1 Install
3.2 SphinxData
將 (SphinxData)
資料夾放至 /home/docuengineer/SphinxData
3.3 sphinx.conf
3.4 DocuSky/include/config.php
3.5 Problems
- Can't connect to local MySQL server through socket
- Error message:
ERROR: sql_connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
- Follow the steps in this article: Try to connect to 127.0.0.1 (through TCP/IP connector) instead of localhost (through socket connector)
4. 背景執行
5. Other Problems
5.1 無法讀取 DOCUSKY
資料庫、或是無法讀取docusky.USER_PROFILE
- 解法:讓 mysql 執行 query 時忽略大小寫
5.2 mysql.sock
6. Resources
安裝過程參考:在 Ubuntu16.04 建立 DocuSky