原创 Centos 7 防火牆
莫小安CentOS7使用firewalld打開關閉防火牆與端口1、firewalld的基本使用啓動: systemctl start firewalld查看狀態: systemctl status firewalld 停止: systemc
原创 動態頁面靜態化
curl http://bbs.51cto.com/post.php?action=newthread > 1.html臨時生成一個頁面,不在去讀數據庫,但是有一個弊端,不會實時更新,可以寫到計劃任務,5分鐘執行一次,重新生成一個靜態頁面
原创 zabbix安裝配置
setenforce 0 sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config grep SELINUX /etc/selinux/config //添加防
原创 centos7安裝python3.5.4,共存python2.7,並且搭建django環境
linux下安裝python3.5.4 共存版,並配置django,oracle,mysql環境 安裝python3.5.4 python3.5.4下載地址 https://www.python.org/ftp/python/3.5.4
原创 郵件服務器搭建,可連接客戶端
Centos 5.5 sendmail郵件服務器安裝及配置(照240) 一、軟件安裝 主要包(版本YUM爲準) dovecot-1.0.7-7.el5.i386.rpm //imap (收郵件) sendmail-8.13.8-2el5.i
原创 zabbix監控數據庫
目錄: zabbix && mongodb......1-1346 zabbix && redis........1349-3727 zabbix && mysql........3731-end //zabbix 監控mongod
原创 git文檔整理
git1,linux安裝yum install -y epel-releaseyum install -y gitwindows安裝:https://git-for-windows.github.io/2,設置git config --gl
原创 zabbix安裝配置
setenforce 0 sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config grep SELINUX /etc/selinux/config //添加防
原创 使用python管理服務器
#!/usr/bin/env python #coding:utf-8 ''' Paramiko 安裝 一、安裝,下載 1、下載安裝 pycrypto-2.6.1.tar.gz (apt-get install python-dev
原创 動態頁面靜態化
curl http://bbs.51cto.com/post.php?action=newthread > 1.html臨時生成一個頁面,不在去讀數據庫,但是有一個弊端,不會實時更新,可以寫到計劃任務,5分鐘執行一次,重新生成一個靜態頁面
原创 Centos 7 防火牆
莫小安CentOS7使用firewalld打開關閉防火牆與端口1、firewalld的基本使用啓動: systemctl start firewalld查看狀態: systemctl status firewalld 停止: systemc
原创 docker整理文檔
yum install -y epel-release yun install -y docker-io /etc/init.d/docker start ##鏡像 docker pull centos //下載centos鏡像 doc