帮助文档 > 系统入门 > 服务器 > CentOS

lanmp v3.1 安装

更新时间:2017-03-13 22:35:57

lanmp v3.1 安装教程

下载安装方法
wget http://dl.wdlinux.cn/files/lanmp_v3.1.tar.gz
tar zxvf lanmp_v3.1.tar.gz
sh lanmp.sh                 默认安装
sh lanmp.sh cus             自定义安装

下载

[root@iZwz97lpp0wul509ix8zweZ ~]# wget http://dl.wdlinux.cn/files/lanmp_v3.1.tar.gz
--2017-03-13 22:35:39--  http://dl.wdlinux.cn/files/lanmp_v3.1.tar.gz
Resolving dl.wdlinux.cn (dl.wdlinux.cn)... 222.186.61.177
Connecting to dl.wdlinux.cn (dl.wdlinux.cn)|222.186.61.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46590 (45K) [application/x-gzip]
Saving to: ‘lanmp_v3.1.tar.gz’

100%[========================================================================================>] 46,590      --.-K/s   in 0.1s    

2017-03-13 22:35:39 (436 KB/s) - ‘lanmp_v3.1.tar.gz’ saved [46590/46590]

[root@iZwz97lpp0wul509ix8zweZ ~]#

解压

[root@iZwz97lpp0wul509ix8zweZ ~]# tar zxvf lanmp_v3.1.tar.gz
conf/
conf/init.pureftpd
conf/defaulta2.conf
conf/RPM-GPG-KEY.dag.txt
conf/vps_my.cnf
conf/vsftpd.denyuser
conf/nginxd.fpm-ubuntu
conf/init.nginxd-ubuntu
conf/httpd-vhosts.conf
conf/wdlinux_na.php
conf/init.nginxd
conf/fcgi.conf
conf/nginx.conf
conf/phpinfo.php
conf/vsftpd.conf
conf/iptables
conf/rpaf.conf
conf/php-fpm
conf/init.memcached-ubuntu
conf/init.httpd-ubuntu
conf/init.memcached
conf/my.cnf
conf/wdlinux_a.php
conf/iProber2.php
conf/dzx15_nginx.conf
conf/httpd-wdl.conf
conf/init.pureftpd-ubuntu
conf/pureftpd-mysql.conf
conf/dzx15_apache.conf
conf/httpd.conf
conf/com_my.cnf
conf/public_html.tar.gz
conf/init.named
conf/dzx32_apache.conf
conf/nginxd.fpm
conf/rpaf2.conf
conf/dzx32_nginx.conf
conf/pure-ftpd.conf
conf/naproxy.conf
conf/dz7_apache.conf
conf/vhost.sh
conf/innodb_my.cnf
conf/defaultna.conf
conf/wdlinux_n.php
conf/init.httpd
conf/wdcp.sh-ubuntu
conf/defaulta.conf
conf/dz7_nginx.conf
conf/defaultn.conf
conf/init.vsftpd
lanmp.sh
lib/
lib/service.sh
lib/nginx.sh
lib/apache.sh
lib/common.conf
lib/zendopc.sh
lib/wee.sh
lib/centos7_initd.sh
lib/mcrypt.sh
lib/na.sh
lib/perl.sh
lib/mhash.sh
lib/pcre.sh
lib/webconf.sh
lib/zend.sh
lib/php.sh
lib/memcached.sh
lib/eaccelerator.sh
lib/libiconv.sh
lib/wdcp.sh
lib/common.sh
lib/libmemcached.sh
lib/mysql.sh
lib/autoconf.sh
lib/pureftp.sh
[root@iZwz97lpp0wul509ix8zweZ ~]#

默认安装,选择4,安装全部

[root@iZwz97lpp0wul509ix8zweZ ~]# sh lanmp.sh
Select Install
    1 apache + php + mysql + zend +  pureftpd + phpmyadmin
    2 nginx + php + mysql + zend + pureftpd + phpmyadmin
    3 nginx + apache + php + mysql + zend + pureftpd + phpmyadmin
    4 install all service
    5 don't install is now

Please Input 1,2,3,4,5: 4

大约20分钟左右安装完成

starting...
Shutting down MySQL..                                      [  OK  ]
Starting MySQL..                                           [  OK  ]
Starting httpd (via systemctl):                            [  OK  ]
Starting nginxd (via systemctl):                           [  OK  ]
Starting memcached (via systemctl):                        [  OK  ]
Starting wdcp (via systemctl):                             [  OK  ]
Starting pureftpd (via systemctl):                         [  OK  ]
Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]



      Congratulations ,lanmp,wdCP install is complete
      visit http://ip
      wdCP http://ip:8080
      more infomation please visit http://www.wdlinux.cn/bbs/

[root@iZwz97lpp0wul509ix8zweZ ~]#

安装完成,默认用户名和密码是 

admin
wdlinux.cn

教程结束