xampp mysql linux 安装,Linux下安装xampp

编程入门 行业动态 更新时间:2024-10-10 14:26:28

xampp <a href=https://www.elefans.com/category/jswz/34/1771279.html style=mysql linux 安装,Linux下安装xampp"/>

xampp mysql linux 安装,Linux下安装xampp

安装前,需要先给xampp安装包可执行的权限

# chmod 777 xampp-linux-x64-5.6.14-0-installer.run

运行 ./xampp-linux-x64-5.6.14-0-installer.run 进行安装操作。根据提示进行选择需要安装的部分即可:

至此,安装步骤就已经完成了 启动xampp:

# /opt/lampp/lampp start

停止xampp:

# /opt/lampp/lampp stop

卸载xampp:

# /opt/lampp/lampp stop

# rm -rf /opt/lampp

2. 如果按照以上修改后,还是不能访问,则可能是防火墙把80端口给干掉了,要么把防火墙关闭,要么配置一下80端口允许访问。

firewall-cmd –zone=public –add-port=80/tcp –permanent (–permanent永久生效,没有此参数重启后失效)

重新载入

firewall-cmd –reload

四、 安装设置 #实际操作不是如下显示

在默认的安装过程中,xampp所有均是没有密码的,为了安全,我们应该为xampp设置密码。该如何操作呢?

# /opt/lampp/lampp security

设置xampp的密码:

XAMPP: Quick security check…

XAMPP: Your XAMPP pages are NOT secured by a password.

XAMPP: Do you want to set a password? [yes] yew

XAMPP: Do you want to set a password? [yes] yes

XAMPP: Password:

XAMPP: Password (again):

用户名默认是:xampp

设置phpMyAdmin的密码:

XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!

XAMPP: Do you want to set a password? [yes] yes

XAMPP: Password:

XAMPP: Password (again):

XAMPP: Setting new MySQL pma password.

XAMPP: Setting phpMyAdmin’s pma password to the new one.

设置mysql的root账户:

XAMPP: MySQL has no root passwort set!!!

XAMPP: Do you want to set a password? [yes] yes

XAMPP: Write the password somewhere down to make sure you won’t forget it!!!

XAMPP: Password:

XAMPP: Password (again):

XAMPP: Setting new MySQL root password.

XAMPP: Change phpMyAdmin’s authentication method.

设置ftp密码:

XAMPP: The FTP password for user ‘daemon’ is still set to ‘xampp’.

XAMPP: Do you want to change the password? [yes] yes

XAMPP: Password:

XAMPP: Password (again):

通过以上步骤,基本的设置就搞定了,已经达到可用的程度。想要了解更多的,可用google啦!

文章来源:xampp中文组官网

更多推荐

xampp mysql linux 安装,Linux下安装xampp

本文发布于:2024-02-25 03:49:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1697686.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:mysql   xampp   Linux   linux

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!