Time of Update: 2017-01-13
在CentOS系統下,主要有兩種方法設定自己安裝的程式開機啟動。1、把啟動程式的命令添加到/etc/rc.d/rc.local檔案中,比如下面的是設定開機啟動httpd和記錄開機時間。 代碼如下複製代碼 #!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you
Time of Update: 2017-01-13
沒想到阿里雲的主機居然沒有swap分區,難不成是為了讓你買大記憶體的主機?mysql5.6.27在512M的ECS上是跑不起來,這個問題折騰了我半天起初是mysql啟動不報任何錯誤,但就是啟動不起來,在重啟主機後,終於有了報錯資訊。報錯是分配記憶體出錯,如下:2015-10-12 15:18:23 1773 [Note] InnoDB: Initializing buffer pool, size = 128.0MInnoDB: mmap(137363456 bytes) failed;
Time of Update: 2017-01-13
SFTP是 Secure File Transfer Protocol 的縮寫,安全檔案傳送協議。可以為傳輸檔案提供一種安全的加密方法。sftp 與 ftp 有著幾乎一樣的文法和功能。SFTP 為 SSH的一部分,是一種傳輸檔案至 Blogger 伺服器的安全方式。其實在SSH軟體包中,已經包含了一個叫作SFTP(Secure File Transfer
Time of Update: 2017-01-13
昨天手上正好有一台閒置伺服器,所以搭建了VPN,系統為centos 6.5 X64的,搭建PPTP類型。順帶記錄下,除除草。。。操作步驟如下:1、安裝PPP及PPTPD相關軟體安裝命令如下:yum install -y pppyum clean allyum makecacheyum -y install pptpd以上命令分別執行,看到提示成功即可。2、配置PPTP直接按照下方命令逐步進行即可:vi /etc/pptpd.conf將該檔案中的:#localip
Time of Update: 2017-01-13
步驟1:安裝所需的包首先我們需要確保在您的系統上已經安裝了所需的包。在編譯Git原始碼之前,使用以下命令安裝所需的包!# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel # yum install gcc perl-ExtUtils-MakeMaker步驟2:下載並編譯Git原始碼# cd /usr/src # wget
Time of Update: 2017-01-13
Linux的特點 1) 免費、開源 2) 支援多線程/多使用者 3) 安全性好 4) 對記憶體和檔案管理優越 關機重啟 &n
Time of Update: 2017-01-04
標籤:oracle資料庫:http://down.51cto.com/data/2277765 Oracle資料庫使用時,因為不能上下翻頁之前的命令,非常不方便。所以安裝“rlwrap”來解決。650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/8C/72/wKiom1hsq5-B4X-RAAAZjtGDNlY159.png-wh_500x0-wm_3-wmp_4-s_3912229572.png" title="oracle_28
Time of Update: 2016-12-28
標籤:share config 依賴包 伺服器 get enable centos服務 python3 log 在CentOs
Time of Update: 2017-01-09
標籤:dmi etc 重啟 min 擴充 rest ber extension mini yum install libc-client-devel.x86_64(如果不行就
Time of Update: 2017-01-07
標籤:連網 串連 nat模式 ping不通 服務 windows vmnet win style 這兩天需要配置ftp伺服器,可是虛擬機器在nat模式下死活連不上外網,主機能夠通過該ssh與虛擬
Time of Update: 2017-01-07
標籤:樣本 退出 注釋 config image 需要 編輯模式 service etc 安裝Centos系統,查看網路設定。輸入命令:ifconfig 127.0.0.1要開啟網路進
Time of Update: 2017-01-01
標籤:path 使用 rtt 百度 arch dt.jar curl jdk nbsp 我是根據右邊連結進行安裝的
Time of Update: 2016-12-25
標籤:ica lin path rpm cer jre java_home pat alt 1.下載相應版本JDK:wget --no-check-certificate
Time of Update: 2016-12-20
標籤:teamview complete art 並且 his .com .net alt sdn 1.下載teamview centos版本,本人喜歡tar.gz版本,但是官網只有rpm版本,
Time of Update: 2016-12-20
標籤:centos release note 源碼說明: 所有centos
Time of Update: 2016-12-19
標籤:安裝 pac stand user question samba伺服器 pack rect 儲存 1背景轉Linux剛剛1年,vim操作還不能應對工程代碼,之前一直都是Gnome案頭 +
Time of Update: 2016-12-16
標籤:centos ice back ipv6 boot 重啟 work down 1.5 一、網路設定 1.IP設定
Time of Update: 2016-12-13
標籤:tomcat最近項目上線部署的時候,發現一個問題。Tomcat在啟動過程中耗費了很長的時間。查看日誌,發現耗時最長的地方是:INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,693,
Time of Update: 2016-12-13
標籤:centos7 log core Centos7週期性任務日誌rotation、過濾和core壓縮的實現1.centos7中cron指令碼及其呼叫指令碼的實現樣本[[email protected]cron.d]# pwd/etc/cron.d[[email protected]cron.d]# cat syslog#Run mysys activity
Time of Update: 2017-01-04
解決CentOS之——"/proc/sys/net/ipv4/ip_forward" E667: Fsynvi /etc/sysctl.conf把net.ipv4.ip_forward = 0改成net.ipv4.ip_forward = 1如果此檔案中沒有這個選項則將其添加上就行。然後執行命令:#sysctl -p使其生效。[plain]view