登录远程服务器 修改编辑文件

服务器ip

192.168.1.173

服务器用户

root / [email protected]

服务器文件路径

/usr/local/web/apache/301_hospital/html/

服务器数据库

        'hostname' => '192.168.1.173',                                                    

        'port' => 33072,

        'database' => 'xiliudata',

        'username' => 'root',

        'password' => '1qaz@WSX',

执行       ssh [email protected]                  密码是    [email protected]

cd /usr/local/web/apache/301_hospital/html/

cd nephrology/

cd phpcms/templates/default/content

vi footer.html            打开footer.html

enter 或者 i  可编辑状态

编辑完成后   按esc  :x  保存

猜你喜欢

转载自blog.csdn.net/weixin_40902181/article/details/87691659
今日推荐