Time of Update: 2018-12-06
參考:http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x網上好多教程的都已經失效,上面參考是有效。1、下載安裝檔案wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpmwget
Time of Update: 2018-12-06
系統:centos 6.2需要的軟體:epel-release-5-4.noarch.rpm(fedora源) 1.安裝前準備 wget http://download.slogra.com/epel-release-5-4.noarch.rpm rpm -ivh epel-release-5-4.noarch.rpm wget -P /etc/yum.repos.d/
Time of Update: 2018-12-06
CentOS安裝以後,預設的JDK的用的是OpenJDK,發現跑我們開發的應用驗證碼映像顯示有問題,查了一下有個Image的介面和Sun JDK不一樣,我們在Windows下開發一般都是使用Sun JDK,所以必須替換Sun JDK,一般可能要刪除Open JDK,後來網上查了一下,發現了一個新的方法,使用alternatives進行java版本的轉換。具體方法如下:首先需要把新安裝的jdk添加到alternatives:[root@djn-laptop sbin]#
Time of Update: 2018-12-06
在vmware上裝了linux系統(centos和rhel),運行不久後就會發現系統時間不準,和當時的時間總有差距,調整好後,運行不久就又出現這個問題,經網上收集看別人資料後整理得出: 是vmware 沒有裝tools原因 裝tools後修改設定檔後,linux系統的時間就可以同步了。現在解決辦法:一、安裝VMWare Tools: 應該點擊 VM 選擇 Install VMWARE TOOLS 然後選擇Install (相當於插入了光碟片) mount
Time of Update: 2018-12-06
環境系統版本:cenos 6.2MySQL版本:mysql-5.5.11一、準備環境1.建立mysql安裝目錄及資料存放目錄# mkdir -p /usr/local/mysql //安裝mysql# mkdir -p /usr/local/mysql/data //存放資料庫2.建立myql使用者和使用者組# groupadd mysql# useradd -g mysql mysql3.賦予資料存放目錄許可權[# chown -R root:mysql .
Time of Update: 2018-12-06
先檢查是否已經安裝了:rpm -qa |grep mysql ---兩個都檢查下 rpm -qa |grep MySQL若安裝有可卸載:rpm -e
Time of Update: 2018-12-06
一. 準備環境1.安裝gccyum install gcc gcc-c++2.安裝pcre為了確保能在 Nginx 中使用Regex進行更靈活的配置,安裝之前需要確定系統是否安裝有 PCRE(Perl Compatible Regular Expressions)包。下載pcre-8.20.tar.gz,地址是:http://sourceforge.net/projects/pcre/files/pcre/ ,上傳至/usr/local,安裝目錄:/usr/local/pcre# mkdir
Time of Update: 2018-12-06
錯誤碼:Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileTraceback (most recent call last):File “/usr/bin/yum”, line 29, in yummain.user_main(sys.argv[1:], exit_code=True)File “/usr/share/yum-cli/yummain.py”, line 309, in user_main
Time of Update: 2018-12-06
[root@localhost ~]# yum -y install vsftpd (註:在下載wget命令並安裝)Could not retrieve mirrorlisthttp://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was [Errno 4] IOError: <urlopen error (-3,
Time of Update: 2018-12-06
附:CentOS 6.3 32位:http://mirror.centos.org/centos/6.3/isos/i386/CentOS-6.3-i386-bin-DVD1to2.torrent 64位:http://mirror.centos.org/centos/6.3/isos/x86_64/CentOS-6.3-x86_64-bin-DVD1to2.torrent 說明: 1、CentOS
Time of Update: 2018-12-06
一、環境描述1、系統:CentOS 6.4 i386 (min)2、登入使用者:root3、版本:CMake 2.8.10.24、虛擬機器:Oracle VM VirtualBox二、安裝步驟步驟一、安裝gcc等必備程式包(已安裝則略過此步)yum install -y gcc gcc-c++ make automake 步驟二、安裝wget (已安裝則略過此步)yum install -y wget步驟三、擷取CMake源碼包wget http://www.cmake.org/files/v2
Time of Update: 2018-12-06
rpm -ivh MySQL-server-5.6.10-1.el6.i686.rpm #安裝MySQLrpm -ivh --test MySQL-server-5.6.10-1.el6.i686.rpm #檢查安裝MySQL解析:-i 等同於 --install,即安裝,文法結構為 rpm {-i | --install} [install-options] package_file; -v 顯示安裝資訊; -h
Time of Update: 2018-12-06
原創作品,允許轉載,轉載時請務必以超連結形式標明文章 原始出處 、作者資訊和本聲明。否則將追究法律責任。http://sdbaby.blog.51cto.com/149645/325242今天又想起在VMWare虛擬機器上玩玩LINUX(CentOS),好長時間沒有弄它了!但是ROOT使用者的密碼忘了,進不去了!汗。。。解決方案:一、重啟系統,GRUB: 在引導裝載程式菜單上,用上下方向鍵選擇你忘記密碼的那個系統鍵入“e”
Time of Update: 2018-12-06
之前配置phpmyadmin的時候,在瀏覽器上輸入http://192.168.8.250/phpmyadmin/也遇到了You don't have permission to access on this server的問題在網上搜了很多的資料,有的說是selinux的原因,把它關掉就可以了,後來,我重新安裝了phpmyadmin,發現有時候並不一定是selinux的原因;再後來,找到了這篇文章的描述:***********************分割線*******************
Time of Update: 2018-12-06
以下是在CentOS5.5上安裝postgresql9.1的相關記錄(1) 從http://yum.pgrpms.org/repopackages.php 下載postgresql9.1 rpm安裝包 [root@server1 ~]# wget
Time of Update: 2018-12-06
在使用CentOS做server的時候有時會碰到server拒絕client串連的情況,client會受到connection reset by peer等錯誤,究其原因應該是server預設的file descriptor為1024,此時已經超過了1024,為安全起見server拒絕服務所導致的。增加file descriptor的操作如下:一、臨時增加file descriptor ulimit -n 4096二、永久增加file descriptor 2.1 # vi
Time of Update: 2018-12-06
(1)[root@bogon test]# cd /etc/sysconfig/network-scripts/(2)[root@bogon network-scripts]# vi ifcfg-eth0 (3)# Intel Corporation 82566DM-2 Gigabit Network
Time of Update: 2018-12-06
Samba 應該範圍主要是Windows和Linux系統系統之間共用檔案或裝置使用,是在網路上的電腦之間共用檔案和列印服務的軟體包,協議是用戶端服務合約,提供的一個類似FTP客戶程式的客Samba客戶程式smbclient命令,一般都用在內網中使用.Samba概述簡介Samba(SMB是Server Message Block其縮寫)
Time of Update: 2018-12-06
CentOS 5 i386:wget http://mirror.centos.org/centos-5/5/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpmwget http://mirror.centos.org/centos-5/5/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpmwget http://mirror.centos.org/centos-5/5/os/i386/CentOS/readline-
Time of Update: 2018-12-06
可能你遇到過,在終端模式下輸入ifconfig,系統提示沒有此命令。怎麼樣才能解決(⊙o⊙)?那麼就將其添加入系統內容變數吧。。。===============================================================su 進入root,運行vim /etc/profile 在檔案末加入以下語句PATH=$PATH:/sbin #在PATH變數後追加/sbin目錄export PATH=$PATH:/sbin#設定變數為全域的儲存並退出。進入/