原创 cacti簡單安裝配置

1.安裝apache、mysql、php步驟這裏省略...2.安裝net-snmp-utilsyum -y install net-snmp-utils3.安裝rrdtoolyum -y install pango pango-devel

原创 linux雙網卡雙網關

本文參考了以下文章http://longwind.blog.51cto.com/419072/806302 1.環境 eth0:192.168.6.2   網關192.168.6.1 eth1:192.168.7.2   網關192.168

原创 nfs小記

1.服務端配置 vi /etc/exports /hello 192.168.10.2(ro) service portmap start service nfs start showmount -e   //查看服務器本機的共享內容 mk

原创 cacti首次訪問空白頁問題

問題:cacti安裝好後首次訪問時頁面一片空白解決辦法:我的php採用的是源碼編譯安裝,第一次配置時連接mysql用的參數是:./configure --with-mysqli=mysqlnd     //這裏只列出連接mysql的參數,其

原创 Memcached簡單安裝

1. 安裝libeventwget https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz --no

原创 redis簡單安裝

1. 安裝tar zxvf redis-2.8.19.tgz -C /usr/src cd /usr/src/redis-2.8.19 make make install2. 啓動cp redis.conf /etc/ redis-serv

原创 mysql主從複製

這裏使用的mysql版本爲5.6.23,並且配置的是全新的mysql主從複製(之前沒有數據存在)1. 配置mastervi my.cnf log-bin=mysql-bin server-id=1 innodb_flush_log_at_t

原创 Nodejs使用TLS

1. 使用openssl生成服務器和客戶端證書生成服務器證書,服務器使用自簽名證書(也就是自己扮演CA)openssl genrsa -out server-key.pem 2048 openssl req -new -sha256 -ke

原创 cacti登錄時timezone錯誤

hello~ 今天登錄cacti時提示timezone錯誤: PHP Warning:    strtotime(): It is not safe to rely on the system's timezone settings.

原创 svn簡單安裝與配置

注:此文參考了以下文章http://300second.blog.51cto.com/7582/780348 1.下載並安裝 tar zxvf /home/hello/subversion-1.7.7.tar.gz -C /usr/src/

原创 nginx域名重定向

訪問www.hello.com轉到www.qikangwei.com server_name   www.hello.com; if ($host='www.hello.com') {   rewrite ^/(.*)$ http://ww

原创 我的友情鏈接

51CTO博客開發sery

原创 linux下***客戶端配置

這篇文章借鑑了唐光輝的博客http://firefly222.blog.51cto.com/ 1.下載pptp-1.7.2-3.rhel5.src.rpm 源碼rpm包 wget http://nchc.dl.sourceforge.net

原创 postfix導入extmail.sql時報錯

1.postfix在創建虛擬用戶數據庫時導入extmail.sql報錯(mysql版本爲5.5.24):ERROR 1064 (42000) at line 50: You have an error in your SQL syntax;

原创 Juniper Netscreen *** linux客戶端--Shrew Soft *** Client

1.安裝依賴包yum -y install gcc gcc-c++ flex libedit libedit-devel bison openssl openssl-devel qt qt-devel2.安裝cmakewget http:/