Apache Web Server is the most common web server used in internet as well as intranets. If you are a web developer, system admin or a technology enthusiast, you must have heard about it already. This is a humble effort from me to document the very basics of configuring an apache web server in Red Hat Enterprise Linux.
Category Archives: Tech
Useful commands for Windows XP
We all are used to the “familiar and easy to use” graphical user interface of Microsoft Windows Operating System. How many of you guys know that it has a command line interface also which is quite powerful in doing things that cannot be achieved using graphical tools. This is a humble attempt to share some tips and tricks that can be performed
using command line of Windows XP. These commands would be useful if you want to automate tasks on your computer. For running any of these commands, you need to be in a command prompt or run it direclty from the start->run dialog box.
shutdown -s -f -t00 – Immediately start shutting down the computer. ! If you want to reboot, use shutdown -r -f -t00. Remember,this command tries to forcefully close all applications that may be running on your computer. So be sure that you saved the documents before you run this.
tree c:\foldername | more – This command will give you a nice overview of how files and folders are organised in folder “foldername”.
netstat – This command will give you a list of protocols running on your system, and what connections are to/from your computer and what services are they using etc etc. It is always good to know who all are connected to your computer when you are in a network, isn’t it?
net share – If you are sharing files and fodlers on your computer over the network, you might want to get a list of them… This command does it. Simple.
net use – This does the opposite of the above command. It shows you a list of shared resources that you are connected to. π
xcopy /s/e/v/c/y c:\documents\*.* d:\backup – This command copies all files and folders in c:\documents into d:\backup. The special thing about this command is that it does not abort even if copying of one file fails. Very useful to recover possible data from scratchy CDs etc.
That’s all for now. Have a nice time !
Firefox – Browser Redefined !
I just can’t keep silent about firefox. This is such a beautiful piece of free software, it never fails to amuse me day by day. With all the themes and plugins it supports, it could act as much more than a browser. Needless to say about the security features… It blocks popup ads, malicous scritps .. It even helps you remove ads from the pages ! ( With the use of adblock plugin ).
The amount of hardwork put in by the developers can be found in each feature of this cool product. If you are still among those peple who are not using Firefox, I suggest you to give it a try.
P.S : I am writing this blog using the “performancing” plugin from within firefox ! π
Phishing – The Witchy sister of Spamming
My friend fall prey to a new ( Well.. not so new ) malicious attack using email. It’s called phishing and it is much more dangerous than spamming. Read the entire sotry…
Install RedHat/Fedora Linux in many client systems with minimum effort.
If you are a System Admin, you might be thinking about the possibilities of automating the client operating system deployment in all the PCs. RedHat/Fedora Core Linux makes it easier with the help of special installation methods. I prefer this method because it does not have the issues related to disk cloning and there is no hassle of changing CDs as and when asked.
We are going to use a FTP Server based deploment method. In this method, you’ll create a dump of all the installation CDs in a FTP server and ask your linux installer to access those files using FTP during installation. Simple… isn’t it?
Here is the steps you need to follow..
1. Create a folder in your FTP server ( Can be any FTP server, If you have a Microsoft Windows PC, I recommend FileZilla FTP server… ) and copy all the files and folders from each of the iso images to the same folder and overwrite files if asked.
2. Make a network boot floppy using the bootnet.img file inside the images folder of the first CD/ISO. Boot your client system with this floppy. There are no boot floppy images available for RHEL 4.0. Boot the system with first install CD and at the boot prompt, type ‘linux askmethod’ . You may also try burning the boot.iso image inside the first CD to make a install startup CD. There are images available for USB media and PXE booting… but no floppy. π
3. ‘linux askmethod’ will give you a choice of options which you are looking for… http,ftp,nfs etc..
4. Select FTP and provide the details like login , password , FTP server IP and folder name which you kept the files.
5. If you would like to further automate this, install one client system and copy the file /root/anaconda-ks.cfg to a floppy and rename it as ks.cfg In the next client system, the command at boot prompt would be ‘linux ks=floppy’. This would take care of FTP details and package selections etc and install a complete system without any interaction…
I mean minimum interaction possible.There might be ways to totally automate the process using the native tools. If anyone knows, please let me know.
Thank you. π