Time of Update: 2014-12-01
標籤:socket linux在對socket的串連隊列的定義處理上個人覺得是有點坑爹的,閑話少說,直接開講。建立socket串連的過程: 1.client發syn請求給server 2.server收到後把請求存放在SYN
Time of Update: 2014-12-02
標籤:linux 連接埠佔用 sock_cloexec close-on-exec fd_cloexec 轉載請註明出處:簾卷西風的專欄(http://blog.csdn.net/ljxfblog)前幾天寫了一篇部落格,講述了連接埠佔用情況的查看和解決。關於linux系統連接埠查看和佔用的解決方案大部分這種問題都能夠解決,在文章
Time of Update: 2014-12-02
標籤:blog http ar on 2014 log linux size tt 分類:源碼包(指令碼安裝包,類似於windows安裝包)二進位包(rpm包,系統預設包)命名規則
Time of Update: 2014-12-03
標籤:linux xshell linux亂碼 亂碼 i18n 使用Xshell查看tomcat即時日誌時,出現中文亂碼,但是記錄檔裡的中文不是亂碼的,可能有兩個原因,可能系統的i18n沒設定支援中文,或是Xshell的編碼格式不支援中文,解決辦法如下:1、配置i18n系統檔案vi
Time of Update: 2014-12-03
標籤:dnat snat linux iptables 首先說明SNAT和DNAT都大致相當於網路中的NAT和PAT協議,本實驗是通過用一台linxu虛擬機器來類比內網網關,並且利用linux上的iptables防火牆策略,達到地址轉換和連接埠映射的目的。 SNAT實驗結構: 真機----------------(v1)閘道伺服器s1(v2)--------------(v2
Time of Update: 2014-12-03
標籤:linux msbuild vs2012 快樂蝦http://blog.csdn.net/lights_joy/歡迎轉載,但請保留作者資訊因為馬上要進入Debugger的研究,為了方便對GDB的學習,先添加對虛擬機器中的x86 linux的平台支援。按照先前的做法,很容易就看到結果了:突然發現,原來的修改註冊表似乎並不是必須的!!在交叉編譯器參數中直接留空:看編譯結果:搞定!
Time of Update: 2014-12-02
標籤:yum linux yum安裝 svn 安裝svn 安裝完yum源之後,安裝mysql,svn之類的就變得相當簡單,下邊將簡單的用yum安裝svn,關於yum源的配置請參考:http://blog.csdn.net/tjcyjd/article/details/416468891.安裝svnyum -y install
Time of Update: 2014-12-02
標籤:linuxUbuntuWhether you are a new user planning to get your first computer, or someone migrating from Windows or Mac OS X, Ubuntu should be your first choice. It’s extremely easy to install and manage; everything just works out of the box. There
Time of Update: 2014-12-02
標籤:style ar color 使用 sp strong 檔案 on log 作業系統希望使用使用者的概念來限制使用者能夠使用和不能使用哪些資源,組是用來方便組織和系統管理使用者的。使用者和
Time of Update: 2014-12-04
學習Linux筆記(一),學習linux筆記推薦一句話:只要有耐心,任何能乾的人都能成為絕世coder,當然也包括你。學習Linux總結:ubuntu用apt-get管理組件,redhat系用yumLinux分成四部分:linux核心,GNU使用程式,圖形案頭環境,應用軟體。核心有四個功能:程式記憶體管理(使用虛擬記憶體,實體記憶體,交換記憶體),常用指令#cat /proc/meminfo軟體程式管理(有檔案inittabs管理初始化進程),位置/etc/inittabs,命令#ps
Time of Update: 2014-12-04
linux中安裝wine運行windows程式,linuxwinehttp://blog.csdn.net/pipisorry/article/details/41653361Wine的介紹 Wine是Wine Is Not an
Time of Update: 2014-12-04
CentOS7配置最基本的web環境——詭異的iptables因為想試試Sphinx,所以裝了個CentOS7的虛擬機器。前面很簡單,官方下載一個新的鏡像就可以,我用的64位的。安裝好後,ifconfig可以看到ip地址,VMware選擇橋接才可以讓主機串連虛擬機器。root進入系統後,嘗試用主機串連ftp,成功!嘗試http,失敗。於是開始檢查httpd配置,沒發現可疑,最後找到了防火牆,也就是iptables。iptables -A OUTPUT -p tcp --sport 80 -j
Time of Update: 2014-12-03
CentOS下為PHP安裝 IMAP 擴充環境:CentOS 6.5x64PHP-5.4.26[root@www imap]# yum -y install krb5-devel libc-client libc-client-devel[root@www imap]# ln -sv /usr/lib64/libc-client.so /usr/lib/libc-client.so進行PHP軟體擴充目錄[root@www /]# cd /usr/local/src/php-5.4.26/ext/
Time of Update: 2014-12-03
Linux虛擬位址與物理地址的映射關係分析 1. 虛擬空間 0-3G 使用者空間 0x00000000 ~ 0xbfffffff3-4G 核心空間 0xc0000000 ~ 0xffffffff每個使用者進程都有獨立的使用者空間(虛擬位址0-3),而核心空間是唯一的(相當於共用)每個進程的使用者空間用mm_struct描述,即task_struct.mm。2.進程虛擬位址的組織2.1 虛擬空間、使用者空間 struct mm_struct {struct
Time of Update: 2014-12-03
CentOS 6.4下編譯安裝OpenLDAP環境:CentOS 6.4 X64db-4.6.21.tar.gzopenldap-2.4.36.tgzphpldapadmin-1.2.3.zip軟體包下載一、安裝BerkeleyDB# tar zxvf db-4.6.21.tar.gz# cd db-4.6.21/build_unix# ../dist/configure# make# make install# vi /etc/ld.so.conf
Time of Update: 2014-12-03
5個Linux發行版的對比UbuntuWhether you are a new user planning to get your first computer, or someone migrating from Windows or Mac OS X, Ubuntu should be your first choice. It’s extremely easy to install and manage; everything just works out of the box.
Time of Update: 2014-12-03
CentOS配置多網卡匯聚(bonding)有些應用可能最大的瓶頸在於網路的資料轉送(比如某些場所的無盤網路系統),為瞭解釋這一瓶頸問題,多網卡的匯聚技術在此顯神威,匯聚可以理解成多個網卡組成一個並行邏輯網卡,而傳輸的流量正是這些網卡的總和(當然了,還是要取決於你的網卡匯聚模式)Linux 中的匯聚模式有7種,最常用的為0,1,6,最主要介紹這三種模式:0(balance-rr)
Time of Update: 2014-12-03
linux常用命令之檔案收索命令名稱: find 317 find /etc -name iniy 318 find /etc -name servi* 319 find /etc -name init??? 320 find /etc -iname init??? 321 find / -size +204800 #1個資料快是512 位元組 是0.5k 322 find /home -user test 323 find /etc/ -cmin -
Time of Update: 2014-12-03
linux常用命令之檔案處理命令名稱:touch所在路徑:/bin.touch執行許可權:所有使用者 oot@localhost tmp]# touch list.txt[root@localhost tmp]# touch /root/list.txt[root@localhost tmp]# touch program files[root@localhost tmp]# ll總計 52drwxr-xr-x 2 root root 4096 12-01 13:05
Time of Update: 2014-12-03
Ubuntu升級核心Ubuntu 怎麼升級核心本文以原來的核心版本為Linux ubuntu 3.8.0-29-generic升級核心為3.8.81. 首先下載需要升級的檔案, http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8.8-raring/2.