Category Archive: Linux

Nov 29

WordPress gets hacked over and over with eval(base64_decode) code

My websites were getting hacked every 30 minutes or so and when I checked the source code, I kept finding these codes added (below). When I delved more into it, I found out the hackers were using a disabled theme on my blog called: Twenty Eleven 1.2 by the WordPress team Twenty Ten 1.2 by …

Continue reading »

Oct 09

OpenSSH Windows Known_hosts Problem and SSH-Keygen work around

I have been trying to fix this error: Could not create directory ‘/home/xxx/.ssh’. The authenticity of host can’t be established. Failed to add the host to the list of known hosts (/home/xxx/.ssh/known_hosts) It is very annoying to type in Yes everytime trying to connect to a server so I decided to do some research but …

Continue reading »

Jul 12

How to Tar –EXCLUDE directories

I would like to transfer from one hosting (Mediatemple) to another (Resellerzoom) (both of them were doing superb job for 2 years btw) but I don’t want to transfer some of the old files. I tried most of tar –exclude combinations I could find on the forums but they did not work. One of them …

Continue reading »

Feb 18

Getting Hardware Info on Linux

When you are trying to get hardware details for Linux machines, it seems very challenging at first but you have variety options and it is quiet easy. Some includes using custom scripts and existing resource folders(ex: dmesg, /proc) or by some applications like hwinfo and lshw. In this article we will mention about different methods …

Continue reading »

Feb 09

Console (TTY) Resolution on Ubuntu Linux boxes

Ubuntu installations come with 640 x 480 default config on console or TTY (Teleprinter/Teletype/Teletypewriter). To change that config to something readable: – You need to edit /boot/grub/menu.lst – To the end there are lines: title Ubuntu 8.04.2, kernel 2.6.24-23 server …. …. kernel /vmlinuz-2.6.24-23… at the end of kernel /vmlinuz line we need to a …

Continue reading »

Older posts «