SSH登陸已安裝好vastCP的VPS,輸入如下命令:
- # cd /usr/local/vesta/bin
- # ls
- # nano v-activate-vesta-license
修改以下字段 在前面輸入#添加註釋
# Activating license
#v_host=’https://vestacp.com/checkout’
#answer=(curl -sv_host/activate.php?licence_key=license&module=module)
#check_result ? “cant’ connect to vestacp.com ”E_CONNECT
# Checking server answer
#if [[ “answer” != ‘0’ ]]; then
# echo “Error:module license license is invalid”
# exitE_INVALID
#fi
完成ctrl+X Y 保存退出