Time of Update: 2018-07-20
CentOS 7 用 yum 安裝 Nginx 在 CentOS 7 中,直接使用 yum 安裝 Nignx 會提示無下載源。因此,需要添加 Nginx 的下載源到 yum: sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 指定了下載源後,就可以使用 yum 命令來安裝 Nginx 了: sudo
Time of Update: 2018-07-20
網上各路大神的配置很繁瑣 其實官網 http://caffe.berkeleyvision.org/installation.html的配置和安裝步驟很簡單 而且針對了不同環境 所以我建議大家不要按照xx的blog來,做個參考可以(包括我的) 。遇到錯誤的時候再Google,避免走彎路。 首先更新yum源 cd /etc/yum.repos.d/mv CentOS-Base.repo CentOS-Base.repo_bakwget http://mirrors.163.
Time of Update: 2018-07-23
環境: centost6.5 x64 mongodb 3.0 1、到官網下載這個檔案: mongodb-linux-x86_64-rhel62-3.0.0.gz 2、安裝MongoDB(安裝到/usr/local) 在/usr/local目錄下將安裝包解壓; tar -zxvf mongodb-linux-x86_64-3.0.2.tgz 修改解壓後的目錄: mv
Time of Update: 2018-07-17
當在伺服器上安裝Kubernetes時,執行以下命令安裝時出現問題: yum install -y etcd kubernetes 錯誤:docker-engine conflicts with 2:docker-1.12.6-68.gitec8512b.el7.centos.x86_64 詳細的錯誤描述如下:
Time of Update: 2018-07-18
一些C/C++編譯好後,當運行時,報錯說無法載入共用庫,例如: ./write: error while loading shared libraries: libhdfs.so.0.0.0: cannot open shared object file: No such file or directory 發生這種報錯的原因是,編譯的程式運行期間需要依賴某個共用庫,
Time of Update: 2018-07-21
一:使用CentOS常用命令查看cpu more /proc/cpuinfo grep "model name" grep "model name" /proc/cpuinfo [root@localhost /]# grep "CPU" /proc/cpuinfo model name : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz model name :
Time of Update: 2018-07-21
1. 列出系統中正在使用的核心: uname -a Linux localhost.localdomain 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 2.查詢系統中全部的核心: rpm -qa | grep kernel
Time of Update: 2018-07-21
centos源碼升級核心方法 最近在研究docker,需要升級核心,下面說一下升級核心的方法。 1.下載核心源碼 下載網址為 https://www.kernel.org/ 我使用的為3.10版本 下載地址為 https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.44.tar.xz 下載命令: # wget
Time of Update: 2018-07-21
最近 在Win7中,VMware虛擬機器centos剛剛安裝好之後不能與外網相連,在網上找了很多資料, 都說是選擇NAT方式串連,我嘗試了各種方法都不能上網,最後我的解決方案如下: 1、首先確保win7和虛擬機器centos中的防火牆都是關閉狀態,很多情況下網路不通都是由於防火牆的緣故, 所以一定要注意這個細節。 2、關閉centos,在VMware中雙擊右邊的Device->Network Adapter,選擇橋接(Bridged)方式,儲存設定。
Time of Update: 2018-07-22
3.網路基本命令(1)network service的制禦網路介面配置資訊改動後,網路服務必須從新啟動,來啟用網路新配置的使得配置生效,這部分操作和從新啟動系統時時一樣的作用。制禦(控制)是/etc/init.d/network這個檔案,可以用這個檔案後面加上下面的參數來操作網路服務。例如:[root@linux ~]#/etc/init.d/networkrestart同樣也可以用service這個命令來操作網路服務例如:[root@linux ~]#service network
Time of Update: 2018-07-22
前提:需要下載 apache-tomcat-7.0.57.tar.gz, 並已經搭建了java 環境 安裝步驟: 1. 將apache-tomcat-7.0.57.tar.gz 拷貝到linux系統 /usr/local 目錄中 2. 解壓: # tar -zvxf apache-tomcat-7.0.57.tar.gz 3. 更名: # mv apache-tomcat-7.0.57.tar.gz tomcat7 4. 防火牆釋放8080
Time of Update: 2018-07-22
本來,在一起的部落格上寫的已經很完整了,可惜原來的純技術部落格被牆了,而同時,必須用到的一個amrnb和amrwb的下載網站也貌似被牆了,或者是掛了,無奈之下,又必須要用這個東西,所以用那個新的open amr。下載完編譯好以後用這樣的參數編譯就好了。 mencoder的配置如下:(這次的配置關了不少東西,主要是沒用) 因為開了theora,所以要去下個theora和ogg的原始碼放到mplayer的目錄下 cp -R include/theora
Time of Update: 2018-07-22
一、下載、安裝rsync **** 正常安裝RH的時候是帶RSYNC的,運行檔案放在/usr/bin/rsync #tar zxvf rsync-2.6.9.tar.gz #cd rsync-2.6.9 #./configure --prefix=/usr/local/rsync #make #make install 二、配置rsync server 1、啟動RSYNC #vi /etc/xinetd.d/rsync
Time of Update: 2018-07-23
1、我下載的是phpMyAdmin-3.2.3-all-languages版本,這個版本需要php 5.2或更高的版本,所以必須想辦法升級系統內建的php 5.1版本,具體操作就是利用系統yum“測試庫”更新php到5.2版本,可以參考http://blog.csdn.net/boyla/archive/2009/11/14/4811511.aspx 。 2、在Apache Http
Time of Update: 2018-07-23
安裝zabbix-agent端比較簡單 安裝zabbix的官方源 rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm yum install zabbix-agent cd /etc/zabbix/ vi zabbix_agentd.conf #######修改成以下內容 PidFile=/var/
Time of Update: 2018-06-12
標籤:主從同步;mysql linux; 注意本次主從伺服器上面均一yum安裝mysql主從安裝mysql shell> yum -y install mysql mysql-server /etc/init.d/mysqld start #初始化資料庫,並啟動資料庫主伺服器上面添加以下配置server-id=1log-bin=mysql-bin #這個一定得設定,否則沒有日誌的話,從資料庫上會報錯[[email
Time of Update: 2018-06-10
標籤:png tab 基本 資料庫 tar TE SQ info data 簡單說一下就可以了,很簡單的。 1。安裝mariadb-server yum install
Time of Update: 2018-06-02
標籤:open zip2 pen make 下載 eve pytho tar 使用 1> 安裝python3.6可能使用的依賴yum install openssl-devel bzip2
Time of Update: 2018-05-18
標籤:解決 ftp 應該 source final amp muti get 就會 轉自:https://www.cnblogs.com/terryguan/p/7233801.html&nbs
Time of Update: 2018-07-14
標籤:highlight 部署 .so lib64 sha dll style dip common 一開始報這個錯誤:Unable to load shared library ‘libdl‘