在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lnmp开源软件地址:https://gitee.com/dabinvip/lnmp开源软件介绍:This script is written using the shell, in order to quickly deploy Script properties:
How to useIf your server system: CentOS/Redhat (Do not enter "//" and "// subsequent sentence) yum -y install wget screen python // For CentOS / Redhatwget http://mirrors.linuxeye.com/lnmp-full.tar.gz // Contains the source codetar xzf lnmp-full.tar.gzcd lnmp // If you need to modify the directory (installation, data storage, Nginx logs), modify options.conf filescreen -S lnmp // if network interruption, you can execute the command `screen -r lnmp` reconnect install window./install.sh // Do not sh install.sh or bash install.sh such execution If your server system: Debian/Ubuntu (Do not enter "//" and "// subsequent sentence) apt-get -y install wget screen python // For Debian / Ubuntuwget http://mirrors.linuxeye.com/lnmp-full.tar.gz // Contains the source codetar xzf lnmp-full.tar.gzcd lnmp // If you need to modify the directory (installation, data storage, Nginx logs), modify options.conf filescreen -S lnmp // if network interruption, you can execute the command `screen -r lnmp` reconnect install window./install.sh // Do not sh install.sh or bash install.sh such execution How to add Extensionscd ~/lnmp // Must enter the directory execution under lnmp./addons.sh // Do not sh addons.sh or bash addons.sh such execution How to add a virtual hostcd ~/lnmp // Must enter the directory execution under lnmp./vhost.sh // Do not sh vhost.sh or bash vhost.sh such execution How to delete a virtual hostcd ~/lnmp./vhost.sh del How to add FTP virtual usercd ~/lnmp./pureftpd_vhost.sh How to backupcd ~/lnmp./backup_setup.sh // Backup parameters ./backup.sh // Perform the backup immediately crontab -l // Can be added to scheduled tasks, such as automatic backups every day 1:00 0 1 * * * cd ~/lnmp;./backup.sh > /dev/null 2>&1 & How to manage serviceNginx/Tengine/OpenResty: service nginx {start|stop|status|restart|reload|configtest} MySQL/MariaDB/Percona: service mysqld {start|stop|restart|reload|status} PHP: service php-fpm {start|stop|restart|reload|status} HHVM: service supervisord {start|stop|status|restart|reload} Apache: service httpd {start|restart|stop} Pure-Ftpd: service pureftpd {start|stop|restart|status} Redis: service redis-server {start|stop|status|restart|reload} Memcached: service memcached {start|stop|status|restart|reload} How to upgrade./upgrade.sh How to uninstall./uninstall.sh InstallationFollow the instructions in Wiki Installation page For feedback, questions, and to follow the progress of the project (Chinese): |
请发表评论