Install GUI ins Ubuntu Server Rumi, August 25, 2011 First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI sudo apt-get update sudo apt-get install ubuntu-desktop The above command will install GNOME desktop If you wan to install a… Continue Reading
SCP in linux Rumi, July 27, 2011 In Unix, you can use the scp command to copy files and directories securely between remote hosts without starting an FTP session or logging into the remote systems explicitly. The scp command uses SSH to transfer data, so it requires a password or passphrase for authentication. Unlike rcp or FTP,… Continue Reading
When i installed Debian, i forgot to install GNOME! How to install? Rumi, July 11, 2011 apt-get install x-window-system Once X installed proceed with gnome, following packages are minimum but gives you gnome gui based interface… so on it's easier to add other packages from synaptic. apt-get install gnome-core gdm synaptic Be careful on you /et/apt/source.list file- if the CDROm is un-commented then installation will begin… Continue Reading
.htaccess tips and tricks Rumi, July 9, 2011 Redirecits redirectpermanent /training/test.html http://www.example.com/learning/newtest.html Allow SSI FIles AddType text/html .shtml .shtm .htm .html AddHandler server-parsed .shtml .shtm .htm .html Parsing PHP in HTML RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html Allow or prevent directory browing IndexIgnore */* Options +Indexes Password Protection <Files secret_file.html> AuthType Basic AuthName "Team Page" AuthUserFile… Continue Reading
Linux Rescue Mode, recovering from boot Rumi, July 2, 2011 When things go wrong, there are ways to fix problems. However, these methods require that you understand the system well. This chapter will describe the ways that you can boot into rescue mode and single user mode, where you can use your own knowledge to repair the system. What is… Continue Reading
Linux ISO and DR Solution- Mondo Rescue Rumi, July 1, 2011July 1, 2011 Mondo Rescue is a GPL disaster recovery solution. It supports Linux (i386, x86_64, ia64) and FreeBSD (i386). It's packaged for multiple distributions (RedHat, RHEL, SuSE, SLES, Mandriva, Debian, Gentoo). It supports tapes, disks, network and CD/DVD as backup media, multiple filesystems, LVM, software and hardware Raid. You need it to be… Continue Reading
Virtual Hosting with Tomcat Rumi, May 30, 2011 This is a guide on setting up Tomcat to do virtual hosting and make it behave like a simple webserver with jsp and servlet support, for many different sites all hosted on the same IP address. The aim is to have a single directory for each virtual host, which can… Continue Reading
Accessing Apache on port 81 Rumi, May 30, 2011 1) httpd.config to listen to "Listen *:81" and 2) SELinux settings to allow access to port 81 through "semanage port -a -t http_port_t -p tcp 81" Continue Reading
Zip and Unzip Command in Linux Rumi, May 28, 2011 Zipping a Directory zip is a compression and file packaging utility for Unix, Linux, VMS, MSDOS, OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS etc. This utility is installed by default on most Linux computers. he program is useful for packaging a set of files for… Continue Reading
Installing GCC, C++ and GD in Linux Rumi, May 28, 2011May 31, 2011 By Using YUM these compiler and libraries can be setup- GCC compiler C/C++ development libraries GD development libraries For GCC, C/C++- yum install gcc gcc-c++ autoconf automake For GD- yum install gd gd-devel php-gd On Debian/Linux to install GCC use- # apt-get update && apt-get upgrade # apt-get install build-essential… Continue Reading