随笔分类 -  CentOS设置

摘要:先切换到root用户,下文中使用sftp作为组用户,sftpvdes作为账户使用。 因为需要用到chroot,所以openssh 版本不能低于4.8p1 ssh -V 创建用户分组sftp groupadd sftp 添加用户sftpvdes至组用户sftp useradd -g sftp -s / 阅读全文
posted @ 2020-10-23 13:55 Dylan_Fu 阅读(2658) 评论(2) 推荐(1)
摘要:安装 crontabs服务并设置开机自启: 安装crontabs yum install crontabs 设置开机启动 systemctl enable crond 启动服务 systemctl start crond 配置corntab配置文件 vi /etc/crontab 如下图,例如我现在 阅读全文
posted @ 2020-10-14 16:11 Dylan_Fu 阅读(879) 评论(0) 推荐(0)
摘要:修改默认的登录方式(图形界面/命令行): //查看当前系统默认的登录模式 (图形:graphical.target ;命令行:multi-user.target) systemctl get-default //修改启动模式为图形模式 systemctl set-default graphical. 阅读全文
posted @ 2020-08-24 19:27 Dylan_Fu 阅读(283) 评论(0) 推荐(0)