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

- 阅读全文 -

Linux Centos更新内核版本&&删除多余的内核

方法一:更新至最新主线版本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="

- 阅读全文 -

Docker 使用整合

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

- 阅读全文 -

Nginx 开启http强制跳转https

Nginx 下由http强制跳转https 的几种方法:方法一 (这是最古老的写法,不推荐)rewrite ^(.*)$ https://$host$1 permanent; 方法二 (比较推荐)return 301 https://$server_name$request_uri; 方法三 如果你有多个域名绑定在一起,可以只设定某些域名强制跳转if ($host = "

- 阅读全文 -

Linux 一些有趣的命令

1.黑客帝国代码echo -e "\e[32m"; while :; do printf '%*c' $(($RANDOM % 30)) $(($RANDOM % 2)); done 2.Linux 登录motd界面1).vi /etc/motd 2).复制下面的粘贴在里面 #########

- 阅读全文 -

Linux中查看与设定别名

1.alias:查看系统中所有的命令别名2.设定别名alias 别名='原命令'3.删除别名unalias 别名4.使别名永久生效vi ~/.bashrc 写入这个文件中即可永久生效 编辑完之后记得使环境变量生效:source .bashrc

- 阅读全文 -