原创 Python學習筆記

Python 筆記1.       函數代碼中的Pass可以視作佔位符,以便讓代碼先能運行起來。2.       編碼:a.       ASCII 編碼:只包含英文字母、數字和一些符號。b.       Unicode編碼:把所有語言都統

原创 Python學習筆記

Python 筆記1.       函數代碼中的Pass可以視作佔位符,以便讓代碼先能運行起來。2.       編碼:a.       ASCII 編碼:只包含英文字母、數字和一些符號。b.       Unicode編碼:把所有語言都統

原创 Ubuntu ssh: Could not resolve IP address.

the error happended when running '#ssh name@ip:port' But i fixed it to run '#ssh name@ip -p port'

原创 安裝使用Git

安裝git#apt-get install git配置git用戶名#git config –global user.name GIT-NAME配置git郵箱#git config –global user.email email-add@

原创 安裝Python, Pip, Virtualenv

1.安裝deb包#apt-get -y update#apt-get -y upgrade#apt-get -y install build-essential /這個包可以批量安裝Python在Ubuntu上進行構建時所需的全部工具(gc

原创 shell雜記

Shell "$(commands)" = "`commands`"2.''單引號中沒有變量置換的功能3.“”雙引號中具有變量置換的功能4.find .... > file01 2>&1   標準輸出和錯誤共存一文件 (&1代表1通道)5.

原创 我的友情鏈接

51CTO博客開發

原创 centos7和centos6的區別

CentOS 7 vs CentOS 6的不同(1)桌面系統[CentOS6] GNOME 2.x[CentOS7] GNOME 3.x(GNOME Shell) (2)文件系統[CentOS6] ext4[CentOS7] xfs (3)

原创 CentOS 6和CentOS 7命令區別

From  http://www.cnblogs.com/bethal/p/5945026.html (1)桌面系統[CentOS6] GNOME 2.x[CentOS7] GNOME 3.x(GNOME Shell)(2)文件系統[Cen

原创 centos7和centos6的區別

CentOS 7 vs CentOS 6的不同(1)桌面系統[CentOS6] GNOME 2.x[CentOS7] GNOME 3.x(GNOME Shell) (2)文件系統[CentOS6] ext4[CentOS7] xfs (3)

原创 管理郵件傳輸

域‘用戶’間的電子郵件轉發不需經過邊緣服務器,只通過中心服務器進行路由即可 一,郵件傳輸和路由概述         郵件路由是指組織內的郵件服務器之間以及和組織外的其他服務器之間的傳遞路徑;         當組織內有中心服務器和邊緣傳輸服

原创 Nginx 生成公鑰和私鑰

#openssl genrsa -des3 -out server.key 1024#openssl req -new -key server.key -out server.csr

原创 CentOS 6和CentOS 7命令區別

From  http://www.cnblogs.com/bethal/p/5945026.html (1)桌面系統[CentOS6] GNOME 2.x[CentOS7] GNOME 3.x(GNOME Shell)(2)文件系統[Cen

原创 我的友情鏈接

51CTO博客開發

原创 STP協議

       隨着交換網絡環路的產生和對網絡的危害,STP協議爲之誕生,它是通過將物理上存在的交換網絡,通過一種特定的算法,進而堵塞一個Port,由此從邏輯上形成一個樹狀結構的網絡。        工作原理:1),生成樹算法(STA):