Time of Update: 2018-07-26
來源自我的部落格 http://www.yingzinanfei.com/2016/09/22/centos-anzhuanggaobanbengit/ CentOS6.5內建的git版本是1.7.1 卸載內建的git # yum remove git 下載最新版git # wget https://github.com/git/git/archive/v2.9.2.tar.gz 解壓 # tar
Time of Update: 2018-07-26
一、tomcat官網:https://tomcat.apache.org/download-80.cgi 下載tomcat8的免安裝版,如圖: 二、通過XShell的rz命令,上傳到/usr/下 四、解壓tomcat,如圖: 五、將解壓的tomcat檔案夾改名字,如圖: 六、進入tomcat/bin下,啟動tomcat,如圖: 七、查看tomcat是否啟動成功,如圖:
Time of Update: 2018-07-26
一、直接安裝gcc,報依賴錯誤,如下圖: 二、直接安裝cloog,報依賴錯誤,如圖: 三、直接安裝cpp,報依賴錯誤,如圖: 四、正確的安裝順序: 1、安裝mpfr-2.4.1-6.el6.x86_64.rpm,如圖: 2、安裝ppl-0.10.2-11.el6.x86_64.rpm,如圖: 3、安裝cpp,如圖: 4、安裝cloog,如圖: 5、安裝gcc,如圖:
Time of Update: 2018-07-26
1.安裝之前先做一下準備工作,配置一下nginx的環境和一些類庫。 $ yum install gcc-c++ $ yum install pcre pcre-devel $ yum install zlib zlib-devel $ yum install openssl openssl--devel 2.選擇目錄,進行安裝 安裝之前,最好檢查一下是否已經安裝有nginx $ find -name nginx
Time of Update: 2018-07-26
原文轉載至:http://www.cnblogs.com/jackluo/p/3416648.html 首先需要安裝alien工具:http://ftp.de.debian.org/debian/pool/main/a/alien/ [root@localhost tmp]#tar zxvf alien_8.88.tar.gz[root@localhost alien]#perl Makefile.PL[root@localhost alien]#
Time of Update: 2018-07-26
查看當前作業系統是ubuntu還是centos 1、執行: lsb_release -a 2、命令: cat /etc/redhat-release 3、命令: cat /etc/issue 總結:其實是看有沒有某個檔案: radhat或centos存在: /etc/redhat-release 這個檔案【 命令 cat /etc/redhat-release 】ubuntu存在 : /etc/lsb-release 這個檔案
Time of Update: 2018-07-26
2017年3月6日 11:43:07 1. chkconfig 管理程式的運行層級 如:設定防火牆預設不開啟 chkconfig --level 35 iptables off 運行層級 3(命令列),5(介面)不開啟iptables 2. 配置網卡 虛擬機器網卡模式 橋接 自己手動設定IP 配置網卡 cd
Time of Update: 2018-07-26
centos6以後版本變更了portmap服務為rpcbind ,在使用nfs時這點與centos5不同,下面配置一個nfs系統,用來使區域網路內的所有使用者均可訪問該目錄,可將該目錄 配置成yum源 ,供內網機器安裝軟體。 首先安裝NFS套件,命令如下: yum install nfs-utils.x86_64(64位系統)
Time of Update: 2018-07-26
#!/bin/bash #add the epel repo and rpmforge repo cd /root/ wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm wget
Time of Update: 2018-07-26
http://www.centoscn.com/CentOS/help/2014/1014/3940.html 一. 記憶體使用量說明 Free 命令相對於top 提供了更簡潔的查看系統記憶體使用量情況: [root@rac1 ~]#
Time of Update: 2018-07-26
參考文章:51CTO推薦博文 - CentOS yum源配置小技巧 本文參考以上博文,並做些調整。 簡單介紹: linux軟體包rpm 使用起來雖然很方便,但是並不能解決軟體包的一些依賴關係;如果安裝軟體包時存在依賴,使用yum可以非常方便地解決軟體包依賴關係;而且還能便於管理大量軟體封裝更新;
Time of Update: 2018-07-26
CentOS 6: 1) 永久性生效,重啟後不會複原 開啟: chkconfig iptables on 關閉: chkconfig iptables off 2) 即時生效,重啟後複原 開啟: service iptables start 關閉: service iptables stop CentOS 7: systemctl start firewalld.service#啟動firewall systemctl stop
Time of Update: 2018-07-26
轉載自:http://www.linuxidc.com/Linux/2014-02/97362.htm 這兩天實驗室要求在伺服器上安裝一個CodeLite,於是由我對伺服器下手,上網看了下悲劇的發現CodeLite不支援在CentOS 6.2上直接安裝,只能編譯安裝,經過一番折騰之後,成功的裝上了,下面是我的安裝步驟: 在CentOS安裝CMake http://www.linuxidc.com/Linux/2014-02/97363.htm
Time of Update: 2018-07-26
需要修改兩處:一處是/etc/sysconfig/network,另一處是/etc/hosts,只修改任一處會導致系統啟動異常。首先切換到root使用者。 vi /etc/sysconfig/network 用任一款你喜愛的編輯器開啟該檔案,裡面有一行 HOSTNAME=localhost.localdomain (如果是預設的話),修改 localhost.localdomain 為你的主機名稱。 vi /etc/hosts 開啟該檔案,會有一行 127.0.0.1
Time of Update: 2018-07-26
參考官方文檔https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager Enterprise Linux (RHEL, CentOS, Fedora, etc.) Node.js and npm are available from the Extra Packages for Enterprise Linux (EPEL) repository.
Time of Update: 2018-07-26
CentOS下關閉Sendmail服務的方法 Sendmail是最重要的郵件傳輸代理程式程式。理解電子郵件的工作模式是非常重要的。一般情況下,我們把電子郵件程式分解成使用者代理程式,傳輸代理和投遞代理。 關閉Sendmail服務具體命令實現如下: 關閉sendmail服務 (1)[root@sample ~]#
Time of Update: 2018-07-26
安裝Squid yum install squid -y# -y 代表自動選擇y,全自動安裝 安裝後,可以自訂http代理連接埠,設定來源IP白名單等 vi /etc/squid/squid.conf# ------ 自訂http連接埠:# Squid normally listens to port 3128http_port 8088# ------ 設定來源IP白名單,增加的這兩行要在 http_access deny all 前面acl client
Time of Update: 2018-07-26
一、安裝準備 首先由於nginx的一些模組依賴一些lib庫,所以在安裝nginx之前,必須先安裝這些lib庫,這些依賴庫主要有g++、gcc、openssl-devel、pcre-devel和zlib-devel 所以執行如下命令安裝 [html] view plaincopy
Time of Update: 2018-07-26
在CENTOS 6.X中使用第三方rpmfusion源倉庫 一、首先查看已經開啟的YUM yum repolist 二、安裝rpmfusion倉庫包,在這之前得要先安裝一個叫 epel-release的包 rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-7.noarch.rpm rpm -ivh http://mirrors.163.com/rpmfusion/free/
Time of Update: 2018-07-26
https://forum.directadmin.com/showthread.php?t=43558 centos 6.2 x64 install mod_perl error i install new directadmin on centos 6.2 x 64 and after install