Time of Update: 2015-06-09
標籤:安裝虛擬系統CentOS6.5,分配給至少1G的記憶體,其他條件適當高些,具體參考官方文檔一、安裝資料庫:1、安裝依賴軟體包yum install binutils -yyum install compat-libcap -yyum install compat-libstdc++-33 -yyum install compat-libstdc++-33.i686 -yyum install gcc -yyum install gcc-c++ -yyum install glibc
Time of Update: 2015-06-11
標籤:yum groupinstall "Development Tools"yum -y install gcc automake makeyum -y install pam-devel openldap-devel cyrus-sasl-devel下載編譯socket5wget http://liquidtelecom.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gztar zxvf ss5-3.8.9-8.tar.
Time of Update: 2015-06-11
標籤:/boot:用來存放與Linux系統啟動有關的程式,比如啟動引導裝載程式等,建議大小為100MB。/usr :用來存放Linux系統中的應用程式,其相關資料較多,建議大於3GB以上。/var :用來存放Linux系統中經常變化的資料以及記錄檔,建議大於1GB以上。/home:存放普通使用者的資料,是普通使用者的宿主目錄,建議大小為剩下的空間。/
Time of Update: 2015-06-10
標籤:1、直接貼過程[[email protected]: jigsaw]$ rpm -q ncursesncurses-5.7-3.20090208.el6.i686[[email protected]: jigsaw]$ rpm -q ncurses-develpackage ncurses-devel is not installed[[email protected]: jigsaw]$ sudo yum install
Time of Update: 2015-06-15
標籤:yum install ntp ntpdate#ntpdate -u 202.120.2.101//寫入硬體#hwclock -w 以下是國內常見的NTP伺服器ntp.sjtu.edu.cn 202.120.2.101 上海交通大學網路中心s1a.time.edu.cn 北京郵電大學s1b.time.edu.cn 清華大學s1c.time.edu.cn 北京大學s1d.time.edu.cn 東南大學s1e.time.edu.cn 清華大學s2a.time.edu.cn
Time of Update: 2015-06-15
標籤:1. 編譯python bogon:kuoxin$ ./configure --prefix=/share/python3 --enable-shared bogon:kuoxin$ make bogon:kuoxin$ make install2. 編譯wsgi bogon:kuoxin$ ./configure --with-python=/share/python3/bin/python3 如果報如下錯誤:
Time of Update: 2015-06-15
標籤:一、Windows下無法訪問CentOS網路1.查看防火牆#/etc/init.d/iptables status#/etc/init.d/iptabels stop // 關閉防火牆#iptables -I INPUT -p TCP --dport 80 -j ACCEPT2.查看httpd狀態#/etc/init.d/httpd status#/etc/init.d/httpd restart //
Time of Update: 2015-06-15
標籤:sshfs
Time of Update: 2015-06-14
標籤: 下載sysbench git clone https://github.com/akopytov/sysbench.git 編譯安裝 ./autogen.sh./configure #./configure --without-mysql(不編譯測試mysql的功能模組)make && make install 以下命令拷貝自《高效能mysql》 測試cpu,計算素數的已耗用時間
Time of Update: 2015-06-14
標籤:伺服器1.NTP伺服器配置1,ntp(network time protocol,網路時間協議)是一個用於同步電腦時鐘的網路通訊協定,它可以使電腦與其他伺服器或時鐘源進行時間同步。時間資訊的傳輸都使用UDP協議123連接埠。2,ntp服務的安裝yum -y install ntp // 使用yum 命令從互連網上下載安裝包,前提是主機能串連網路。650) this.width=650;"
Time of Update: 2015-06-14
標籤:centos jdk 配置 centos7.0 && jdk1.8.0_451、將下載好的jdk包通過ssh上傳到centos作業系統 這裡是jdk-8u45-linux-x64.tar.gz 下載連結:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html2、
Time of Update: 2015-06-14
標籤:hadoop 環境變數 配置 centos7 && hadoop-2.7.0.tar.gzHadoop基於java環境,所以需要配置jdk。 1、配置jdk: http://blog.csdn.net/fantasydreams/article/details/46486275 2、下載hadoop-2.7.0.tar.gz包,通過ssh上傳至centos作業系統
Time of Update: 2015-06-12
標籤:終端快速鍵 tab=補全 ctrl+a=開始位置 ctrl+e=最後位置 ctrl+k=刪除此處至末尾所有內容 ctrl+u=刪除此處至開始所有內容 ctrl+d=刪除當前字母 ctrl+w=刪除此處到左邊的單詞 ctrl+y=粘貼由ctrl+u,ctrl+d,ctrl+w刪除的單詞 ctrl+r=在曆史命令裡查詢,繼續ctrl+r尋找下一個,這個稱為reverse-search-historyctr
Time of Update: 2015-06-09
標籤:(要讓叢集正常工作至少需要3個主節點,在這裡我們要建立6個redis節點,其中三個為主節點,三個為從節點,對應的redis節點的ip和連接埠對應關係如下)192.168.1.160:7000192.168.1.160:7001192.168.1.160:7002192.168.1.160:7003192.168.1.160:7004192.168.1.160:7005 1:下載redis。官網下載3.0.0版本,之前2.幾的版本不支援叢集模式:http://download.re
Time of Update: 2015-06-09
標籤:安裝必備軟體yum -y install iptables iptables-services net-tools vim wget安裝Dockeryum -y install docker下載centos鏡像docker pull centos查看centos 鏡像docker images centos運行一個Docker容器docker run -i -t centos /bin/bash搜尋Ubuntu鏡像docker search Ubuntu顯示正在啟動並執行容器(
Time of Update: 2015-06-09
標籤:在已經安裝好系統的Centos系統下安裝程式,配置。待安裝的程式:apache2 、php、JDK1、#iptables開放固定ip訪問?iptables -I INPUT -s 218.5.81.0/24 -p tcp --dport 22 -j ACCEPT?iptables -I INPUT -p tcp --dport 80 -j ACCEPT2、網域名稱伺服器配置是這個檔案 /etc/resolv.conf
Time of Update: 2015-06-09
標籤:hadoop 超人學院 redis (要讓叢集正常工作至少需要3個主節點,在這裡我們要建立6個redis節點,其中三個為主節點,三個為從節點,對應的redis節點的ip和連接埠對應關係如下)192.168.1.160:7000192.168.1.160:7001192.168.1.160:7002192.168.1.160:7003192.168.1.160:7004192.168.1.1
Time of Update: 2015-06-09
標籤:include cookie command Activemq Cluster environmentrole IP
Time of Update: 2015-06-09
標籤:centos昨天幫朋友配置CentOS伺服器,一開始為了方便測試直接把防火牆關了,之後便需要配置好防火牆,網上找了幾個防火牆規則都有錯誤,後來發現是博主發帖不認真,有太多字元錯誤,下面是我整理的親測可用的防火牆規則的配置過程:修改 iptables-config首先修改iptables-config檔案的一個配置項$ vi /etc/sysconfig/iptables-config把檔案最後一行IPTABLES_MODULES="ip_conntrack_ftp"
Time of Update: 2015-06-10
CentOS配置防火牆,centos防火牆 昨天幫朋友配置CentOS伺服器,一開始為了方便測試直接把防火牆關了,之後便需要配置好防火牆,網上找了幾個防火牆規則都有錯誤,後來發現是博主發帖不認真,有太多字元錯誤,下面是我整理的親測可用的防火牆規則的配置過程:修改 iptables-config首先修改iptables-config檔案的一個配置項$ vi