Time of Update: 2016-03-16
標籤:#!/bin/sh### BEGIN INIT INFO# Provides: openerp-server# Required-Start: $remote_fs $syslog# Required-Stop: $remote_fs $syslog# Should-Start: $network# Should-Stop: $network# Default-Start: 2 3 4 5#
Time of Update: 2016-03-16
標籤:centos中yum更新源的配置及使用CentOS中yum更新源的配置及使用1】進入yum的目錄[[email protected] ~]#cd /etc/yum.repos.d/[[email protected] yum.repos.d]# lsCentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo
Time of Update: 2016-03-16
標籤:今天在公司測試Linux bridge搭建,為了使內部docker容器的網路能夠不經過2層封裝轉寄對外公布,顧試用一下bridge功能,結果碰到報錯:"Bringing up interface eno16777736: Error: Connection activation failed: Master connection not found or invalid"具體錯誤是:Mar 16 10:56:04 cloud01 systemd[1]: Starting
Time of Update: 2016-03-16
標籤:ffmpeg一、安裝工具包 yum install -y automake autoconf libtool gcc
Time of Update: 2016-03-16
標籤:yum release 出錯 搭建環境時碰到yum更新出問題了,報如下錯誤:YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. $releasever is not a valid release or hasnt been released yet/removing mirrorlist
Time of Update: 2016-03-14
標籤:前提配置:使用root登入修改設定檔:/etc/ssh/sshd_config,將其中三行的注釋去掉,如下:然後重啟ssh服務:service sshd restart。最後退出root,以下所有操作都在hadoop使用者下進行。主機資訊如下:如,當前登入使用者為hadoop,主機名稱為slave.hadoop,與master.hadoop主機的網路是通暢的。當前未配置RSA校正的情況下,用ssh串連主機是需要輸入密碼的,如下:如,執行ssh
Time of Update: 2016-03-14
標籤:asmlib針對linux centos 6.5版本包,包括核心升級包。下載失敗的話自己配置網易yum源。安裝方法:yum install oracleasm 執行後,會檢查環境依賴情況,包括核心是否符合要求,不符合會自動下載升級核心,完了到oracle官網下載asmlib 2個檔案(linux 6是兩個檔案):oracleasmlib-2.0.4-1.el6.x86_64.rpmoracleasm-support-2.1.8-1.el6.x86_64.rpmyum
Time of Update: 2016-03-13
標籤:使用者 許可權 chmodcentos 7的使用者和許可權管理相關內容1.使用者,組知識即相關命令a.使用者的類別:管理員:root普通使用者:系統使用者:僅用於運行服務程式;登入使用者:系統資源的正常使用者;使用者標識:UserID, UID 16bits位元字:0-65535;管理員:0普通使用者:系統使用者:CentOS 5, 6: 1-499CentOS 7: 1-999登入使用者:CentOS 5,6: 500+CentOS 7:
Time of Update: 2016-03-13
標籤:轉自:http://www.centoscn.com/CentosBug/osbug/2014/0423/2850.html [[email protected] Desktop]# service network restartShutting down loopback
Time of Update: 2016-03-12
標籤:jdk 環境 java centos71.1 系統內容:[[email protected] tools]# cat/etc/redhat-releaseCentOS Linux release 7.0.1406 (Core)[[email protected] tools]# uname -r3.10.0-123.el7.x86_64[[email protected] tools]# uname -nnginx-daili[[email
Time of Update: 2016-03-12
標籤:http://ask.xmodulo.com/enable-nux-dextop-repository-centos-rhel.html Question: I would like to install a RPM package which is available only in Nux Dextop repository. How can I set up Nux Dextop repository on CentOS or RHEL?Nux Dextop
Time of Update: 2016-03-11
標籤:產生這個問題的原因是:server的sshd會去DNS尋找訪問client IP的hostname,如果DNS不可用或者沒有相關的記錄就會花費大量的時間。 1.在server上/etc/hosts檔案中把server的IP和hostname加入 2.在server上/etc/ssh/sshd_config檔案中修改或加入UseDNS=no 通常到這步就已經可以解決問題了,如果還不行,請執行第三部:
Time of Update: 2016-03-11
標籤:第一步: yum install subversion; 第二步: svnadmin create /data/cluster/sa/vc 第三步: mkdir /data/cluster/sa/vc/svn 第四步:svnadmin create /data/cluster/sa/vc/svn/mg svnadmin create
Time of Update: 2016-03-11
標籤:network service 設定檔 ip地址 編輯器 一、網卡設定檔目錄:650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/7D/2F/wKioL1biFiCB0U5KAAAGlsoZr_o858.png" title="1.png"
Time of Update: 2016-03-11
標籤:network service 設定檔 ip地址 編輯器 一、網卡設定檔目錄:650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/7D/2F/wKioL1biFiCB0U5KAAAGlsoZr_o858.png" title="1.png"
Time of Update: 2016-03-11
標籤:以CentOS 7為例,我們類比實現nginx來處理靜態資源,apache來處理php1.首先我們來安裝nginx # wget http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm2.建立YUM倉庫# rpm
Time of Update: 2016-03-11
標籤:redhat提供了一個redhat-upgrade-tool的升級工具;[1]配置軟體源 # vim /etc/yum.repos.d/upgrade.repo[upgrade]name=upgradebaseurl=http://dev.centos.org/centos/6/upg/x86_64/enable=1gpgcheck=0[2]安裝軟體工具 yum -y install preupgrade-assista
Time of Update: 2016-03-10
標籤:環境:CentOS 6.41、安裝tigervnc-server及相關軟體 首先檢查系統中是否安裝tigervnc-server安裝包 rpm -qa tigervnc-server 如果沒有就直接安裝 yum install tigervnc-server*2、修改vncserver的設定檔,配置使用者及解析度 vncserver的設定檔/
Time of Update: 2016-03-10
標籤:環境:CentOS 6.41、安裝相關軟體 yum groupinstall "Desktop" (已安裝案頭的就可以缺略這條命令) yum install xrdp yum install tigervnc-server2、啟動xrdp服務 service xrdp restart3、配置iptables防火牆
Time of Update: 2016-03-09
標籤: --寫在開始--玩Linux,不同的版本會有一些細微區別;so,經常需要查看伺服器版本號碼; --本文--有以下命令可以查看linux伺服器版本號碼:# lsb_release -aLSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarchDistributor ID: CentOSDescription: CentOS release 6.5 (Final)Release: