服务器搭建2

一键安装,用sh脚本一键安装LAMP

PHPer 2021-12-12 1001 0 0

https://github.com/teddysun/lamp

Description

LAMPis a powerful bash script for the installation of Apache + PHP + MySQL/MariaDB and so on. You can install Apache + PHP + MySQL/MariaDB in an very easy way, just need to choose what you want to install before installation. And all things will be done in few minutes.

  • If your server system: Amazon Linux/CentOS/RedHat
yum -y install wget git
git clone https://github.com/teddysun/lamp.git
cd lamp
chmod 755 *.sh
./lamp.sh
  • If your server system: Debian/Ubuntu
apt-get -y install wget git
git clone https://github.com/teddysun/lamp.git
cd lamp
chmod 755 *.sh
./lamp.sh
./lamp.sh -h
  • Automation install mode example
./lamp.sh --apache_option 1 --apache_modules mod_wsgi,mod_security --db_option 2 --db_root_pwd teddysun.com --php_option 5 --php_extensions apcu,ioncube,imagick,redis,mongodb,libsodium,swoole --db_manage_modules phpmyadmin,adminer --kodexplorer_option 1

License

Copyright (C) 2013 - 2021Teddysun...

立即注册
分享的网址网站均收集自搜索引擎以及互联网,非查问网运营,查问网并没有提供其服务,请勿利用其做侵权以及违规行为。

更新于:2022-07-15 12:16:27
    您需要登录后才可以评论。 立即注册

    跟帖在亿速云上用一键安装LAMP命令

    安装结束后,发现Apache无法运行,service httpd restart 报错

    Function not implemented: AH00141: Could not initialize random number generator...

    立即注册
    更新于:2021-12-13 09:39:31
    相关内容

    Centos7利用yum安装apache+mysql8+php7 一篇搞定!

    Shadowsocks服务原理

    Centos7 安装Apache过程详解

    开源商城shopwind安装许可协议

    LAMP和WAMP集成安装包汇总

    推荐内容

    怎样使用V2Ray代理和SSTap玩如魔兽世界/绝地求生/LOL台服/战地3/黑色沙漠/彩...

    sstap游戏代理教程 从此玩如魔兽世界/绝地求生/LOL台服/战地3/黑色沙漠/彩虹六...

    BT磁力搜索网站汇总和找不到的资源

    什么是磁力链接,您如何使用?

    Z-Library:全球最大的数字图书馆/含打不开的解决方案/镜像

    使用V2Ray的mKCP协议加速游戏

    v2rayN已停止工作

    【车险课堂】什么是无赔款优待系数ncd,你“造”吗?