Linux 卸载阿里云盾监控及屏蔽云盾检测
卸载阿里云云盾命令:wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh chmod +x quartz_uninstall.sh
卸载阿里云云盾命令:wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh chmod +x quartz_uninstall.sh
方法一:更新至最新主线版本1.启用 ELRepo 仓库# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org # rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm 2.列出可用的内核相关包yum --disablerepo="
1.更新源和依赖包yum install -y epel-release yum update yum install -y yum-utils device-mapper-persistent-data lvm2 2.安装docker86_64curl -sSL https://get.docker.com/ | sh arm◎.修改源 nano /etc/apt/sources.list d
1.黑客帝国代码echo -e "\e[32m"; while :; do printf '%*c' $(($RANDOM % 30)) $(($RANDOM % 2)); done 2.Linux 登录motd界面1).vi /etc/motd 2).复制下面的粘贴在里面 #########
1.alias:查看系统中所有的命令别名2.设定别名alias 别名='原命令'3.删除别名unalias 别名4.使别名永久生效vi ~/.bashrc 写入这个文件中即可永久生效 编辑完之后记得使环境变量生效:source .bashrc
#!/usr/bin/env bash Green="\033[32m" Font="\033[0m" Red="\033[31m" #root权限 root_need(){ if [[ $EUID -ne 0 ]]; then echo -e "${Red}Error:This script mu
1.使用root用户进入数据库mysql -u root -p 2.创建slave的用户,密码为 :密码GRANT REPLICATION SLAVE ON *.* to 'slave'@'%' identified by '密码'; 3.查看账户SHOW GRANTS FOR 'slave'@'%'; 4.找到my.cnf文件编辑[mysqld]下面增加下面几行代码server-id=1 lo