Time of Update: 2016-04-11
標籤:vi /etc/sysconfig/iptables #編輯防火牆設定檔# Firewall configuration written by system-config-firewall# Manual customization of this file is not recommended.*filter:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [0:0]-A INPUT -m state --state
Time of Update: 2016-04-10
標籤:在CentOS 7上構建RAID5、LVM和SAMBA伺服器(5)——架設SAMBA伺服器6. 架設SAMBA伺服器6.1. 預備本節的任務是配置SAMBA服務,共用/home/shared目錄,使指定的Windows使用者可以遠端存取該共用。首先要在CentOS上運行yum命令安裝SAMBA服務:yum install samba安裝之後,執行systemctl命令來啟動smb和nmb兩個samba的守護進程。圖37 啟動SAMBA6.2. 修改smb.conf檔案修改/etc/smb.
Time of Update: 2016-04-06
標籤:這幾天總是被一個問題困擾著,那就是base64的加密,在centos server上無法解密。經過重複測試才發現,原來是由於centos 系統沒有GB2312庫導致的。加密端是在ASP.NET中處理的,解密是在centos 下使用java。ASP.NET預設採用的是GB2312字元集,所以,相應的解密也必須使用GB2312。為了成功解析,所以必須讓centos 也支援GB2312。終於問題解決。以下將centos
Time of Update: 2016-04-05
標籤:git 版本控制 gitlab 編譯 源碼 centos 編譯安裝 github 依賴環境介紹:系統版本:CentOS 6.4軟體倉庫:yum-Base,yum-EpelGit版本:git 2.8.1安裝方式:源碼編譯刪除原yum源中的git 1.7版本# yum remove git -y2.
Time of Update: 2016-04-05
標籤:SSL認證是數位憑證的一種,類似於駕駛證、護照和營業執照的電子副本。因為配置在伺服器上,也稱為SSL伺服器憑證。SSL 憑證就是遵守 SSL協議,由受信任的數位憑證頒發機構CA(如GlobalSign,wosign),在驗證伺服器身份後頒發,具有伺服器身分識別驗證和資料轉送加密功能。採用1024位RSA非對稱式加密演算法進行加密。 1.查看是否安裝httpd和SSL(如果有就可以進行下一步) [root@localhost ~]# rpm -qa |
Time of Update: 2016-04-05
標籤:一.本系列分為6部分 1.Centos 7.0 下安裝 Zabbix server 伺服器的安裝及 監控主機的加入 2.Centos 6.5 下安裝 Zabbix server 伺服器的安裝及 監控主機的加入 3.zabbix server的Discover功能,實現zabbix agent 大批量的自動添加,並連結到指定的模版 4.zabbix 警示方式之 郵件警示 5.zabbix 警示方式之 公眾號警示 6.zabbix server 端的最佳化工作(解決mysql
Time of Update: 2016-04-05
標籤:linux 作業系統 centos 開機流程 CentOS開機流程詳解一、linux開機流程:650) this.width=650;" src="http://s5.51cto.com/wyfs02/M00/7E/80/wKiom1cCW7vjU_hWAAC8KD1ykwc014.png" title="啟動流程2.png" width="700" height="324"
Time of Update: 2016-04-02
標籤:Mount DVD on CentOSneed to mount CD/DVD on CentOS Temporarily or Permanently? Here’s the Process Us Linux Pro’s Follow:Login to a terminal window as rootfrom here to ls /devas you can see, there’s alot of stuff here (usually
Time of Update: 2016-03-29
標籤:不要使用yum 安裝openjdk,他媽的就是一坑貨 首先到官網下載jdk,http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html,我下載jdk-7u49-linux-x64.tar.gz,下載到主目錄(/home)然後解壓 tar xvf jdk-7u49-linux-x64.tar.gz接著環境變數配置(sudo
Time of Update: 2016-03-28
標籤:The system localeare used to control the language setting of system services and the UI before the user logs in. How Do I change the default system locale in CentOS 7 linux system? How to check the current locate setting
Time of Update: 2016-03-27
標籤:使用者名稱 寄存器 儲存空間 記憶卡 電腦電源
Time of Update: 2016-03-23
標籤:centos lamp#!/bin/bashyum -y install gcc-c++ library ncurses-devel libxml2-devel libtomcrypt-devel libtool libtool-ltdl-devel bzip2-develcd /tmp&&tar -zxf httpd-2.2.11.tar.gz&&cd httpd-2.2.11&&./configure
Time of Update: 2016-03-22
標籤:正在使用aliyun主機,運行centos6.4 64位系統,安裝lamp環境後進行網域名稱綁定。設定檔如下:<VirtualHost *:80>DocumentRoot /var/www/htmlServerName 120.24.54.xxx</VirtualHost><VirtualHost *:80> DocumentRoot /var/www/html/domain1 ServerName domain.com
Time of Update: 2016-03-21
標籤:1. 安裝svn用戶端yum install subversion -y2. svn用戶端常用命令#2.1 將檔案checkout到本地目錄svn checkout remote_path local_path //簡寫:svn co#2.2 往版本庫中添加新的檔案svn add file.php#2.3 將改動的檔案提交到版本庫svn commit -m "add test.php" test.php //簡寫:svn ci#2.4 加鎖/解鎖svn lock -m "lock
Time of Update: 2016-03-19
標籤:CentOS 6.7 系統在執行完刪除更新包的全部操作之後,yum remove -y Deployment_Guide-en-US finger cups-libs cups ypbind && yum remove -y bluez-libs desktop-file-utils ppp rp-pppoe wireless-tools irda-utils && yum remove -y sendmail* samba*
Time of Update: 2016-03-17
標籤:問題:在項目提交時候不寫日誌,在後期查看修改曆史時需要對比版本才知道提交原因。解決方案:在svn服務端通過hooks在提交時強制要求寫日誌。#!/bin/shREPOS="$1"TXN="$2" SVNLOOK=/usr/bin/svnlook LOGMSG=`$SVNLOOK log -t "$TXN" "$REPOS" | grep "[a-zA-Z0-9]" | wc -c`if [ "$LOGMSG" -lt 10 ];then echo
Time of Update: 2016-03-24
解決CentOS網卡重啟失敗方法檢查連網設定是否正確命令:ip addr配置中關閉網路管理命令:chkconfig NetworkManager off配置中開啟網路管理命令:chkconfig network on服務中關閉網路管理命令:service NetworkManager stop服務中開啟網路管理命令:service network start在最後一步servic network start時失敗,出Job for network.service failed.需要:cd
Time of Update: 2016-04-02
centos 6.6下搭建lampcentos 6.6下搭建lamp步驟如下 apache安裝 mysql安裝 php安裝 問題及解決方案 安裝apache相關問題 安裝mysql相關問題
Time of Update: 2016-03-24
CentOS下找不到eth0裝置的解決方案問題描述: ifconfig命令無法找到eth0裝置,且/etc/sysconfig/network-scripts/中只有ifcfg-lo檔案,而沒有ifcfg-eth0。臨時解決方案一: 使用命令ifconfig eth0 192.168.1.x可以正常設定eth0的IP,該方法僅為臨時處理辦法,系統重啟後即失效了。永久解決方案二: 1、在/etc/sysconfig/network-scripts/目錄下建立ifcfg-eth0檔案;
Time of Update: 2016-03-24
解決CentOS 6更改系統時間後無法啟動的辦法系統內容:CentOS 6.5問題複現:將當前系統時間設定為前幾天的某個時間,然後重啟系統。一、問題分析:從上面紅框處的提示可知:/dev/sda2:Superblock last mount time(Mon Jan 13 04:47:28 2014,now = Fri Jan 10 11:02:20 2014) is in the future.大概意思是sda分區最後一次掛載時間(Mon Jan 13 04:47:28