Time of Update: 2016-09-03
標籤:一、安裝前提(準備資料檔案、安裝其他依賴的軟體)1、準備資料存放的目錄[[email protected] ~]# fdisk /dev/sdb (fdisk /dev/sdb 建立一個邏輯分區/dev/sdb1)Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabelBuilding a new DOS disklabel with disk
Time of Update: 2016-08-31
標籤:centos 安裝PGSQLCentOS下yum安裝PostgreSQL目錄 1 Configure YUM repository2 Install PGDG RPM file3 Install PostgreSQL4 配置5 Initialize6 Startup具體步驟:1. vim /etc/yum.repos.d/CentOS-Base.repo[base] and [updates] sections添加:exclude=postgresql*2.Install PGDG
Time of Update: 2016-09-01
標籤:一、安裝前的準備工作1、yum update #更新系統2、yum install gcc gcc-c++ autoconf automake cmake bison m4 libxml2 libxml2-devel libcurl-devel libjpeg-devel libpng-devel libicu-devel
Time of Update: 2016-08-24
標籤:1.查看當前本地倉庫mysql(存在不一定是本機已安裝的意思,可以理解成一個資源檔)rpm -qa | grep mysql2.移除yum -y remove mysql-libs* 3.開啟mysql的官網 http://dev.mysql.com/downloads/repo/yum/ 4.根據需要選擇mysql版本,這裡我選擇第二個 5.無需註冊,地址就在這個頁面上 6.拷貝這個地址 ,在終端下輸入wget
Time of Update: 2016-08-30
標籤:前段時間我把朋友幫忙裝的ubuntu15.10給玩壞了=。=雖然後來自己在另一台電腦上成功裝了ubuntu16.04和win7雙系統,但是。。。這台電腦也要裝個別的系統才比較。。不空。所以決定裝個centOS7玩一下(微笑)。電腦配置如下:然後開始準備安裝centOS:(以下只列出參考文章的順序,偷個懶)1.首先下載centOS7,地址如下https://www.centos.org/download/,我選擇的是DVDISO。2.插入隨身碟,開啟軟碟通(ultraISO)開啟檔案-寫入硬
Time of Update: 2016-09-06
標籤:下載源碼wget http://nginx.org/download/nginx-1.10.1.tar.gzgit clone https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng.git準備依賴的應用和庫yum -y install gccyum -y install PCREyum -y install pcreyum -y install pcreyum -y install pcre-develyum -y
Time of Update: 2016-09-06
標籤:centos7 自訂啟動服務Centos 系統服務指令碼目錄:/usr/lib/systemd/ 有系統(system)和使用者(user)之分,如需要開機沒有登陸情況下就能啟動並執行程式,存在系統服務(system)裡,即: /lib/systemd/system/ 反之,使用者登入後才能啟動並執行程式,存在使用者(user)裡服務以.service結尾。這邊以nginx開機運行為例1.建立服務檔案[html] view
Time of Update: 2016-09-06
標籤:設定檔 伺服器 光碟片 軟體 一, 磁碟櫃和雙機做叢集,磁碟櫃配置完後通過SAS線串連伺服器,需要配置多重路徑.方法如下:磁碟櫃有內建光碟片裡面有 device-mapper-multipath 軟體,或通過yum直接安裝1, yum install device-mapper-multipath
Time of Update: 2016-09-06
標籤: LVM概念:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------它是Linux環境下對磁碟分割進行管理的一種機制,LVM是建立在硬碟和分區之上的一個邏輯層,來提高磁碟分割
Time of Update: 2016-09-06
標籤:1、ifconfig命令找不到 解決方案:安裝net-tools.x86_64工具包 yum install net-tools.x86_642、iptables無法使用 解決方案:yum install iptables-services vi /etc/sysconfig/iptables #配置防火牆參數# sample configuration for iptables service# you can edit this
Time of Update: 2016-09-02
標籤: 關閉防火牆 1、查看防火牆狀態 service iptables status 2、關閉,但開機後又會開啟 service iptables stop 3、查看防火牆開機啟動狀態 chkconfig iptables --list 4、永久關閉 chkconfig iptables off 想說的是,因為防火牆是一個服務,那麼服務,可能會隨開機自動啟開。所以,一般永久關閉。=======================
Time of Update: 2016-08-16
標籤:系統最佳化 shell optimize centos 檢測 指令碼 緊承上文《CentOS
Time of Update: 2016-08-16
標籤:1.下載wget https://www.openssl.org/source/openssl-1.0.2h.tar.gz2.解壓tar zxf openssl-1.0.2h.tar.gzcd openssl-1.0.2h3.安裝./config shared
Time of Update: 2016-08-15
標籤:安之前看了這篇文章,http://www.osyunwei.com/archives/2307.html,然後就開始了。首先下載ultraiso,官網下載的,將centos的iso鏡像寫到u盤上。之後沒聽上面那篇網文的,什麼刪檔案,又要把iso檔案拷貝進去,匪夷所思。然後把u盤插到我的老xps機器上,啟動機器,然後按F12選u盤。然後CentOS的安裝選項出來了,選了語言後繼續,裡面有問安裝鏡像是什麼類型的媒體(What type of media contains the
Time of Update: 2016-08-15
標籤:[[email protected] ~]#ls /media/dvd/
Time of Update: 2016-08-12
標籤:virtualbox centos安裝增強工具和問題詳解VirtualBox 大家都習慣性把它簡稱為 Vbox ,比 VM 的體積小、開源、速 度快。不過在使用 VirtualBox 在虛擬機器中安裝 CentOS 之後,不能直接運行安裝好 VirtualBox 的用戶端增強功能,需要簡 單地配置一下才能在 CentOS 虛擬機器中正常安裝 VirtualBox 用戶端增強功能。下面就看一下 OwnLinux 為大家提供的 “為 CentOS 5.5 虛擬機器安裝
Time of Update: 2016-08-12
標籤:更改centos 7 的預設啟動為命令介面修改預設啟動從圖形介面到命令列介面的方法: #rm -rf etc/systemd/sytstem/default.target (刪除存在的軟連結) #ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target (重建立立軟串連指向到“multi-user.target”
Time of Update: 2016-08-12
標籤:轉寄請註明本文連結準備工作:VMware-workstation (網路統一設定為橋接)Xshell或者putty (方便在Windows下進行操作,複製粘貼命令方便,更推薦用第一個,以後不需要輸入IP地址和帳號密碼了)FileZilla
Time of Update: 2016-08-11
標籤:centos samba搭建 centos搭建samba伺服器Samba是在Linux和UNIX系統上實現SMB協議的一個免費軟體,由伺服器及用戶端程式構成。SMB(Server Messages
Time of Update: 2016-08-11
標籤:centos 7如何安裝parallels tools 首先說說我失敗經曆,環境:Parallel Desktop 10 , centos 7.系統安裝好後,安裝Parallels Tools 圖形介面安裝提示成功,重啟後無法進入案頭。命令安裝也是如此!網上找了多種方案皆是失敗,還好用了快照功能,省得重新安裝系統! 解決方案:Parallel Desktop升級到11 .centos