September 2007

Change MySQL root password

by Vivek Gite on September 27, 2007 · 3 comments

Q. How do I change MySQL server root password under Linux / UNIX operating system at shell prompt? A. You need to mysqladmin command which is a client for performing administrative operations. You can use it to check the server’s configuration and current status, to create and drop databases, change mysql root password and more. [...]

{ 3 comments }

I’ve downloaded a software for Linux from the Internet. There is a file called install.sh. How do I run an .sh file to install the software?

{ 28 comments }

Install Multimedia Codecs For Ubuntu Linux

by Vivek Gite on September 26, 2007 · 2 comments

Q. How do I install Multimedia Codecs for Ubuntu Linux? Can you suggest Multimedia Player for Ubuntu Linux? A. The best way to install Multimedia Codecs under Ubuntu Linux is use Automatix2 software. Please see previous FAQ Howto: Install Mplayer under Ubuntu Linux Quick installation: Automatix2 Open terminal and type the following command: $ wget [...]

{ 2 comments }

Q. How do I block ip address of spammers with iptables based firewall under CentOS Linux 5? A. You can simply block IP address of spammers by editing /etc/sysconfig/iptables file under: a) CentOS Linux b) Fedora Linux c) RHEL 4.x/5.x etc Open file /etc/sysconfig/iptables: # vi /etc/sysconfig/iptables Append ip address of spammers as follows: -A [...]

{ 4 comments }

Q. How do I create a soft link (symbolic link) under UNIX or Linux operating system? A. To make links between files you need to use ln command. A symbolic link (also known as a soft link or symlink) consists of a special type of file that serves as a reference to another file or [...]

{ 32 comments }

Q. Can you explain how to setup network parameters such as IP address, subnet, dhcp etc using /etc/network/interfaces file? A. /etc/network/interfaces file contains network interface configuration information for the both Ubuntu and Debian Linux. This is where you configure how your system is connected to the network. Defining physical interfaces such as eth0 Lines beginning [...]

{ 33 comments }