linux下安装XAMPP

一、xampp下载地址:

注意是32位还是64位

在字符界面输入前还是在浏览器里面输一下网址,防止敲了半天不能下载!因为目前很多网上的文件安装源都不存在了

http://www.apachefriends.org/zh_cn/index.html

http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/

http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-1-installer.run/download

二、我下载的是xampp-linux-x64-1.8.3-1-installer.run通过wget指令下载源代码安装包三、下载完以后,给该文件添加执行权限:chmod a+x xampp-linux-x64-1.8.3-a-installer.run四、安装xampp过程如下:# ./xampp-linux-x64-1.8.3-1-installer.run—————————————————————————-Welcome to the XAMPP Setup Wizard.—————————————————————————-Select the components you want to install; clear the components you do not wantto install. Click Next when you are ready to continue.XAMPP Core Files : Y (Cannot be edited)XAMPP Developer Files [Y/n] :yIs the selection above correct? [Y/n]: y—————————————————————————-Installation DirectoryXAMPP will be installed to /opt/lamppPress [Enter] to continue :—————————————————————————-Setup is now ready to begin installing XAMPP on your computer.Do you want to continue? [Y/n]: y—————————————————————————-Please wait while Setup installs XAMPP on your computer.Installing0% ______________ 50% ______________ 100%#########################################—————————————————————————-Setup has finished installing XAMPP on your computer.Launch XAMPP [Y/n]: y五、安装后的文件在 /opt/lamp六、启动xampp:[root@nginxone lampp]# /opt/lampp/xampp startStarting XAMPP for Linux 1.8.3-1…XAMPP: Starting Apache…fail.XAMPP: Another web server is already running.XAMPP: Starting MySQL…ok.XAMPP: Starting ProFTPD…fail.XAMPP: Another FTP daemon is already running.七、停止xampp:

# /opt/lampp/xampp stop

因为安装默认在/opt/lampp/下,所以卸载只需要把整个文件夹删除即可

八、卸载xampp#/opt/lampp/xampp stop#rm -rf /opt/lampp

告诉自己,我这次失败了,重新开始吧!下次我会吸取教训,不让自己犯同样的错误的

linux下安装XAMPP

相关文章:

你感兴趣的文章:

标签云: