what I type for given entry in /etc/fstab for mounting a partition
what I type for given entry in /etc/fstab for mounting a partition.
|
way to vauge; please be more specific so we can help.
|
You might want to read the man pages for "mount" and "fstab". Also look through the /etc/fstab you have. This is all the help I can give given the lack of information. Also put your distro in your user profile. Some distro's default to using LVM for example. So knowing if you are running SuSE, Ubuntu, Fedora Core, etc. can give us a clue what to expect.
|
Another thing that you might try is looking at an fstab file to see its structure. It's pretty easy to tell what the individual entries do from that. Always remember to make a new line at the end of the file, too.
|
how I mount logical partition like /dev/hda7.And also I need to mount it in /etc/fstab for boot time mount,everytime I start the machine.
Pls help. Dipanjan.. |
First you need to know the filesystem used for /dev/hda7.
sudo file -s /dev/hda7 Next you need to know where you are going to mount it. If this is a new partition, you need to create a directory to mount it on. You might want to name it appropriately for what you are using it for. example: sudo mkdir /podcasts Next create an entry appropriate for the filesystem: Code:
/dev/sda7 /podcasts ext3 acl,user_xattr 1 2 Now this partition will be mounted when you boot. Please scan through the mount man page. You might be interested in the "System Administrator's Guide" (SAG) on the www.tldp.org (the Linux Documentary Project) web site. It will contain answers to this and other things you might do administering your linux machine. There is also an O'Reilly book "Running Linux". |
Than you for given me answar the question
|
Dear All
pls tell me how I configure DHCP, in my server. Thanks Dipanjan Mukherjee |
Err... It really depends on what exactly you want DHCP to do. First, make sure you have a DHCP server. dhcpd will usually get the job done. If you need help installing it, you'll have to tell us what distribution of Linux you're using. Then once it's installed, configure '/etc/dhcpd.conf'. I'm not 100% sure if the file will already exist or not. If it does, it will likely have comments explaining its usage. If not, you'll need to find an example one and use it as an outline to configure the server to do what you want it to do. There's a good example file here:
http://oob.freeshell.org/nzwireless/dhcpd.html There will be some obvious changes you need to make to that. For example, you may or may not be using wlan0 as your network interface. If you're using eth0 or something else, make sure you change this line: DHCPDARGS=wlan0; Just remember that you can't just flat-out copy the file. There will be a lot of changes to that example. |
I have a server (hcl probl 1400 bt),also my linux distribution is red hat linux enterprise edition ver3.I want to install and configure dhcp in my server.
My starting ip range is 192.168.20.1 and end ip range is 192.168.20.200 also I need never unchange the ip 192.168.20.1 and from 192.168.20.20 - 192.168.20.30. pls suggest me how to I configure step by step. Thanks Dipanjan |
Okay then. I believe that dhcpd will already be installed then. If not, hunt the RPM down off the installation discs. Then, create the configuration file (/etc/dhcpd.conf).
http://www.redhat.com/docs/manuals/l...ng-server.html ^ This guide is for RH9, but dhcpd hasn't had any drastic changes over the years. Use that to craft your /etc/dhcpd.conf file. If you have any questions about anything in the guide, just ask. Once you have the file created and ready, run 'setup' on the command line and go to Services. You can enable dhcpd there to have it automatically run at boot-time. To start it manually, just do "/etc/init.d/dhcpd start". |
Quote:
|
All times are GMT -5. The time now is 01:00 AM. |