飞鱼视界

东方飞鱼的后花园

个性签名:不敢冒险才是最大的冒险。

linux服务器配置

发布时间:2016-11-30 作者:Admin 所属分类: HTML5

$file1=/etc/ssh/sshd_config
$file2=/etc/passwd
$file3=/etc/shadow

1.修改端口
$file1

2.新增用户
adduser

3.禁止root登录
$file1
PermitRootLogin no
service sshd restart

4.启用防火墙

5.安装lamp环境

上一篇:Chrome浏览器console控制台命令

下一篇:关于onethink的迁移站点产生数据库错误

发表评论: