代码改变世界

Linux Commands

2020-02-17 21:16  蜡笔小旧  阅读(170)  评论(0编辑  收藏  举报

 ------------------------------------------------------------------------------------------------------------------------------------------------

卸载腾讯云云服务器安全监控组件

step1: /usr/local/qcloud/YunJing/YDDelCrontab.sh

step2: /usr/local/qcloud/YunJing/uninst.sh

step3:  /usr/local/qcloud/stargate/admin/delcrontab.sh

step4:  /usr/local/qcloud/stargate/admin/uninstall.sh

step5: /usr/local/qcloud/monitor/barad/admin/uninstall.sh

 ------------------------------------------------------------------------------------------------------------------------------------------------

hostnamectl  系统信息

--------------------------------------------------------------------------------------------------------------------------------------------------

~ 家目录符号  cd ~

----------------------------------------------------------------------------------------------------------------------------------------------------

putty无密码登录CentOS https://www.tecmint.com/ssh-passwordless-login-with-putty/

------------------------------------------------------------------------------------------------------------------------------------------------------

systemctl enable sshd

systemctl disable sshd

systemctl start sshd

systemctl stop sshd

system stop smb --samba

journal xx

------------------------------------------------------------------------------------------------------------------------------------------------------

su - root  # 切换到root

sudo reboot # 使用root用户执行
------------------------------------------------------------------------------------------------------------------------------------------------------

Step1: sudo cp xxx xxx  

Error: UserName is not in the sudoers file. This incident will be reported.

Resolve: https://www.unixtutorial.org/how-to-use-visudo

------------------------------------------------------------------------------------------------------------------------------------------------------

Linux 100