When you run your perl scripts in browser you would get “500 Internal Server Error” when something goes wrong. There would be several reasons of this but one thing to be done is to check if your perl script contains errors. To do it login… Read More »CGI Perl scripts debugging (solve 500 Internal Server Error)
In order to change shell for a particular user of Unix/Linux system without editing /etc/passwd file manually just use command: chsh -s /path/to/shell username for example, to change shell to ‘sh’ from ‘bash’ for user ‘viper’, use command: chsh -s /bin/sh viper
I usually encrypt files with GPG with symmetric algorithms when I have to transmit files over insecure channel: for example I encrypt backup files stored at my USB stick and I’m sure that if it’s stolen or lost my files are in safety. Encryption without… Read More »Encryption files with GPG without user intervention (batch)
Question: I forgot root password for MySQL DBE. How to reset or recover it? PLEASE HELP! Answer: Below is simple algorithm to reset MySQL root password in Linux, FreeBSD, OpenBSD and other Unix like operating systems: 1. Stop MySQL server process by one of the… Read More »FAQ: Change forgotten or lost MySQL root password
Let’s assume we have two Linux running machines, one of them is ‘client’ and other is ‘server’. Task lies in allowing client to access server via ssh securely without a need to type password by hands. It’s usually useful to perform some operations that are… Read More »Secure shell (ssh) connection without password
I think that the best open source off-line dictionary is Stardict. It’s absolutely free, it’s very user friendly and, of course, it supports a huge amount of dictionaries which allow to translate words and phrases into many directions. Few will deny that there is no… Read More »Lingvo dictionaries with Stardict
Ubuntu newbies sometimes ask how to add certain program into startup or autostart. Actually it usually happens with ex-Windows users 😉 Answer: To make program start just after user logins Gnome, go to “System” menu, then choose “Preferences” and select “Sessions”: Then press button “Add”,… Read More »Autostart programs in Ubuntu
It’s rather trivial task to make some changes into already burned installation or live CD. It may be performed to add some files to this CD or edit files on it. In any case it’s impossible to loop mount .iso file and then save it… Read More »How to create custom linux ISO image?