Time of Update: 2015-11-07
標籤:二、 Openldap伺服器明文主備配置2.1伺服器架設Configure OpenLDAP Replication to continue Directory service if OpenLDAP master server would be down. OpenLDAP master server is called "Provider" and OpenLDAP Slave server is called "Consumer" on OpenLDAP.Configure
Time of Update: 2015-02-27
標籤:centos memcached 安裝 1、安裝libevent安裝memcached前需要先安裝libeventwget http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz tar zxvf
Time of Update: 2015-11-18
標籤:讀寫檔案時,Linux核心為了提高讀寫效率與速度,會將檔案在記憶體中進行緩衝,這就是Cache Memory(緩衝記憶體)。即使程式運行結束後,Cache Memory也不會自動釋放。這就會導致程式頻繁讀寫檔案後,可用實體記憶體會很少。其實這緩衝記憶體(Cache Memory)在你需要使用記憶體的時候會自動釋放,所以不必擔心沒有記憶體可用。如果你希望手動去釋放Cache
Time of Update: 2015-10-14
標籤: #!/bin/bash#this script is appropriate for minimize installation system centos or linux 6.x(這指令碼適合迷你安裝6.x版本的系統)#you have already install the osread -p "Pleases input hostname for linux:" hnamesed -i "/HOSTNAME/s/localhost\.localdomain/$hname/g" /
Time of Update: 2016-05-13
標籤:1.載入支援 ipmi 功能的系統模組modprobe ipmi_msghandlermodprobe ipmi_devintfmodprobe ipmi_poweroffmodprobe ipmi_simodprobe ipmi_watchdog??將以上命令寫入/etc/rc.local以自動載入模組?? ???2.查看ipmi裝置資訊# more /proc/devices | grep ipmidev253 ipmidev #有這一行說明有IPMI裝置??
Time of Update: 2016-04-27
標籤:centos 6 伺服器做bond mode=6一般我見過的公司有 做mode=4 的,接下來我要實踐的是做mode=6 的一種模式(Bonding Mode: adaptive load balancing)系統內容:$ cat /etc/issueCentOS release 6.7 (Final)Kernel \r on an \m需要一個bond口
Time of Update: 2015-04-26
標籤:CentOS的目錄大體上可分為四類:管理類、使用者類、應用程式類、資訊類檔案目錄。管理類目錄: /boot linux 的核心及引導系統程式所需要的檔案目錄 /bin 存放標準 linux 的工具,在終端裡輸入ls,系統就系統將會到該目錄查看是否存在該命令程式。 /sbin
Time of Update: 2016-03-01
標籤:error yum key id bad 現象; 執行yum 命令的時候 error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD問題:
Time of Update: 2016-01-11
標籤:kvm一:kvm安裝兩台伺服器192.168.115.18192.168.115.190.修改物理伺服器時區cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimeyum install ntpdate -yecho "*/5 * * * * root&
Time of Update: 2015-01-09
標籤:docker最好在centos7上安裝,centos6.5上似乎麻煩不少這裡直接在centos7上安裝,要提前裝一下epel的repoyum install docker 安裝就行chkconfig docker onservice docker start把docker服務設定為每次開機啟動,然後啟動docker服務然後就能docker pull
Time of Update: 2015-01-07
標籤:CentOS 6.4-64位下編譯ffmpeg幾個簡單步驟:1.編譯前環境準備;2.下載源碼;3.編譯,安裝;-----------------------------------------------下面就一個一個的敘述下:一,安裝必要所需環境:命令列:#
Time of Update: 2014-12-15
標籤:rabbitmq叢集配置1、實驗環境rabbitmq-node1.com192.168.1.112rabbitmq-node2.com192.168.1.113rabbitmq-node3.com192.168.1.1282、配置前檢查同步時間#ntpdate pool.ntp.org3、注意一定要修改hosts#cat /etc/hosts192.168.1.112 rabbitmq-node1.com rabbitmq-n
Time of Update: 2014-07-08
標籤:centos 圖形 command 輸入命令 vi /etc/inittab到最後一行,把5改成3儲存退出。各數位含義:# 0 - halt (Do NOT set initdefault to this) &
Time of Update: 2014-07-18
標籤:style blog http java color 使用 Tigase XMPP Server在CentOS部署與配置chszs,轉載需註明。部落客頁:http://blog.csdn.net/chszs下面講述Tigase XMPP
Time of Update: 2014-07-16
標籤:linux c++2011 c11 c++ 64位 centos centos 7 構造gcc 32位編譯環境1引言1.1背景學習新的 C++ 2011和C11標準。1.2使用軟體CentOS 7(Linux version 3.10.0-123.el7.x86_64)gcc version 4.8.2 2
Time of Update: 2018-12-06
安裝環境CentOS 5.5,需要附加的軟體自己找。或者使用以下,一併升級 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->yum install binutils compat-db compat-libstdc++-296 control-center \gcc gcc-c++ glibc glibc-common gnome-libs
Time of Update: 2018-12-07
文章目錄 System.DllNotFoundException 這篇文章記錄的是在CentOS 6.3下安裝《OpenPetra 以及CentOS Mono 3.0 部署套件》提到的 Mono 3.0.6 部署套件。首先下載rpm包:[azureuser@mono local]$ sudo wget
Time of Update: 2018-12-06
新裝的伺服器可能設定了錯誤的,需要調整時區並調整時間.如下是使用NTP來從一個時間伺服器同步cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimentpdate us.pool.ntp.org很簡單吧,解析一下,第一句是把當前時區調整為上海就是+8區,想改其他時區也可以去看看/usr/share/zoneinfo目錄;然後第二句是利用ntpdate同步標準時間. 沒有安裝ntpdate的可以yum一下:yum install -y
Time of Update: 2014-05-24
問題描述: ifconfig命令無法找到eth0裝置,且/etc/sysconfig/network-scripts/中只有ifcfg-lo檔案,而沒有ifcfg-eth0。臨時解決方案一: 使用命令ifconfig eth0 192.168.1.x可以正常設定eth0的IP,該方法僅為臨時處理辦法,系統重啟後即失效了。永久解決方案二: 1、在/etc/sysconfig/network-scripts/目錄下建立ifcfg-eth0檔案;
Time of Update: 2013-11-15
ipt_MASQUERADE 2400 3 iptable_nat 6124 1 nf_nat 22788 2