1.安装ssh并启动

yum -y install openssh-server
systemctl start sshd

2.修改 /etc/ssh/sshd_config 配置信息

去掉如下注释
Port 22
ListenAddress 0.0.0.0
ListenAddress ::
Permitrootlogin yes

GSSAPICleanupCredentials no 改为 GSSAPICleanupCredentials yes

3.重启ssh

/usr/sbin/sshd -D

4.设置容器root密码

passwd root

如果没有passwd指令则还需要安装

yum -y install passwd

5.最后如果有映射22端口则可尝试ssh进入CentOS

转自:https://www.jianshu.com/p/820ab34e916f

1.安装

apt-get install cron

2.编辑

crontab  -e

3.启动、关闭与重启

/etc/init.d/cron start
/etc/init.d/cron stop
/etc/init.d/cron restart

4.查看任务

 crontab  -l

5.举例

0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ #每星期早上5点备份数据
*/10 * * * * wget --output-document=/dev/null http://www.baidu.com #每10分钟刷一下百度首页并且不保留数据

1.安装

apt install shadowsocks-libev

2.修改"/etc/shadowsocks-libev/config.json"配置

{
    "server":["::"],
    "mode":"tcp_and_udp",
    "server_port":8388,
    "local_port":1080,
    "password":"mimamima",
    "timeout":600,
    "method":"aes-256-cfb"
}

3.启动

/etc/init.d/shadowsocks-libev start    # for sysvinit, or
systemctl start shadowsocks-libev      # for systemd

1.获取root权限

su -

2.安装vim

apt install vim

如果装系统时没有安装ssh还要安装ssh

apt install ssh

3.root权限修改ssh配置

vim /etc/ssh/sshd_config
PermitRootLogin yes

4.重启ssh服务后即可用root登录

/etc/init.d/ssh restart

转自:零度解说

1.Fosshub: https://www.fosshub.com
免费开源实用工具下载

2.Aconvert:https://www.aconvert.com
免费文档格式转换

3.MuscleWiki: https://musclewiki.com
指定部位肌肉锻炼建议

4.Soundcloud:https://soundcloud.com
免费无版权的背景音乐

5.Speedyfox:https://crystalidea.com/speedyfox
浏览器加速

6.https://en.aptoide.com/
安卓手机app下载网站

7.https://www.remove.bg/
扣图