• 微信公众号:美女很有趣。 工作之余,放松一下,关注即送10G+美女照片!

ubuntu18.04下基于XAMPP的Testlink安装部署

开发技术 开发技术 2周前 (04-30) 5次浏览

ubuntu18.04下基于XAMPP的Testlink安装部署

Testlink的安装:

1.安装包的准备

Tsetlink的官网下载1.9.19版本
XAMPP的官网下载xampp-linux-x64-7.3.27

2.XAMPP的安装

chmod 777 xampp-linux-x64-7.3.27-1-installer.run #赋予权限
sudo ./xampp-linux-x64-7.3.27-1-installer.run

然后根据提示,依次输入y,继续安装安装目录在/opt/lampp下

3.启动XAMPP

sudo  /opt/lampp/lampp start
sudo  /opt/lampp/lampp stop
sudo  /opt/lampp/lampp restart

出现如下就算启动成功:

sw@BJSW-VM005:/opt/lampp/htdocs/testlink$ sudo  /opt/lampp/lampp start
Starting XAMPP for Linux 7.3.27-1...
XAMPP: Starting Apache...already running.
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...already running.

4.验证是否安装成功

在浏览器中输入:http://localhost进行检查,如果出现下面界面,则代表Xampp安装成功

在浏览器中输入:http://localhost/phpadmin.php进行检查,如果出现下面界面,表面成功,如果界面出现403 forbidden
需要改如下文件:
/opt/lampp/etc/extra/httpd-xampp.conf

将如下注释掉,并加入一行如下所示:

#    Require local
    Require all granted

sudo /opt/lampp/lampp restart 生效

5.配置XAMPP

因为下面要设置4个密码,所以我统一设置成了123,方便记忆。

sudo /opt/lampp/lampp security  # 设置密码 
XAMPP:Quick security check…  XAMPP: Your XAMPP pages are NOT secured by apassword.  XAMPP: Do you want to set a password? [yes] yes  XAMPP: Doyou want to set a password? [yes] yes  XAMPP: Password:  XAMPP:Password (again):  #第一个是设置xampp的密码
 XAMPP:The mysql/phpMyAdmin user pma has no password set!!!  XAMPP: Do you wantto set a password? [yes] yes  XAMPP: Password:  XAMPP: Password(again):  XAMPP: Setting new MySQL pma password.  XAMPP: SettingphpMyAdmin’s pma password to the new one.#第二个是设置phpMyAdmin的密码
XAMPP: MySQL has no root passwort set!!!  XAMPP: Do you wantto set a password? [yes] yes  XAMPP: Write the password somewhere down tomake sure you won’t forget it!!!  XAMPP: Password:  XAMPP: Password(again):  XAMPP: Setting new MySQL root password.  XAMPP:ChangephpMyAdmin’s authentication method.# 第三个是设置MySQL的root账户密码 
XAMPP: TheFTP password for user ‘daemon’ is still set to ‘xampp’.  XAMPP: Do youwant to change the password? [yes] yes  XAMPP: Password:  XAMPP:Password (again):#第四个是设置ftp密码


程序员灯塔
转载请注明原文链接:ubuntu18.04下基于XAMPP的Testlink安装部署
喜欢 (0)