June 2012
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

June 2012
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Hard Disk Specs details on Linux

Hard Disk Specs details on Linux

Open the terminal and type the command: # hdparm -I /dev/sda OR $ sudo hdparm -I /dev/sda

[root@localhost thermal_zone]# hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media Model Number: VBOX HARDDISK Serial Number: VB81a9afe9-f59293fa Firmware Revision: 1.0 Standards: Used: ATA/ATAPI-6 published, ANSI INCITS 361-2002 Supported: 6 5 […]

Windows Shortcut commands

Windows Shortcut commands

Start Menu >> Run

Accessibility Controls – access.cpl Add Hardware Wizard – hdwwiz.cpl Add/Remove Programs – appwiz.cpl Administrative Tools – control admintools Automatic Updates – wuaucpl.cpl Bluetooth Transfer Wizard – fsquirt Calculator – calc Certificate Manager – certmgr.msc Character Map – charmap Check Disk Utility – chkdsk Clipboard Viewer – clipbrd […]

Commands to Monitor Servers (CENTOS AND REDHAT)

Commands to Monitor Servers (CENTOS AND REDHAT)

These commands are mainly for rpm based linux servers like CentOS etc..

May be some commands works in ubuntu servers etc…

Command to find out total established connections, closing connection, TIME_WAIT and much more.

netstat -nat | awk ‘{print $6}’ | sort | uniq -c […]

Remove APF Firewall

How to Remove APF Firewall

# ser­vice ipt­a­bles stop

# chk­con­fig apf off

# /bin/rm –rfv /etc/apf

# /bin/rm –fv /etc/cron.daily/fw

# /bin/rm –fv /etc/init.d/apf

# ipt­a­bles –L –n

Tomcat listen on Server IP Address

Tomcat listen on Server IP Address

Connector Connector address=”192.168.1.10″ port=”8080″ protocol=”HTTP/1.1″ maxHttpHeaderSize=”8192″ maxThreads=”300″ minSpareThreads=”25″ maxSpareThreads=”75″ enableLookups=”false” redirectPort=”8443″ acceptCount=”100″ connectionTimeout=”20000″ disableUploadTimeout=”true”

Connector executor=”tomcatThreadPool” port=”80″ protocol=”HTTP/1.1″ connectionTimeout=”20000″ redirectPort=”8443″ address=”192.168.2.15″

Change Tomcat default port to 80 and 443

Change Tomcat default port to 80 and 443

Tomcat by default runs on port number 8080, However there is high chance get a port conflict with others program. Sometime we just need to change the Tomcat port number. Steps of changing the Tomcat Port

1) Locate server.xml in {Tomcat installation folder}\ conf \

2) […]