lnmp
1.0.0
이 프로젝트는 더 이상 새로운 기능을 추가하지 않으며 일일 유지 관리에만 사용됩니다. docker-compose 버전을 사용하는 것이 좋습니다. 프로젝트 링크: https://github.com/linuxeye/bypanel
Aliyun ECS 추천
이 스크립트는 RHEL 7에 적용 가능한 LEMP
/ LAMP
/ LNMP
/ LNMPA
/ LTMP
(프로덕션 환경/MariaDB/Percona, PHP, JAVA의 Linux, Nginx/Tengine/OpenResty, MySQL)를 빠르게 배포하기 위해 셸을 사용하여 작성되었습니다. , 8, 9(CentOS,RedHat,AlmaLinux,Rocky 포함), Debian 9, 10, 11, 12, Ubuntu 16, 18, 20, 22, 24 및 Fedora 27+(64개).
스크립트 속성:
배포판에 대한 종속성을 설치하고, 소스를 다운로드하고, 설치 스크립트를 실행하세요.
yum -y install wget screen
apt-get -y install wget screen
wget http://mirrors.linuxeye.com/lnmp-full.tar.gz
# wget https://downloads.sourceforge.net/project/linuxeye/lnmp-full.tar.gz
tar xzf lnmp-full.tar.gz
cd lnmp
설치 도중 연결이 끊어지면 screen -r lnmp
명령을 실행하여 설치 창에 다시 연결할 수 있습니다.
screen -S lnmp
디렉터리(설치, 데이터 저장소, Nginx 로그)를 수정해야 하는 경우 install.sh를 실행하기 전에 options.conf
파일을 수정하세요.
./install.sh
~ /lnmp/install.sh --mphp_ver 54
~ /lnmp/addons.sh
~ /lnmp/vhost.sh
~ /lnmp/vhost.sh --del
~ /lnmp/pureftpd_vhost.sh
~ /lnmp/backup_setup.sh // Backup parameters
~ /lnmp/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 &
Nginx/Tengine/OpenResty:
systemctl {start | stop | status | restart | reload} nginx
MySQL/MariaDB/Percona:
systemctl {start | stop | restart | reload | status} mysqld
포스트그레SQL:
systemctl {start | stop | restart | status} postgresql
몽고DB:
systemctl {start | stop | status | restart | reload} mongod
PHP:
systemctl {start | stop | restart | reload | status} php-fpm
아파치:
systemctl {start | restart | stop} httpd
수코양이:
systemctl {start | stop | status | restart} tomcat
순수 FTPd:
systemctl {start | stop | restart | status} pureftpd
레디스:
systemctl {start | stop | status | restart | reload} redis-server
멤캐시드:
systemctl {start | stop | status | restart | reload} memcached
~ /lnmp/upgrade.sh
~ /lnmp/uninstall.sh