-
Recent Posts
Categories
- android
- apache
- Apt
- background jobs
- backup
- bash
- Centos
- certificates
- change time
- Cisco Networking
- cluster
- command line
- console
- convert vdi to vmdk
- cups
- Database
- dd
- debian packaging
- dpkg
- duel boot
- duel boot linux windows
- EIGRP
- esxi
- Firefox
- Fonts
- GNS3
- gpedit
- grub
- Harddisk
- Health
- http
- Installation
- Iptables
- iscsi
- Java
- jboss
- jndi
- key
- kvm
- ldap
- libvirt
- Linux
- load balance
- Log
- Login
- lxc
- netcat
- network
- NFS
- ntldr
- openldap
- openstack
- openvswitch
- Postgresql
- Qemu
- RDC
- RDP
- RedHat
- Reverse
- Rollback
- ROUTING
- rpm
- Scripting
- Sendmail
- smtp relay
- ssh
- ssl
- terminal server
- Tomcat
- Tunnel
- Ubuntu
- Virtualbox
- vmware
- windows
- X11VNC
Meta
Blogroll
Tools
Archives
- November 2015
- October 2015
- September 2015
- July 2015
- June 2015
- March 2015
- January 2015
- April 2014
- December 2013
- November 2013
- July 2013
- October 2012
- September 2012
- August 2012
- July 2012
- April 2012
- February 2012
- January 2012
- December 2011
- November 2011
- November 2010
- September 2010
- August 2010
- July 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
Daily Archives: September 4, 2009
Tomcat Performance Turning
Enable gzip compression for generated text content HTML and XML content usually compresses extremely well using gzip. Most web and application servers support gzip compression. For example, Tomcat 5 supports the attribute gzip on the element. compression=”on” compressionMinSize=”300″ noCompressionUserAgents=”gozilla, traviata” … Continue reading
Postgresql – Logging SQL query and time for Analysis
Change the following log option in postgresql.conf as log_error_verbosity = default # terse, default, or verbose messages log_duration = on log_line_prefix = ‘%t%d’ # Special values: log_statement = ‘all’ # none, mod, ddl, all
Postgresql Installation through RDP
Postgresql will refuse to install through an RDP section and it will fail with a message below. Failed to run initdb: !128 Please see the logfile in ‘C:program FilesPostgreSQL8.2beta1tmpinitdb.log’. Note! You must read/copy this logfile before yuo click OK, or … Continue reading
Postgresql – backing up database
Database can be backed up with the pg_dump command. Some times restoring the backed up database will fail due to version conflict. To resolve that use the command # pg_dump -d -O -Fp -i -x -f dump-filename.sql db-name Backup a … Continue reading
VNC server with resumable sessions and GDM login
Make these changes while logged into gnome: Go to System -> Administration -> Login Window (General tab) and uncheck “Disable multiple logins for a single user.” Now go to the Remote tab. Change Style: to “Same as Local” Still on … Continue reading
Slow SSH login
This could be due to the DNS lookup Disable the DNS lookup by editing /etc/ssh/sshd_config and add UseDNS no or GSSAPIAuthentication no