Time of Update: 2015-06-29
標籤:作為一名新手,學習Linux已經一個月了,其間遇到了不少問題,而今天筆者遇到的問題是#yum install pam-devel#This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Setting up Install ProcessNothing to do
Time of Update: 2015-05-23
標籤: 公司使用的是Cisco VPN, 於是準備使用一下。先登入公司的vpn頁面,意料之中的失敗,所以下載了vpnsetup.sh這個來手動安裝。手動是要用root的,不過由於我是個人學習使用機器,一直用的是root使用者,所以直接./vpnsetup.shInstalling Cisco AnyConnect Secure Mobility Client...Extracting installation files to /tmp/vpn.vNqiQO/vpninst101475
Time of Update: 2015-05-16
標籤:1、準備檔案cd /usr/src 最新版 :http://code.google.com/p/memcached/downloads/list wget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gzwget http://cloud.github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz
Time of Update: 2015-08-06
標籤:centos apr tomcat-native tomcat APR:Apache Portable Run-time
Time of Update: 2015-07-23
標籤:releases target blank style title 下載redis安裝檔案 wget http://download.redis.io/releases/redis-3.0.3.tar.gz 650) this.width=650;" title="clip_image002"
Time of Update: 2015-07-07
標籤:Galera 10.0.20 on CentOS 6.6 0.使用情境資料庫軟體:mariadb-galera-10.0.20-linux-x86_64.tar.gz 叢集管理:galera-3-25.3.10 節點同步方式(xtrabackup,rsync):percona-xtrabackup-2.2.8-5059.el6.x86_64.rpm 節點同步使用sockt:socat-2.0.0-b7.tar.gz安裝galera是為了獲得libgalera_smm.so;
Time of Update: 2015-05-11
標籤:virtualbox centos yum 昨天給centos6.5裝VirtualBox,裝了一天也沒,今天閑著沒事,試試centos7,結果成功了 PS
Time of Update: 2015-05-09
標籤:安裝bindyum install -y bind bind-chroot bind-utis如果是Centos 5# yum -y install bind caching-nameserver檔案結構# ll /etc/named.*-rw-r----- 1 root named 1021 May 8 16:39 /etc/named.conf -rw-r--r-- 1 root named 2389 Mar 10 23:55
Time of Update: 2015-04-26
標籤: 在 CentOS 7暫時開放 ftp 服務# firewall-cmd --add-service=ftp永久開放 ftp 服務# firewall-cmd --add-service=ftp --permanent永久關閉# firewall-cmd --remove-service=ftp --permanentsuccess讓設定生效# systemctl restart firewalld檢查設定是否生效# iptables -L -n | grep 21ACCEPT&
Time of Update: 2015-04-26
標籤:當你在控制台模式下,無法通過“滑鼠右鍵 > 關於”擷取作業系統的資訊。這時,在Linux下,你可以使用uname命令,協助你完成這些工作。 Uname是unix name的縮寫。在控制台中實際使用的時候只需鍵入uname。 當你輸入uname不帶參數時,它僅僅顯示你的作業系統的名字。[[email protected] ~]# unameLinux也許這還不能滿足你的需要。所以你需要加上一些參數,來使uname顯示你所需要的資訊。核心名稱 你可以用-
Time of Update: 2015-04-16
標籤:這個命令安裝最好了。但是我的伺服器上 PHP 的版本是 5.3 還不能升級沒辦法。只能不用了。/php5/bin/pecl install xdebug下載原始碼。http://xdebug.org/files/xdebug-2.3.2.tgz也下載錯了。太新了,不支援對應的 PHP 版本。重新下載wget http://xdebug.org/files/xdebug-2.2.7.tgzcd /root/tar zxvf xdebug-XDEBUG_2_2_7.tar.gzcd
Time of Update: 2015-04-11
標籤:封裝 版本號碼 環境說明:Win7+Vmware11+Centos6.6,使用CentOS6.6安裝光碟片 RPM全名是“RedHat Package
Time of Update: 2015-04-09
標籤:[[email protected] ~]# yum install php-mcryptSetting up Install ProcessNo package php-mcrypt available.Error: Nothing to do原來CentOS 官方預設不在對mcrypt模組 進行支援,所以必須另想辦法折騰了2個小時總算搞定,這裡主要使用了Fedora的擴充庫,EPEL (Extra Packages for Enterprise
Time of Update: 2015-04-09
標籤:centos磁碟滿了,尋找大檔案並清理2013年07月29日 ⁄ 綜合 ⁄ 共 1172字 ⁄ 字型大小 小 中 大 ⁄ 評論關閉今天發現vps敲入crontab -e 居然提示 “Disk quota exceeded” 無法編輯。於是"df -h"查了查發現系統磁碟空間使用100%了。最後定位到是/var/spool/mail/root
Time of Update: 2015-03-28
標籤:1.vi /etc/sysconfig/i18n將內容改為LANG="zh_CN.GB18030"LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"SYSFONT="lat0-sun16"這樣中文在SSH,telnet終端就可以正常顯示了。2.安裝Linux的時候選擇的是中文字,但是使用的時候出現了亂碼解決方案是在命令提示下輸入export
Time of Update: 2015-05-07
標籤:安裝 gearmand 前先裝一堆依賴,如下:(boost的版本需要大於 1.39)yum install boost-devel yum install mysql-develyum install gperfyum install libevent安裝好依賴後,執行 ./configure,然後 make 遇到了個困擾我半天的坑,報錯/usr/bin/ld: bin/gearadmin: undefined reference to symbol
Time of Update: 2015-07-05
CentOS如何查看硬碟品牌型號等具體資訊,centos品牌型號首先使用smartctl --all /dev/sda 指令來檢查硬碟資訊,該指令CentOS內建,得到的結果可能如下:smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-358.el6.x86_64] (local build)Copyright (C) 2002-12 by Bruce Allen,
Time of Update: 2015-05-31
CentOS 下openvpn 的搭建,centosopenvpnOpenVPN是一款基於隧道加密的VPN軟體,下面介紹一下它在CentOS 6.5下的安裝方法:setenforce 0yum install -y openssl openssl-devel lzorpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpmcd /etc/yum.repos.d/cp epel.repo
Time of Update: 2015-05-20
CentOS 6.5 下 Smokeping 安裝,centossmokeping Smokeping 是一款用於網路效能監測的監視軟體,通過它可以在自己公司IDC的網路狀況,如延時,丟包率,是否BGP多線等,通過rrdtool製圖方式,圖形化地展示網路的時延情況,進而能夠清楚的判斷出網路的即時通訊情況, Smokeping
Time of Update: 2015-05-14
解決CentOS“cp: omitting directory `AutoInstall_20150305”的錯誤系統內容:CentOS 6.5將寫的程式複製到案頭上,運行時提示:看檔案夾上帶個鎖,考慮到可能是許可權的問題,於是嘗試將檔案複製到“/opt”目錄下,結果出現“cp: omitting directory `AutoInstall_20150305’”的錯誤。在linux下拷貝的時候有時候會出現cp:omitting