Mandriva 2006 Server setup

Discussion in 'Server Operation' started by leadrescue, Jan 16, 2006.

  1. leadrescue

    leadrescue New Member

    Last edited: Jan 17, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.

    Then you can copy and paste the commands from the howto to the putty commandline window.
  3. leadrescue

    leadrescue New Member

    Putty Installed

    :confused: 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 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= "

    How do I create such a folder?? :confused:

    In case you were wondering, yes, linux newbie.:eek:
  4. till

    till Super Moderator Staff Member ISPConfig Developer

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

    1) Editing files on the commandline:

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

    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.
  5. leadrescue

    leadrescue New Member


    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.
  6. falko

    falko Super Moderator ISPConfig Developer

    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:

    echo "DEVICE=eth0:0" > /etc/sysconfig/network-scripts/ifcfg-eth0:0
    echo "BOOTPROTO=static" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
    echo "IPADDR=" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
    echo "NETMASK=" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
    echo "NETWORK=" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
    echo "BROADCAST=" >> /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.
  7. leadrescue

    leadrescue New Member

    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: Jan 17, 2006
  8. falko

    falko Super Moderator ISPConfig Developer

    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... :)

Share This Page