日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

centos mysql php tomcat_centos 一键部署安装nginx,mysql,php,apache,tomcat,redis等包合集

發布時間:2024/9/19 数据库 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 centos mysql php tomcat_centos 一键部署安装nginx,mysql,php,apache,tomcat,redis等包合集 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1.1/oneinstack.com

yum -y install wget screen curl python #for CentOS/Redhat # apt-get -y install wget screen curl python #for Debian/Ubuntu wget http://aliyun-oss.linuxeye.com/oneinstack-full.tar.gz #阿里云用戶下載 wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz #包含源碼,國內外均可下載 wget http://mirrors.linuxeye.com/oneinstack.tar.gz #不包含源碼,建議僅國外主機下載 tar xzf oneinstack-full.tar.gz cd oneinstack #如果需要修改目錄(安裝、數據存儲、Nginx日志),請修改options.conf文件 screen -S oneinstack #如果網路出現中斷,可以執行命令`screen -r oneinstack`重新連接安裝窗口 ./install.sh #注:請勿sh install.sh或者bash install.sh這樣執行

2.2/lnmp.org

安裝LNMP

wget -c http://soft.vpser.net/lnmp/lnmp1.3.tar.gz && tar zxf lnmp1.3.tar.gz && cd lnmp1.3 && ./install.sh lnmp

默認安裝lnmp可不寫,如需要安裝LNMPA或LAMP,將./install.sh 后面的參數替換為lnmpa或lamp即可。如需更改網站和數據庫目錄先修改 lnmp.conf 文件。

3.3/yumlamp.com

wget http://soft.laozuo.org/lamp/lamp_centos1.0.tar.gz

tar zxvf lamp_centos1.0.tar.gz

cd centos

sh install.sh

4.4/lamp.phpstudy.net

wget -c http://lamp.phpstudy.net/phpstudy.bin

chmod +x phpstudy.bin #權限設置

./phpstudy.bin     #運行安裝

5.附送阿里云掛接數據盤方法:

wget http://mirrors.linuxeye.com/scripts/auto_fdisk.sh

6.更換為阿里云的源

阿里云Linux安裝鏡像源地址:http://mirrors.aliyun.com/

CentOS系統更換軟件安裝源

第一步:備份你的原鏡像文件,以免出錯后可以恢復。

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

第二步:下載新的CentOS-Base.repo 到/etc/yum.repos.d/

CentOS 5

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo

CentOS 6

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

第三步:運行yum makecache生成緩存

yum clean all

yum makecache

chmod +x ./auto_fdisk.sh

./auto_fdisk.sh

總結

以上是生活随笔為你收集整理的centos mysql php tomcat_centos 一键部署安装nginx,mysql,php,apache,tomcat,redis等包合集的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。