附:常见命令(Linux)

使用本镜像的Linux版本,可能需要用到的命令如下:

基本命令

//进入网站根目录
cd /data/wwwroot/default  

//重启服务器
reboot 

//下载url对应的文件
wget url  

//解压xx.zip文件到当前目录
unzip xx.zip

Web服务启停

修改环境后,需要运行如下命令进行服务重启后方可生效

Apache

Nginx

升级

Last updated