When the Linux system boots, it will try to detect the hardware installed in the computer. It will then make a fake file system called procfs and will store important information about your system in it. You can get information about your system simply by browsing the directory /proc. The files in there will contain information such as the processor you have, the amount of memory and the file systems the kernel currently supports. A usefull application exists to browse the /proc file system. It is called Xproc and is available from http://devplanet.fastethernet.net/files.html
Find hardware information in Linux
When the Linux system boots, it will try to detect the hardware installed in the computer. It will then make a fake file system called procfs and will store important information about your system in it. You can get information about your system simply by browsing the directory /proc. The files in there will contain information such as the processor you have, the amount of memory and the file systems the kernel currently supports. A usefull application exists to browse the /proc file system. It is called Xproc and is available from http://devplanet.fastethernet.net/files.html
Detecting 2 ethernet cards in Linux
To configure an ethernet card in Linux, you need to enable it in the kernel. Then the kernel will detect your ethernet card if it is at a common IO port. But it will stop there, and will never check if you have 2 ethernet cards. The trick is to tell the ethernet driver that there are 2 cards in the system. The following line will tell the kernel that there is an ethernet card at IRQ 10 and IO 0x300, and another one at IRQ 9 and IO 0x340: ether=10,0x300,eth0 ether=9,0x340,eth1 .You can add that line on bootup at the "boot:" prompt, or in the /etc/lilo.conf file. Don't forget to run: lilo
That will reload the lilo.conf file and enable changes.
How to Remove and Hide Blogger NavBar
When browsing Blogger powered weblogs hosted on blogspot.com domain or custom domain, there is always a NavBar (Navigation Bar or Banner) that appears on top of the blog. The Blogger NavBar contains Search Blog textbox, Flag Blog to notify Blogger about objectionable contents on the blog, Next Blog link to visit another blog randomly, plus links to create a blog or sign in to Blogger.
No many visitors nor bloggers themselves may find it useful though. It’s possible to hide and remove the NavBar with a little CSS hack. The trick will not interfere or mess up with the custom layouts that webmaster has designed, and pretty safe and easy to implement. In fact, if you’re publishing the Blogger blog to own custom domain with FTP or SFTP, it’s possible to turn off NavBar.
No many visitors nor bloggers themselves may find it useful though. It’s possible to hide and remove the NavBar with a little CSS hack. The trick will not interfere or mess up with the custom layouts that webmaster has designed, and pretty safe and easy to implement. In fact, if you’re publishing the Blogger blog to own custom domain with FTP or SFTP, it’s possible to turn off NavBar.
Netapp Basic Setup Wizard
First things first, before getting started you need to create yourself a login at the Netapp NOW website http://now.netapp.com It usally takes 24-48 hours for your login to become active. The NOW website is where you get access to all the documentation, knowledge base, articles, software, licenses, etc
Once you’ve racked and cabled your Netapp SAN, according to the documentation on your SAN model you’re ready to start configuring.
Connect the supplied console cable to your pc and start your favourite terminal emulation program. I mainly use Putty which can be downloaded from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
As you power on the SAN it will go through all the POST tests and finally arrive at the setup wizard prompt
1. Enter the new hostname (Tip: When Netapp support refer to your controllers, they refer to them as top or bottom. To make it simple try and name and controller at the top something ending in top and for the bottom, something ending in bot. You don’t need to do this but it is less confusing later on down the track)
2a. Do you want to configure interface groups ? (On the back of our FAS2040 we have 4 gigethernet ports named e0a, e0b, e0c, e0d. You have the option of bundling 2 or more of these to create an etherchannel to your switch. This becomes beneficial if you are considering running iscsi, nfs or cifs as the traffic can be load balanced across the bundled ports. Within an interface group you can also create vlans to segment traffic, however I’ll touch on this a little later on. You don’t need to create an interface group, you can answer no here and configure a single port)
Installing VMware ESX 4
Note: This is the base VMware ESX 4. It does not include update 1.
I’am using the following image:
esx-DVD-4.0.0-164009.iso
1. When booting from the DVD you will be presented with the ESX 4.0 installation menu. As you can see there are a few options for installing ESX 4.0. We’ll be using the “Install ESX in graphical mode”. Press enter or just wait for the timer to reach 0 and it will continue automatically.
I’am using the following image:
esx-DVD-4.0.0-164009.iso
1. When booting from the DVD you will be presented with the ESX 4.0 installation menu. As you can see there are a few options for installing ESX 4.0. We’ll be using the “Install ESX in graphical mode”. Press enter or just wait for the timer to reach 0 and it will continue automatically.
Apache Server Interview Questions And Answers for linux admin
Q: - What is location of log files for Apache server ?
/var/log/httpd
Q: - What are the types of virtual hosts ?
name-based and IP-based.
Name-based virtual host means that multiple names are running on each IP address.
IP-based virtual host means that a different IP address exists for each website served. Most configurations are named-based because it only requires one IP address.
name-based and IP-based.
Name-based virtual host means that multiple names are running on each IP address.
IP-based virtual host means that a different IP address exists for each website served. Most configurations are named-based because it only requires one IP address.
Q: - How to restart Apache web server ?
service httpd restart
service httpd restart
Q: - How to check the version of Apache server ?
rpm -qa |grep httpd
rpm -qa |grep httpd
Q: - What is meaning of "Listen" in httpd.conf file ?
Port number on which to listen for nonsecure (http) transfers.
Port number on which to listen for nonsecure (http) transfers.
Subscribe to:
Posts (Atom)