[TestLink]testlink安装

转自:http://www.51testing.com/html/25/465025-3711140.html

bitnami参考:https://bitnami.com/stack/testlink/README.txt

安装文件

xmapp: http://www.apachefriends.org/zh_cn/xampp.html

bitnami-testlink:  https://bitnami.com/stack/testlink/installer

安装注意

安装的时候,注意mysql.service和apache2.service都是disable状态,否则会导致80和3066端口被占用

如何确认apache是否安装:http://ip(localhost)

如何

启动注意

需要手动执行/opt/lampp/htdocs/testlink/ctlscript.sh start, 即使放到systemd管理,也无法正常使用,不知道为什么

Question:Package mysql-server-5.7 is not configured yet.

安装mysql-server总是报这个错误

I had the same issue and fixed it almost like Rick except I had to remove all the possible my.cnf "alternatives".
Before that I purged mysql-server-5.7.
Then I was able to reinstall it. I checked again all my databases and everything was OK.

sudo apt-get purge mysql-server-5.7
cd /etc/mysql
sudo rm my.cnf my.cnf.fallback my.cnf.migrated my.cnf.wba.bak /etc/alternatives/my.cnf
sudo apt-get install mysql-server
sudo mysqlcheck --all-databases -p

I think I could just have reconfigured all (sudo dpkg --configure -a) instead of purging sql-server-5.7 but after multiple trial and errors I thought it was safer.

Question:当执行/opt/lamp/lamp start失败,apache失败

需要

sudo /etc/init.d/apache2 stop--->sudo /etc/init.d/apache2 start.

同理

/etc/init.d/mysql stop/start/restart
/etc/init.d/apache2 stop/start/restart

启动xamp

/opt/lamp/lamp stop, /opt/lamp/lamp start
/opt/lamp/lamp status
原文地址:https://www.cnblogs.com/aaronLinux/p/8033382.html