Q. I have latest version of Ubuntu Linux. How do I update Ubuntu Linux for security and application fix or upgrades?
A. Ubuntu Linux can be upgraded using GUI tools or using traditional command line tools.
Using apt-get command line tool
apt-get is the command-line tool for handling packages. You can use following command options:
=> apt-get update [...]
Q: What software program do I have to use under Linux for Virtual Private Network (VPN)?
A: A virtual private network (VPN) is a private communications network. It provide a secure connection through an otherwise insecure network, typically the Internet. VPNs are generally cheaper than real private networks using private lines but rely on having [...]
Q. How do I copy files from a floppy disk to my hard disk. I am using a 1.44 MB floppy.
A. /dev/fd0 is your first floppy disk drive (/dev/fd1 is second and so on) under Linux. You need to use normal mount command. All files accessible in a Unix system are arranged in one big [...]
Q. I am using MySQL database server and my question is how do I secure mysql server?
A. If you are using MySQL on a computer connected to the Internet then you need to secure MySQL server to avoid the most common security mistakes.
Official MySQL site has a section that describes some general security issues to [...]
Q. I would like to know howto compile Linux kernel on SMP Itanium IA64 system. Is it possible?
A. Yup it is possible to compile Linux kernel as it is one of the supported platform. Read the README file located in /usr/src/linux* directory. Here are quick steps:
# cd /usr/src/linux-version
# make clean
# make mrproper
# make menuconfig
# make [...]
Q. I am trying to run X applications using secure shell (SSH). I connect to my server using ssh myserver.com. But when I run X application it dump me back with an error as follows:
Error: couldn’t open display (null).
How do I fix this problem?
A. You are trying to use ssh X11 X11 forwarding. To enable [...]
Q. I am using a KVM switch (that connects two or more computers to the same keyboard, mouse, and monitor) to connect Linux box but mouse gives the worst user experience. How do I solve this problem?
A. You need to setup PS2 mouse protocol extension correctly. This can be done by passing boot time parameter [...]
Q. Sometime I get confuges whether command is an alias or it is real command. How do I find out if shell command is aliased?
A: You need to use type command. It rells whether command is an alias, function, buitin command or executable command file.
For example:
$ type –all ls
Output:
ls is aliased to `ls –color=auto’
ls is [...]
Q. I would like to know configuration directives that will limit Sendmail Denial of Service attack.
A. Sendmail is a mail transfer agent (MTA) i.e. that transfers electronic mail messages from one computer to another. It is possible that attacker can flood the mail server with DOS (it is an attack in which no access to [...]
Q: I am using QLogic driver and I would like to know how do I scan new LUNs on Linux operating system?
A: You need to find out driver proc file /proc/scsi/qlaXXX. For example on my system it is /proc/scsi/qla2300/0
Once file is identified you need to type following command (login as the root user):
# echo [...]