Documentos de Académico
Documentos de Profesional
Documentos de Cultura
LNMPA state management: /root/lnmpa {start | stop | reload | restart | kill | status} Nginx state management: /etc/init.d /nginx {start | stop | reload | restart} PHP-FPM state management: /etc/init.d /php-fpm {start | stop | quit | restart | reload | logrotate} PureFTPd state management: /etc/init.d /pureftpd {start | stop | restart | kill | status} MySQL state management: /etc/init.d /mysql {start | stop | restart | reload | force-reload | status} Memcached state management: /etc/init.d /memcached {start | stop | restart} Apache state management: /etc/init.d/httpd {start | stop | restart | graceful | configtest | status}
3, the installation imageMagick, execute the following command:. / ImageMagick.sh Enter to confirm, it will automatically install and restart the web service. 4, install memcached, execute the following command:. / Memcached.sh Enter to confirm, it will automatically install and restart the web service. 5, install PureFTPd and management panel, execute the following command:. / Pureftpd.sh prompted, enter your MySQL root password, FTP password for the user management panel, MySQl database password of FTP (which can directly enter, automatically generate a password), Enter to confirm, it will automatically install PureFTPd, installation of PureFTPd, execute in the browser http:// your domain name or IP / ftp / input you previously set the password for the FTP user management panel, you can manage. 6, installation VsFTPD, execute the following command:. / Vsftpd.sh will automatically install vsftpd, only need to execute the command: useradd-d / home / wwwroot-s / sbin / nologin adminftp add a good ftp account specified on the account's root directory , and then execute: passwd adminftp set on the password, log on it. 7, upgrading Nginx version, execute the following command:. / Upgrade_nginx.sh prompted, enter nginx version number, such as 1.0.10, the version number you can get from http://nginx.org/en/download.html. PHP version upgrade, execute the following command:. / Upgrade_lnmpa_php.sh prompted, enter your php versiWeb Host Manager 1, add a virtual host, execute the following command: / root / vhost.sh prompted, enter the domain name to bind, enter, if you need to add more domain names, type y, then enter the other binding domain, a number of domain can be separated by spaces. Then enter the directory binding domain (absolute directory, such as / home / wwwroot / lnmp, if you do not fill the default is / home / wwwroot / binding domain), then choose whether to add the pseudo-static rules, the default has been Discuz, Wordpress , Sablog, emlog, dabr, you can directly enter the above name, if you need to add a custom pseudo-static rules, directly enter a desired name, the program will automatically create a pseudo-static files directly in / usr / local / nginx / conf / you customize the name of the pseudo-static. conf rules which add pseudo-static on the line. Next will be prompted whether logging is enabled, under normal circumstances do not need to start direct input n on the line, To start, enter y, and then input to define the log file name, enter it will automatically add the virtual host.
2sshrm /usr/local/nginx/conf/vhost/.conf 2, delete the virtual host, ssh execute: rm / usr / local / nginx / conf / vhost / domain name. Conf on number, such as 5.3.6.