Time of Update: 2015-12-24
標籤:電腦 伺服器 郵箱 軟體 主機 一、使用外部郵箱發送警示郵件注意必須先卸載內建的mailx軟體,內建的mail會調用sendmail伺服器發送郵件,所以我們重新編譯安裝mailx新版本[[email protected] alertscripts]# cat /etc/mail.rc set
Time of Update: 2015-12-23
標籤:首先檢查SSHD服務是否啟用進入終端輸入 #ssh localhost如果提示:ssh: connect to host localhost port 22: Connection refused 錯誤不用管它,沒有啟動sshd服務的緣故安裝sshd命令: #yum install openssh-server安裝好後開啟: #/etc/init.d/sshd start 或者 service sshd
Time of Update: 2015-12-22
標籤:安裝環境是:系統:win server 2012 r2 DataCenterhyper-v版本:6.3.9600.16384centos版本:7.0從網上下載的 centos 7.0 如果找不到的話 ,可在網盤下載 http://pan.baidu.com/s/1mgLrPRM匯入iso鏡像 正常安裝即可建立該虛擬機器時候 先 建立一個 網路介面卡(我沒有選擇舊版網路介面卡),具體操作 添加硬體》》選擇 網路介面卡》》下一步。。。。系統安裝時,我選擇的是
Time of Update: 2015-12-22
標籤:msmtp mutt 1:搭建配置msmtp下載msmtp包:官方地址:http://msmtp.sourceforge.net/download.html編譯,安裝(官方下載的包為tar.xz格式):#xz -d msmtp-1.6.3.tar.xz#tar -xvf msmtp-1.6.3.tar#cd msmtp-1.6.3#./configure --pr
Time of Update: 2015-12-21
標籤: 1、查看IP地址,得到只有一個迴環地址2、進行網路測試,現在來測試下,看能不能ping通www.baidu.com3、下面的是,關於ping這個命令的一些使用方式。4、ping下網關,看能不能ping通查看下VMnet8即NAT模式下的網關地址5、提示我們,依然還是ping不通。那麼怎麼辦?說明,能夠Ping通自己的迴環地址,說明虛擬機器的網路通訊協定是可以的,即硬體是沒有問題,那麼,原生網關和外部的地址ping不通,說明是網卡沒有設定!接下來,對網卡。6、修改
Time of Update: 2015-12-22
標籤:1.全域的代理設定:vi /etc/profile添加下面內容http_proxy = http://username:[email protected]:8080/ftp_proxy = http://username:[email protected]:8080/export http_proxyexport ftp_proxy2.yum的代理設定:vi /etc/yum.conf添加下面內容proxy = http://username:[email
Time of Update: 2015-12-22
標籤:環境: 系統硬體:vmware vsphere (CPU:2*4核,記憶體2G) 系統版本:Centos-6.5-x86_64 路由器網關:192.168.1.1 步驟: 1.查看網路MAC地址 [[email protected] ~]# cat /etc/udev/rules.d/70-persistent-net.rules 顯示如下資訊 # PCI device 0x15ad:0x07b0 (vmxnet3) SUBSYSTEM=="net"
Time of Update: 2015-12-21
標籤:VirtualBox error: Kernel driver not installed (rc=1908)Hi all, Let me first say that this is my final resort after googling this issue for the last several hours. None of the solutions that I have found are working for me. My VirtualBox (PUEL,
Time of Update: 2015-12-21
標籤: 主流: 目前的Linux作業系統主要應用於生產環境, 主流企業級Linux系統仍舊是RedHat或者CentOS 免費: RedHat 和CentOS差別不大,CentOS是一個基於Red Hat Linux 提供的可自由使用原始碼的企業級Linux發行版本 更新方便:CentOS專屬的yum命令支援線上升級,可以即時更新系統,不像RED HAT那樣需要花錢購買支援服務!1、開啟VMare
Time of Update: 2015-12-21
標籤:vnc因為某些情況下,需要使用到Linux的案頭環境,如Oracle的安裝與配置就需要圖形化介面。預設情況下,我們已經安裝安裝了Gnome案頭環境yum -y install vncserver配置vncserver,在/etc/sysconfig/vncserver新增VNCSERVERS="1:root"VNCSERVERARGS[1]="-geometry 1024x768 -alwaysshared -depth 
Time of Update: 2015-12-20
標籤: 1、添加使用者,首先用adduser命令添加一個普通使用者,命令如下:#adduser tommy//添加一個名為tommy的使用者#passwd tommy //修改密碼Changing password for user tommy.New UNIX password: //在這裡輸入新密碼Retype new UNIX password: //再次輸入新密碼passwd: all
Time of Update: 2015-12-21
標籤:Centos 6.5預設安裝的是git 1.7.X 版本,使用過程中會有一些奇怪的問題,對於使用者名稱、密碼支援不是很友好。將Centos6.5上的git更新到2.0.5,方法如下:1.安裝編譯git時需要的包# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel# yum install gcc perl-ExtUtils-MakeMaker2.刪除已有的git#
Time of Update: 2015-12-20
標籤:the problem when use centos5 to build kernel or busyboxstep
Time of Update: 2015-12-19
標籤:centos 使用者組和使用者的添加及所屬問題指定附加組 eg:dy 為組名 ,lisi 為使用者,要把lisi 使用者添加到 dy 組裡面useradd -G dy lisi可以同時添加多個組, eg: dy wangwu zhangsan 都是組名 ,lisi 同時加入到這幾個組裡面useradd -G dy,wangwu,zhangsan lisi查看使用者組情況cat /etc/group查看所有使用者cat
Time of Update: 2015-12-19
標籤:CentOS Kernel Source InstallMar 12th, 2012 | CommentsCentOS kernel source install, first off if you are just trying to build something or compile a tool on CentOS then you probably only need to install the kernel-devel package if you are
Time of Update: 2015-12-18
標籤:SVN作為新一代代碼版本管理工具,有很多優點,管理方便,邏輯明確,安全性高,代碼一致性高。SVN資料存放區有兩種方式,BDB(事務安全表類型)和FSFS(一種不需要資料庫的儲存系統),為了避免在伺服器串連中斷時鎖住資料,FSFS是一種更安全也更多人使用的方式。SVN的運行方式也有兩種,一種是獨立伺服器,另一種是藉助apache服務,各有利弊,下面就介紹一下這兩種方式各自的部署步驟。一.作為獨立伺服器運行,1.安裝subversion#yum install
Time of Update: 2015-12-17
標籤:liunx入門 find: 作用:通過遍曆指定起始路徑下的檔案系統層級結構完成檔案的尋找。 工作特性:尋找速度慢;精確尋找;事實尋找; 使用方法:find [尋找起始路徑] [尋找條件] [處理動作] 尋找起始路徑:指定具體搜尋目標起始路徑;預設為目前的目錄;
Time of Update: 2015-12-17
標籤:linux find命令find 作用:通過遍曆指定起始路徑下的檔案系統層級結構完成檔案的尋找。 工作特性:尋找速度慢;精確尋找;事實尋找; 使用方法:find [尋找起始路徑] [尋找條件] [處理動作]
Time of Update: 2015-12-16
標籤:centos DNS服務搭建 第三十節課 上半節課 下半節課 一. DNS原理相關DNS 為Domain Name
Time of Update: 2015-12-15
標籤:版本:vsftpd-3.0.2-9.el7.x86_64(CentOS是64位的)。 1.安裝vsftpdyum -y install vsftpd2.配置vsftpd修改配置前把原始設定檔備份一下:cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.backup修改設定檔:vim /etc/vsftpd/vsftpd.conf修改的地方:1)把下面的開頭的注釋去掉,限制所有的使用者均不能切換到其他目錄chroot_local_