三个人一起躁我吃奶头80分钟,三年片大全免费观看,三年片免费观看影视大全满天星,三年成全免费高清大全,三年片免费观看大全有,三年片在线观看大全

  • IDC銷售:020-66849165/66849090/66849088
  • 云服務(wù)銷售:020-66849108/9091 | 客服(備案,域名,虛機,郵箱):020-66849000-2

登錄 | 會員注冊 | 控制面板 | 幫助中心 | 購物車 | 舉報中心

幫助中心FAQ

因?qū)毸J(rèn)部署目錄為 www,請檢查數(shù)據(jù)盤的掛載目錄

 

數(shù)據(jù)盤掛載情況如下:

1.數(shù)據(jù)盤未格式化,請手動格式掛載

 

2.數(shù)據(jù)盤已掛載非www目錄,請修改掛載目錄

 

我司新一代云CentOS6版本以及其它操作系統(tǒng)模版需手動格式掛載,

CentOS7版本通過腳本默認(rèn)掛載目錄為home,手動修改掛載目錄

 

此教程CentOS 7作為部署示例,為新創(chuàng)建的云主機

通過VNCSSH登錄云主機,修改數(shù)據(jù)盤的掛載操作

1.移除rc.local 自動掛載腳本

sed -i  '/mount.sh/s/^sh/#sh/g'  /etc/rc.local

2.修改掛載目錄,添加開機掛載

mount | grep home #檢查數(shù)據(jù)盤有無掛載在home目錄下,如有可執(zhí)行以下操作

umount /home

mkdir /www

mount -t ext3 /dev/mapper/Xvdbgroup-xvdb1 /www

echo "/dev/mapper/Xvdbgroup-xvdb1 /www ext3 defaults 0 0">>/etc/fstab

 

CA證書庫的更新

yum upgrade ca-certificates 

 

EPEL庫的安裝

yum install epel-release

sed -i 's/^metalink/#metalink/g' /etc/yum.repos.d/epel.repo

sed -i 's/^#baseurl/baseurl/g' /etc/yum.repos.d/epel.repo

 

使用pip國內(nèi)源

mkdir ~/.pip

cat >> ~/.pip/pip.conf <<EOF

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = https://mirrors.aliyun.com

EOF

 

在終端下運行寶塔安裝腳本

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

 

 

故障處理:

 

1.寶塔安裝過程中PIP下載第三方庫時報錯files.pythonhosted.org 請求超時的處理

HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out

 

修改pip庫的下載源為國內(nèi)即可

 

在用戶家目錄創(chuàng)建 pip.conf,以下示例為阿里云PIP

mkdir ~/.pip

cat >> ~/.pip/pip.conf <<EOF

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = https://mirrors.aliyun.com

EOF

 

2. 安裝EPEL,使用yum安裝軟件包時提示EPEL問題, 

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again

 

修改epel.conf 所使用的源路徑

sed -i 's/^metalink/#metalink/g' /etc/yum.repos.d/epel.repo

sed -i 's/^#baseurl/baseurl/g' /etc/yum.repos.d/epel.repo

 

尼木县| 沙田区| 安多县| 宁蒗| 高州市| 龙泉市| 同江市| 武清区| 迁西县| 通州市| 张掖市| 西畴县| 阳信县| 桃园市| 临湘市| 夹江县| 永泰县| 北碚区| 临沂市| 夏邑县| 时尚| 永安市| 丹东市| 巍山| 那曲县| 时尚| 定日县| 苍山县| 建昌县| 克什克腾旗| 佛山市| 郴州市| 洪洞县| 盘锦市| 鹤庆县| 西青区| 社会| 柯坪县| 三穗县| 麻江县| 新乡市|