Friday, August 24, 2012
Wednesday, August 22, 2012
Communication Link Failour
- telnet localhost 3306
- view /etc/mysql/my.cof file and view if bind-address 127.0.0.1 is commented out or not.
- commenting out "skip-networking"
- change "wait_timeout" and "interactive_timeout"
- check Operating System proxy settings
- change connection string
dbName = "my_database";dbUserName = "root";dbPassword = "";String connectionString = "jdbc:mysql://localhost/" + dbName + "?user=" + dbUserName + "&password=" + dbPassword + "&useUnicode=true&characterEncoding=UTF-8";
Tuesday, August 21, 2012
View child thread of a parent in linux
- View child thread for a specific thread via pid
ps -o nlwp
Unix Commands
To view Disk space available on Ubuntu
Use : df -kh
To View Folder space
Use : du -h
To view file size in folder
Use : ls -l -h
To transfer file from one server to other server
Use scp
To login on server
Use : ssh username@
Use : df -kh
To View Folder space
Use : du -h
To view file size in folder
Use : ls -l -h
To transfer file from one server to other server
Use scp
To login on server
Use : ssh username@
Thursday, August 16, 2012
Perl modules installation on terminal
Perl Installation with their module on ubuntu
cpan App::cpanminus
sudo perl -MCPAN -e 'install XML::Simple'sudo perl -MCPAN -e 'install Text::CSV_XS'sudo perl -MCPAN -e 'install Time::Local' sudo perl -MCPAN -e 'install XML::Writer'sudo perl -MCPAN -e 'install XML::Writer::String'sudo perl -MCPAN -e 'install Net::Stomp'sudo perl -MCPAN -e 'install XML::Simple'sudo perl -MCPAN -e 'install Config::Properties'
or
cpanm Module::Name
Perl Installation with their module on ubuntu
Perl Installation with their module on ubuntu
cpan App::cpanminus
Thursday, August 9, 2012
Memcached Volume Optimization
Memcached Volume Optimization
- Starting Parameter: memcached -m 16000 -l 192.168.10.242 -p 11211 -I 1k
Subscribe to:
Posts (Atom)