
System Mgmt
文章平均质量分 56
CPP_CHEN
这个作者很懒,什么都没留下…
展开
-
Linux系统启动过程剖析过程
Linux启动过程的剖析能帮助那些想深入学习Linux用户建立一个相关Linux启动过程的清晰概念,进而可以进一步研究Linux接下来是如何工作的 Linux启动过程如下:当用户打开PC的电源,BIOS开机自检,按BIOS中设置的启动设备(通常是硬盘)启动,接着启动设备上安装的引导程序lilo或grub开始引导Linux,Linux首先进行内核的引导,接下来执行init程序,i转载 2011-12-30 10:44:00 · 619 阅读 · 0 评论 -
Linux下高并发socket最大连接数所受的各种限制
Linux下高并发socket最大连接数所受的各种限制12/06. 20131、修改用户进程可打开文件数限制在Linux平台上,无论编写客户端程序还是服务端程序,在进行高并发TCP连接处理时,最高的并发数量都要受到系统对用户单一进程同时可打开文件数量的限制(这是因为系统为每个TCP连接都要创建一个socket句柄,每个socket句柄同时也是一个文件句柄)。可使用uli转载 2013-12-11 12:11:43 · 793 阅读 · 0 评论 -
Set up SSH public authentication from host to Brocade switch
Setup public authentication for admin (host -> switch passwordless)1) Run "sshutil importpubkey" command to import public key from host into switchushpwbmscsp100-san05a:admin> sshutil showuse原创 2013-10-31 16:29:34 · 1920 阅读 · 0 评论 -
Set up SSH public authentication from host to Cisco MDS switch
Steps:1) Generate ssh key pairs on host.2) Logon Cisco MDS switch as "root" or "admin", run NJRDC9506# config t Enter configuration commands, one per line. End with CNTL/Z. NJRDC95原创 2013-10-31 10:29:00 · 1837 阅读 · 0 评论 -
Linux perf monitor tools
1 - top --> CPU usage, memory usage, swap memory, Cache, Buffer Size, PID process user commands.2 - vmstat -> Virtual Memory Statistics3 - lsof -> open files list4 - tcpdump-i eth0 -> Packet Ana原创 2013-06-11 09:37:17 · 1224 阅读 · 0 评论 -
ssh remote execute command without password
1) Gen keyC:\Ken\Perl\Learning>ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/c/Users/chenk6/.ssh/id_rsa):[Enter]Enter passphrase (empty for no原创 2012-07-23 14:59:52 · 2366 阅读 · 0 评论 -
Cool tools/binaries you need to know on Linux
1) netstat2) ifconfig3) lsof4) sysstat/iostat5) top6) grep7) awk/gawk8) sed9) chkconfig10) log rotate11) scp12) rsync13) screen14) tup15) ps 16) ls原创 2013-05-05 20:57:20 · 691 阅读 · 0 评论 -
config group quota for smb shares in Ubuntu
1) sudo vim /etc/fsftabEdit the corresponding filesystem entry as below (add "grpquota"):/dev/mapper/lpfs-root / ext4 grpquota,errors=remount-ro 0 12) Remount the file systemsudo moun原创 2013-01-09 17:46:32 · 849 阅读 · 0 评论 -
Windows - "Multiple connections to a server or shared resource by the same user..."
After created a new smb share directories in Ubuntu and trying to access in Windows, it complains as below :After running the following command, I can access this new share, but I lost the previou原创 2013-01-09 14:58:05 · 4370 阅读 · 0 评论 -
Extend ext3 filesystem for RH5 Virtual Machine running in vCluster
1) Add more disk space to RH VM by vSphere a. Power off the RH VM b. Click 'Edit Virtual Machine Setting' in the panel of vSphere c. 'Hardware -> Hard Disk 1 -> Increase the provisione原创 2012-12-07 13:40:36 · 741 阅读 · 0 评论 -
After clone Redhat machine by using vSphere, can't reach the new machine
After cloning the redhat machine by using vSphere and configure the ip address by using ifconfig, the new machine is not accessible by public network, but can be accessible in the intranet of the VM c原创 2012-11-14 20:42:28 · 772 阅读 · 0 评论 -
Watchdog on Linux
On Linux, if we would like to restart our process when it is down without expect, we can achieve this goal by1) As a service, can be used as 'service start/stop program' etcWrite a script which原创 2012-10-14 10:39:36 · 543 阅读 · 0 评论 -
Script which ssh login without entering password
We can use :(1) Perl Net::OpenSSH module(2) Perl Expect module(3) Python pexpect modulehttp://www.ibm.com/developerworks/cn/linux/l-cn-pexpect1/index.htmlhttp://pexpect.sourceforge.net/p原创 2012-08-31 10:42:16 · 819 阅读 · 0 评论 -
Install Apache 2.4.2 on Ubuntu 12.04 LTS
sudo apt-get install build-essentialsudo apt-get build-dep apache2wget http://apache.mirrors.pair.com/httpd/httpd-2.4.2.tar.gztar -xzvf httpd-2.4.2.tar.gz && cd httpd-2.4.2sudo ./configure --p原创 2012-08-16 10:57:58 · 1849 阅读 · 0 评论 -
Env setup for MAC OS X
1) Install package management tool "Homebrew" for MAChttp://brew.sh/2) Configure the Terminal's background/foreground and text colors. Default Foreground: 255/255/255Default Backgrou原创 2014-01-08 18:57:57 · 1594 阅读 · 0 评论