原创 shell 從文件獲取數據並賦值給變量

需求:從某文件中讀取ip地址以及端口號,用iptables打開該ip以及端口比如文件內容:[root@localhost xxx]# cat ip.txt 192.168.1.20 22 192.168.1.30 10 192.168.1.

原创 整理一些香港雲主機的好壞

阿里雲:網絡穩定,價格偏貴.騰訊雲:網絡不穩定,跟阿里雲主機線路有網絡隔閡,國內到香港,提交工單也無法跟國內阿里雲網絡丟包的情況千雲:https://www.9557.com/, 網絡穩定,價格偏貴,定製化功能不足小鳥雲:網絡狀態差傲遊雲

原创 vsftp相應速度過慢

[root@xxx]# cat vsftpd.conf anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES

原创 centos7 nginx+lua-nginx-module+nginx_mod_h264

[root@src]# ll -a nginx-1.14.2.tar.gz LuaJIT-2.0.5.tar.gz  -rw-r--r-- 1 root root  849845 May  2  2017 LuaJIT-2.0.5.tar.

原创 我的友情鏈接

51CTO博客開發莎吧啦

原创 haproxy 無法啓動,需要添加內核參數

安裝好haproxy後,配置正確無法啓動,看日誌: Feb 13 09:32:50 cluster-node2 systemd: Started HAProxy Load Balancer. Feb 13 09:32:50 cluster-

原创 centos7 安裝rabbitmq 3.7

一.需要下載的軟件:rabbitmq-server-3.7.9-1.el7.noarch.rpmerlang-20.3.8.17-1.el7.centos.x86_64.rpm wget https://github.com/rabbitm

原创 gitlab源碼安裝問題彙總

參考:https://bbs.gitlab.cc/topic/35/gitlab-ce-8-7-%E6%BA%90%E7%A0%81%E5%AE%89%E8%A3%85%E6%89%8B%E5%86%8C-centos6-rehl6/2架構

原创 centos6 安裝xtrabackup

系統環境:[root@slave src]# cat /etc/redhat-release  CentOS release 6.8 (Final) [root@slave src]# uname -a Linux slave 2.6.32

原创 centos 安裝日誌分析軟件goAccess

參考:https://goaccess.io/download yum install gcc gcc-c++ yum install GeoIP-devel yum install glib2 glib2-devel GeoIP-deve

原创 docker實戰之:使用pptp連接***服務器

參考資料:http://www.runoob.com/docker/docker-tutorial.htmlhttps://www.gitbook.com/book/yeasy/docker_practice/detailshttp://p

原创 centos6安裝supervisor

參考:http://www.jianshu.com/p/2008cf9f7ee7 因爲被牆,easy_install supervisor一直不成功提示:No local packages or download links found f

原创 centos6.9 安裝supervisor

系統環境:[root@vmxiamen_WEB10 huwei]# cat /etc/redhat-release  CentOS release 6.9 (Final)2.安裝python-setuptools[root@vmxiamen

原创 命令行創建虛擬機,無桌面運行virtualbox

系統環境:ubuntu 16.04 servrer(無桌面版) 要求:安裝好virtualbox5.1.10     安裝好擴展包: test@ubuntu ~ $ VBoxManage extpack install Oracle_VM_

原创 zabbix主動模式監控動態IP服務器

參考資料:http://www.linuxidc.com/Linux/2015-08/121799.htm一.需求:服務器(linux系統)使用的是動態IP(PPOE撥號,不定時更改IP),現在要求使用zabbix監控服務器狀態.1,zab