原文链接: https://www.cnblogs.com/operationhome/p/9141881.html 延申, mongodb, mariadb: https://www.cnblogs.com/operationhome/ 补充: 修改mariadb的默认端口 查看现有端口: show global variables like 'port'; vim /etc/my.cnf 编辑my.cnf文件 在[client-server]块下加入port指定端口即可 port=
修改/etc/ssh/sshd_config配置文件(注意:这里是sshd_config,而不是ssh_config) vi /etc/ssh/sshd_config 在sshd_config文件中添加一个端口号2222(这里保留22端口,是为了放置假如配置失败的话,还可以使用22端口使用ssh登录,配置完成后,可以删除22端口) Port 22 Port 2222 重启 ssh 服务: systemctl restart sshd.service
1.marathon文档:https://mesosphere.github.io/marathon/docs/native-docker.html Static port mapping: It's also possible to specify non-zero host ports. When doing this you must ensure that the target ports are included in some resource offers! The Mesos s
1.1 修改SSHD配置,禁止root远程登录 禁止登录之前先穿甲一个可以远程登录的普通用户,以免造成登录不了的情况 [root@jhkj66 ~]# useradd yw001 #创建用户 [root@jhkj66 ~]# passwd yw001 #设置密码 Changing password for user yw001. New password: #输入你的密码 Retype new password: #确认密码 passwd: all authentication tokens u