Time of Update: 2018-12-04
緣由:本人在虛擬機器中安裝centos 5.3,起初安裝時選擇了english,後來使用的過程中發現開啟網頁,會出現中文亂碼,無法正常顯示。當然,本地檔案中的中文更是無法顯示。 若是將系統語言language設定成中文,則整個系統全部亂碼。 在網上google來 百度去,reboot了無數遍,硬是都不起作用。只到後來發現這篇文章:http://blog.csdn.net/neverup_/article/details/6443669 才真正解決問題。當然:http:
Time of Update: 2018-12-04
今天搭Hadoop完全分布式叢集的時候,啟動Centos時,總是停在starting sendmail上很長時間,接下來的starting sm-client也是異常的慢。後來查資料,才知道原來是和更改hostname有關。回想一下,自己曾經確實是改了hostname。但是只是修改了設定檔(/etc/sysconfig/network)。網上有說“這是因為 sendmail 的 server name (預設為 hostname) 不能為gethostbyaddr
Time of Update: 2018-12-03
在我們使用CentOS系統的時候,也許時區經常會出現問題,有時候改完之後還是會出錯,下面我們就來學習一種方法來改變這個狀況。如果沒有安裝,而你使用的是 CentOS系統 那使用命令 yum install ntp然後:ntpdate us.pool.ntp.org
Time of Update: 2018-12-04
CentOS6 安裝 CodeBlocks2012-02-12 20:01codeblock是一個還算不錯的IDE,免費、開源、跨平台等一些列優點!下面是我在CentOS6上安裝Codelocks的過程,希望對後來人有所協助!1.安裝gcc,需要c和c++兩部分,預設安裝下,CentOS不安裝編譯器的,在終端輸入以下命令即可yum install gccyum install
Time of Update: 2018-12-04
不同的版本的Linux系統,掛再硬碟的方法是不同的。如果使用傳統的硬碟掛再命令不能解決出現的“NTFS”“FAT32”不支援此類的問題時,需要查看自己的linux核心下的ntfs活fat32是否與linux系統的版本相符後是否安裝。 CentOS4.3下的硬碟掛再方法如下所示:1.首先通過 rpm -qa |grep
Time of Update: 2018-12-03
環境:[root@Linux ~]# lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: CentOSDescription: CentOS release 5.5 (Final)Release: 5.5Codename: Final 1.下載安裝cmark :
Time of Update: 2018-12-04
本人centos版本是:#cat /etc/issue:CentOS release 6.2 (Final)1.安裝關聯的packageyum install kernel-headers kernel-devel gcc make2.查看下載的核心代碼版本ls /usr/src/kernels/2.6.32-279.14.1.el6.i6863.查看原生核心版本uname -r2.6.32-220.2.1.el6.i6864.上面2個版本一定要一致,不然會有問題,yum install
Time of Update: 2018-12-05
CentOS 5.3使用中文大全 作者:zccst 前提:安裝系統時是預設安裝(即英文)。安裝完畢後,出現的各種中文亂碼 一、訪問g.cn,發現中文亂碼。於是用以前的方式:yum -y install
Time of Update: 2018-12-03
首先在/apps/metacity/keybinding_commands下尋找索引值為空白的command:gconftool-2 -R /apps/metacity/keybinding_commands以下以command_1為例,設定啟動並執行程式:gconftool-2 -t string -s /apps/metacity/keybinding_commands/command_1
Time of Update: 2018-12-03
1,檢查當前作業系統中的JDK:rpm -qa | grep java (orrpm -qa | grep jdk) (or rpm -qa | grep gcj)2,刪除內建的JDK:yum -y remove java-*3,下載JDK:http://www.oracle.com/technetwork/java/javase/downloads/index.html4,解壓:tar zxvf jdk-*5,移動:mv jdk1.7.0_03/*
Time of Update: 2018-12-03
CentOS 5啟用SSL先按裝mod_sslyum install mod_ssl完畢後在/etc/httpd/conf.d/下會有一個ssl.conf的檔案,開啟主要是看下認證及密鑰的位置SSLCertificateFile /etc/pki/tls/certs/localhost.crtSSLCertificateKeyFile /etc/pki/tls/private/localhost.key產生密鑰,進入/etc/pki/tls/private,刪除原來的rm -f
Time of Update: 2018-12-03
我使用的版本:centos5.2因為客戶指定要使用centos,(上網查了下才知道,原來是RedHat企業版的水貨版!我喜歡用水貨!便宜實惠,還是大品牌,呵呵!)於是從ubuntu移植到CentOs的任務就誕生了。 好在這個任務工作量不大。 首先就是下載CentOs。很大4.3個G。下了1個晚上。 安裝比較容易,按照提示,基本沒有什麼困難。(英文看不懂,不好意思,我很懶,沒有抓屏,如果有困難,有問必答,這個得學外國人,很熱情) 安裝lamp套件,使用的是Yum工具 (類似ubuntu的apt-
Time of Update: 2018-12-04
yum -y install popt-static kernel-devel make gcc openssl-devel lftp libnl* popt*0、安裝LVS前系統需要安裝popt-static,kernel-devel,make,gcc,openssl-devel,lftp,libnl*,popt*1、在兩台Director Server上分別配置LVS+KeepalivedLVS install
Time of Update: 2018-12-04
lvsipvsipvsadmkeepalived IPVS (IP Virtual Server) implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching. IPVS running on a host acts as a load balancer at the front of a cluster of real servers, it can
Time of Update: 2018-12-04
#su#yum install httpd (如果已經裝了apache就不用了)#yum install subversion mod_dav_svn#vi /etc/httpd/conf.d/subversion.conf添加到模組載入後面LoadModule dav_svn_module modules/mod_dav_svn.soLoadModule authz_svn_module modules/mod_authz_svn.so#mkdir
Time of Update: 2018-12-04
1 centos安裝python2.75 (centos6.3) 1 切換到root使用者 2 下載tar包 wget http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz 3 安裝 tar -zxvf Python-2.7.5.tgz cd Python-2.7.5 ./configure
Time of Update: 2018-12-04
1) check which wireless network card03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)RTL8188CE and RTL8192CE shared the same driver2) download and install driverdownload compat wirless driverhttp:
Time of Update: 2018-12-04
近期做的一個項目需要將windows下軟體一直到linux下面,之前一直在做windows上的程式,儘管說linux上學時學過,但也忘得差不多了,於是開始進行linux上的研究了,希望有這方面經驗的大家可以一起交流交流。今天想在CentOS上安裝個Qt庫時,下好原始碼。./configure檢查環境時,出現:Basic XLib functionality test failed!You might need to modify the include and library search
Time of Update: 2018-12-04
筆者第一次安裝伺服器版的Linux,第一次在Raid1下安裝Linux,安裝過程中遇到了N多個令人頭疼的問題,也是在意料之中的事情。現在把安裝過程與大家分享出來,希望能幫上大家,也算自己寫的經驗總結。 主要思路是: 使用CentOS Enterprise Linux 6.0 i386的光碟片引導系統,過程中載入電腦廠商提供的Raid的驅動,如果電腦廠商提供導航盤(比如聯想T168
Time of Update: 2018-12-04
一般都安裝了audacious,但是預設是沒有mp3外掛程式的。yum list audacious*用於顯示audacious所有支援的外掛程式。[root@host ~]# yum list audacious*Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * rpmforge: fr2.rpmfind.netInstalled Packagesaudacious.i386