新機(jī)器 2核4G,新機(jī)器內(nèi)存如下
image.png
安裝寶塔Linux面板7.9.0
官網(wǎng):https://www.bt.cn/new/download.html
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
.
.
.
==================================================================
Congratulations! Installed successfully!
==================================================================
外網(wǎng)面板地址: http://xxx.xxx.xxx.xxx:8888/ac0fe819
內(nèi)網(wǎng)面板地址: http://xxx.xxx.xxx.xxx:8888/ac0fe819
username: xxxxxx
password: xxxxxx
If you cannot access the panel,
release the following panel port [8888] in the security group
若無法訪問面板,請檢查防火墻/安全組是否有放行面板[8888]端口
==================================================================
Time consumed: 1 Minute!
再看看內(nèi)存還剩多少
image.png
直接使用寶塔安裝幾個(gè)軟件
image.png
網(wǎng)站及數(shù)據(jù)庫遷移
待遷移服務(wù)器 - 舊服務(wù)器
被遷移服務(wù)器 - 新服務(wù)器
新服務(wù)器上開通API接口
image.png
記錄下密鑰,IP白名單就是舊服務(wù)器的IP
舊服務(wù)器上操作遷移
先安裝一鍵遷移(右邊點(diǎn)擊安裝)
image.png
將新服務(wù)器的地址 http://xxx.xxx.xxx.xxx:8888,密鑰 xxx 配置進(jìn)去
安裝JDK
yum install java-1.8.0-openjdk
java -version
image.png
image.png
image.png
image.png