lnmp
1.0.0
このプロジェクトは新しい機能を追加するものではなく、毎日のメンテナンスのみを目的としています。 docker-compose バージョンを使用することをお勧めします。プロジェクトリンク: https://github.com/linuxeye/bypanel
アリユン ECS 推奨
このスクリプトは、RHEL 7 に適用可能なLEMP / LAMP / LNMP / LNMPA / LTMP (Linux、Nginx/Tengine/OpenResty、本番環境の MySQL/MariaDB/Percona、PHP、JAVA) を迅速にデプロイするために、シェルを使用して作成されています。 、8、9(CentOS、RedHat、AlmaLinux、Rockyを含む)、Debian 9、10、11、 12、Ubuntu 16、18、20、22、24、および Fedora 27+/64。
スクリプトのプロパティ:
ディストリビューションの依存関係をインストールし、ソースをダウンロードして、インストール スクリプトを実行します。
yum -y install wget screenapt-get -y install wget screenwget 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} nginxMySQL/MariaDB/Percona:
systemctl {start | stop | restart | reload | status} mysqldPostgreSQL:
systemctl {start | stop | restart | status} postgresqlモンゴDB:
systemctl {start | stop | status | restart | reload} mongodPHP:
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