Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th January 2006, 20:32
leadrescue leadrescue is offline
Junior Member
 
Join Date: Jan 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Question Mandriva 2006 Server setup

Ok, so I am trying to set up my computer as a server. I have been following the series here at how to forge ( http://www.howtoforge.com/perfect_setup_mandriva_2006 ). I am great until page 4. Then I get completley lost. Can someone please help?

Last edited by leadrescue; 17th January 2006 at 23:07.
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2006, 21:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

You have to login on your server as root user and edit files or execute commands as described in the howto.

If you have a windows workstation connected to the same network as your server, you can use the SSH client putty to connect to your server.

http://www.chiark.greenend.org.uk/~sgtatham/putty/

Then you can copy and paste the commands from the howto to the putty commandline window.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th January 2006, 00:09
leadrescue leadrescue is offline
Junior Member
 
Join Date: Jan 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Putty Installed

Ok I have sussesfully installed putty and logged into the server. I am now trying to create a file. just like the tutorials says.

"Now we want to create the virtual interface eth0:0 with the IP address 192.168.0.101. All we have to do is to create the file /etc/sysconfig/network-scripts/ifcfg-eth0:0 which looks like this:

DEVICE=eth0:0BOOTPROTO=staticIPADDR=192.168.0.101N ETMASK=255.255.255.0NETWORK=192.168.0.0BROADCAST=1 92.168.0.255ONBOOT=yesMETRIC=10MII_NOT_SUPPORTED=n oUSERCTL=no "


How do I create such a folder??

In case you were wondering, yes, linux newbie.
Reply With Quote
  #4  
Old 17th January 2006, 00:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

There are many ways to edit files, i will describe two different aproaches.

1) Editing files on the commandline:

http://www.howtoforge.com/faq/12_15_en.html

2) Or you edit files with winSCP which might be easier for you, as winSCP is a windows GUI program.

http://winscp.net/eng/download.php#download2

You can login with WinSCP to your server remotely with user "root" and the password you chose during installation. WinSCP contains an editor to edit files like there where local on windows.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 17th January 2006, 02:25
leadrescue leadrescue is offline
Junior Member
 
Join Date: Jan 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Downloaded

Ok so I have downloaded your awesome link and installed. Everything I try to do is blocked, says permission denied. Not that I know what I'm doing anyway. But I am so stuck. I am trying to complete page 4 of the how to for Mandriva Linux 2006.
Reply With Quote
  #6  
Old 17th January 2006, 08:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

You have to login as root.
Once you're logged in as root, you should see a window divided in a left (your computer) and a right (your server) section, just like in an FTP client like WS_FTP.
Create the file ifcfg-eth0:0 with an editor somewhere on your computer (go sure that you save this file with Unix linebreaks instead of Windows linebreaks), and then copy it to /etc/sysconfig/network-scripts/ on your server.

You could also create the file on the command line (e.g. PuTTY) like this:

Code:
echo "DEVICE=eth0:0" > /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "BOOTPROTO=static" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "IPADDR=192.168.0.101" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "NETMASK=255.255.255.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "NETWORK=192.168.0.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "BROADCAST=192.168.0.255" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "ONBOOT=yes" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "METRIC=10" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "MII_NOT_SUPPORTED=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "USERCTL=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
Another note: you don't have to create that virtual network interface. It's just an example how you do it if you need more than one IP address.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 17th January 2006, 22:51
leadrescue leadrescue is offline
Junior Member
 
Join Date: Jan 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Server Config Mandriva Linux 2006

Is there someone out there willing to help me via IM?

YAhoo --> Leadrescue
AOL --> Leadrescue
MSN--> leadrescue (at) hotmail (dot) com

I am also have trouble with the /dev/hdb for a cdrom
should be /dev/hdc

Oh my goodness! I want to scream!!!!!!!

Last edited by leadrescue; 17th January 2006 at 22:55.
Reply With Quote
  #8  
Old 18th January 2006, 18:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by leadrescue
Is there someone out there willing to help me via IM?

YAhoo --> Leadrescue
AOL --> Leadrescue
MSN--> leadrescue (at) hotmail (dot) com

I am also have trouble with the /dev/hdb for a cdrom
should be /dev/hdc
I don't have any messengers... So we must solve this problem in this forum. If you're willing to donate a little bit, you can write me a PM, and I'll have a look at your server...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Setup Behind a Router/Firewall/Cable Modem kisong Installation/Configuration 2 1st August 2010 17:05
How to setup Debian linux on a Dell server with RAID 1 Hans HOWTO-Related Questions 7 11th May 2006 00:10
How to setup Debian Linux on a Dell server? Hans Installation/Configuration 9 23rd January 2006 17:16
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
Server Setup Help Please sapient Installation/Configuration 7 15th October 2005 19:17


All times are GMT +2. The time now is 15:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.