Time of Update: 2014-10-24
標籤:linux核心最佳化 tcp參數最佳化 話不多說,直接上線上伺服器的sysctl.conf檔案,當然,這是前輩大牛的功勞:#---核心最佳化開始--------# 核心panic時,1秒後自動重啟kernel.panic = 1# 允許更多的PIDs (減少滾動翻轉問題); may break some programs 32768kernel.pid_max = 32768#
Time of Update: 2014-10-24
標籤:io ar sp 檔案 on 問題 代碼 bs linux 動態庫*.so在linux下用c和c++編程時經常會碰到,最近在網站找了幾篇文章介紹動態庫的編譯和連結,總算搞懂了這個之前一直不
Time of Update: 2014-10-22
標籤:http ar ad ef linux as 安裝 tt load 或者直接下載:i386系統wget
Time of Update: 2014-10-21
標籤:blog http ar 使用 sp 檔案 資料 2014 on (1):準備好Linux主機環境,安裝好開發工具鏈(說明低版本gcc的安裝過程): 本次實驗我使用的主機環境是U
Time of Update: 2014-10-22
標籤:style blog color os sp 檔案 div on log 管理幾台不同的伺服器,要上線,發布,測試,每次輸入 ip 感覺好傻。在 ~/.ssh/ 目錄下如果有config
Time of Update: 2014-10-22
標籤:linux 服務管理 sevice 用途說明service命令用於對系統服務進行管理,比如啟動(start)、停止(stop)、重啟(restart)、查看狀態(status)等。相關的命令還包括chkconfig、ntsysv等,chkconfig用於查看、設定服務的運行層級,ntsysv用於直觀方便的設定各個服務是否自動啟動。service命令本身是一個shell指令碼,它在/etc/
Time of Update: 2014-10-23
標籤:des style blog http io ar for sp 2014 The 8253 was used in IBM PC compatibles since their
Time of Update: 2014-10-21
標籤:style blog color io ar for sp div on 1.格式 uniq [OPTION]... [INPUT [OUTPUT]]2.命令 -c,
Time of Update: 2014-10-22
標籤:io os ar sp on art bs ef 時間 此處有兩台機器rac01和rac02,現在要將rac02的時間和rac01保持一致---即將rac01和rac02保持同步。1.
Time of Update: 2014-10-21
標籤:posix linux核心 系統調用 非強制中斷 系統調用列表 參考:《Linux核心設計與實現》0 摘要linux的系統調用過程:層次如下:使用者程式------>C庫(即API):INT 0x80
Time of Update: 2014-10-21
標籤:style os sp 資料 on linux size 記憶體 socket 一
Time of Update: 2014-10-20
標籤:io ar strong sp on 代碼 ad ef linux 最近在學習《Beginning Linux Programming》4th Edition的時候,將下面的例子代碼鍵入
Time of Update: 2014-10-22
標籤:style http color os ar div on ef linux linux禁ping和允許ping的方法系統內容Centos5一、系統禁止ping [[email
Time of Update: 2014-10-24
Linux下Bash入門學習筆記,linuxbash學習筆記學習好shell編程是很有用的,可以使用shell指令碼輕巧地完成有趣的工作。本文地址:http://www.cnblogs.com/yhLinux/p/4047516.html Bash執行個體,作者:Daniel Robbins (drobbins@gentoo.org), 總裁兼 CEO, Gentoo Technologies,
Time of Update: 2014-10-24
Ubuntu安裝網路攝影機驅動Ubuntu安裝網路攝影機驅動a) 請根據核心版本和網路攝影機類型從http://mxhaard.free.fr/download.html選擇下載最新驅動,該驅動支援市面上大多數網路攝影機。b) 編譯、安裝連同裝載網路攝影機驅動c) # tar xvzf gspcav1-20061216.tar.gz# cd gspcav1-20061216# make# make install# modprobe
Time of Update: 2014-10-23
linux處理序間通訊-有名管道(FIFO),linuxfifo有名管道(FIFO)具名管道也被稱為FIFO檔案,是一種特殊的檔案。由於linux所有的事物都可以被視為檔案,所以對具名管道的使用也就變得與檔案操作非常統一。(1)建立具名管道 用如下兩個函數中的其中一個,可以建立具名管道。 #include <sys/types.h>#include <sys/stat.h>int mkfifo(const char *filename, mode_t
Time of Update: 2014-10-23
Freetype 安裝時提示 make: Nothing to be done for `unix',freetypedone [Software-Freetype] Freetype 安裝時提示 make: Nothing to be done for `unix' 官網下載的第三方軟體包,編譯安裝會報以下錯誤,解決辦法如下: 第一種:make: Nothing to be done for `all'
Time of Update: 2014-10-21
xmanger圖形化登陸遠程伺服器,xmanger圖形化登陸 猶豫網上的資料比較雜,經過本人整理實際操作驗證,保證ok 本人的伺服器系統為centos5.8下面的都是centos伺服器上的操作,需要簡單的配置下:win用戶端使用xmanger軟體;首先是服務端已經安裝了圖形化案頭; #yum groupinstall "GNOME Desktop Environment" #yum groupinstall “X Window System&
Time of Update: 2014-10-21
在CentOS系統中臨時禁止一個使用者在CentOS系統中如何臨時禁止一個使用者,是臨時的不讓這個使用者使用Linux系統,而不是刪除它。可以通過下面兩種辦法實現:1、只把使用者的記錄從/etc/passwd檔案中去掉,僅保留其主目錄和其他檔案不變;2、在/etc/passwd檔案(或/etc/shadow)中,關於該使用者的passwd域的第一個字元前面加上一個“*”號即可。注意,這隻是禁止某個使用者。如果要刪除一個使用者,需要刪除的項包括:1、/etc/passwd檔
Time of Update: 2014-10-20
CentOS7改變目標(運行層級)1.使用命令切換運行層級/目標# systemctl isolate multi-user.target //切換到運行層級3,該命令對下次啟動無影響,等價於telinit 3# systemctl isolate runlevel3.target //切換到運行層級3,該命令對下次啟動無影響,等價於telinit 3# systemctl isolate graphical.target //切換到運行層級5,該命令對下次啟動無影響,等價於telinit 5#