Time of Update: 2017-01-13
一. 安裝vnstatepel包內建vnstat,可以先安裝epel,然後執行下列命令:yum install vnstat -y二. 配置修改/etc/sysconfig/vnstat檔案,可看到如下配置(如果預設網口為eth0,則可以不修改):VNSTAT_OPTIONS="-u -i eth0"修改/etc/vnstat.conf,主要關注“Interface”,用來確認預設的網口Interface "eth0"為了方便查看,
Time of Update: 2017-01-13
遇到錯誤:Transaction Check Error: installing package kernel-2.6.32-504.8.1.el6.x86_64 needs 16MB on the /boot filesystemError Summary-------------Disk Requirements: At least 16MB more space needed on the /boot filesystem.查看一下:# df
Time of Update: 2017-01-13
1. 配置epel源(exim包位於EPEL軟體源中)CentOS7# cat > /etc/yum.repos.d/epel.repo << EOF[epel]name=Extra Packages for Enterprise Linux 7 - \$basearch#baseurl=http://download.fedoraproject.org/pub/epel/7/\$basearchmirrorlist=https://mirrors.fedoraproject.
Time of Update: 2017-01-13
Weblogic是一個Java App的容器,一般大型應用跑在Weblogic中。系統為CentOS6.2 64bit。一、安裝這裡安裝的是Weblogic 11g。1、下載地址:http://www.oracle.com/technetwork/cn/middleware/ias/downloads/wls-main-091116-zhs.html64位版本選擇:Oracle WebLogic Server 11gR1 (10.3.6) + Coherence - 打包安裝程式通用:1 GB
Time of Update: 2017-01-13
今天,串連pure-ftpd的時候竟然不能登入,總是提示:530 Login authentication failedPure-Ftpd安裝在debian6上,所以與Centos下有些不同,啟用偵錯模式:[root@localhost ~]# lftplftp :~> open -u feifei,"123456" 192.168.2.23lftp feifei@192.168.2.23:~> debuglftp
Time of Update: 2016-10-30
標籤:add static while 設定 interface host nbsp via work CentOS下靜態路由修改命令方法一:添加路由route add -net 192.168
Time of Update: 2016-09-12
標籤:伺服器 設定檔 relative making generated CentOS 6.8
Time of Update: 2016-07-07
標籤:原文來自:http://www.zhukun.net/archives/7434CentOS系統下中文檔案名稱亂碼2014/09/01Linux營運centos、Linuxbear從windows上傳到linux的檔案或者目錄,在Linux系統中顯示為亂碼。雖然將Linux的env設定了LANG=en_US.UTF-8,並且本地的Shell用戶端編碼也設定成UTF-8,但在Shell中(或通過http訪問),仍是亂碼……原因在於,Windows
Time of Update: 2015-06-11
標籤:今天發現vps敲入crontab -e 居然提示 “Disk quota exceeded” 無法編輯。於是"df -h"查了查發現系統磁碟空間使用100%了。最後定位到是/var/spool/mail/root
Time of Update: 2016-01-30
標籤:Centos安裝L2TP+IPSec完整教程L2TP相比PPTP是另外一種隧道協議方式,部分網路下PPTP無法串連,可以嘗試L2TP,一般而言在PC上,兩者使用體驗沒什麼不同,技術原理上的不同請參照這裡.建議PC電腦上優先使用PPTP,無法使用可以嘗試L2TP,移動端推薦使用L2TP;安裝方式:一、一鍵指令碼安裝(推薦,安裝簡單)安裝的軟體包版本分別是openswan-2.6.38、xl2tpd-1.2.4VPS是需要基於Xen或KVM的。注意:基於 OpenVZ 虛擬化技術的 VPS
Time of Update: 2014-10-10
標籤:blog http os 使用 ar sp 2014 on log
Time of Update: 2014-07-19
標籤:style blog http 使用 os 檔案 今天終於下決心把我的電腦裝成了centos,上網的時候感覺上邊的那一行功能表列礙事兒,就把他給刪了就是案頭最頂上這一行東西,然後百度無果,Google上不去,用bing好不容易才找到裡解決方案!癥狀:進入linux系統後上下面板的工作列都消
Time of Update: 2018-12-05
1. Environment Required CentOS Linux release 6.0 (Final) (cat /etc/redhat-release) JDK: jdk1.6.0_27 (/opt/) ApacheTomcat: apache-tomcat-6.0.33 (/opt/)1.1 Extract JDK and Apache Tomcat (tar xvf *.tar.gz)1.2 Set environment variables like
Time of Update: 2018-12-05
KeePassX on CentOSI’ve been playing with CentOS 5 lately, and really needed KeePassX on it. I ran into a few problems…No rpms for Centos means you have to try and build from source. You also need qt-devel on the machine but it has to be version 4.3
Time of Update: 2018-12-06
編輯器載入中... # vi /etc/sysconfig/i18n LANG=”en_US.UTF-8″ SYSFONT=”latarcyrheb-sun16″ 預設的語言是英文,如果把第一行改為” LANG=”zh_CN.UTF-8” ”,則本機上的shell可以看到正常的中文,但通過ssh連上就會發現所有的漢字變成亂碼了;則再改為” LANG=”zh_CN.GB18030″ ”,重新登陸即可發現一切OK。 Linux: 請問/etc/sysconfig/i18n檔案是什麼作用? 在Red
Time of Update: 2018-12-06
安裝PythonMagick和pythonmagickwand 步驟安裝依賴庫yum install automakeyum install pkgconfigyum install libtoolyum install gcc-c++yum install boost*yum install ImageMagick*#wget http://www.imagemagick.org/download/ImageMagick-6.8.0-9.tar.gz查看ImageMagick版本
Time of Update: 2018-12-07
本來看到舊版的server administration可以自動備份的,想著workbench應該也可以……沒想到竟然不行,而且mysql只是考慮將這個功能加到community plugin中。憂桑……還好有人寫了個AutoMySQLBackup共用在了sourceforge上。試試看怎麼樣吧。人家在sourceforge上的介紹:DescriptionAutoMySQLBackup with a basic configuration will create Daily, Weekly
Time of Update: 2016-06-17
解決centos 6.4 不能使用yum install 的相關問題在青雲上建立centos 6.4後,習慣性的安裝emacs. 結果遇到報錯資訊:[plain]view
Time of Update: 2015-04-21
在CentOS 6.5上安裝OpenLDAP並配置LDAP方式使用者登入,centosopenldap1.安裝PHP和apache如果沒有EPEL的源需要安裝下yum install epel-release若沒有下載下來,就建立/etc/yum.repo.d/epel.repo[epel]name=Extra Packages for Enterprise Linux 6 -
Time of Update: 2014-08-08
CentOS 6 安裝 sshpass,centos安裝sshpass不如Ubuntu, 預設yum install sshpass無法安裝sshpass,需要用下面的步驟:cd /etc/yum.repos.d/wget http://download.opensuse.org/repositories/home:Strahlex/CentOS_CentOS-6/home:Strahlex.repoyum install sshpasscentos 63 的幾種安裝方式只不過是