HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Mandriva 2006 Server setup (http://www.howtoforge.com/forums/showthread.php?t=2101)

leadrescue 16th January 2006 20:32

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?
:eek: :mad: :confused:

till 16th January 2006 21:50

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.

leadrescue 17th January 2006 00:09

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 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?? :confused:

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

till 17th January 2006 00:15

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.

leadrescue 17th January 2006 02:25

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.

falko 17th January 2006 08:11

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.

leadrescue 17th January 2006 22:51

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!!!!!!!

falko 18th January 2006 18:09

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


All times are GMT +2. The time now is 23:13.

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