LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2009, 12:06 AM   #1
Diztract
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Rep: Reputation: 0
Noob - Please help


I'm a noob wanting to learn Linux. A friend gave me a copy of the cd (Redhat Enterprise Linux Server) from his work to install and learn. Once I finished installing the software, it took me to a screen as followed:
Symantec MSS v8.1
localhost login:

He provided me with the user ID and password, and I used that to login. Login successful, but once I'm logged in, I don't know how to access the Internet. I've tried everything blindly that I've googled and nothing seems to work. Besides the Notice To Users, the only line I see after logging in is sadm@localhost ~]$

Please help; thanks in advance.
 
Old 04-20-2009, 12:32 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
It sounds like your system is not starting the Graphical User Interface.

Do you just have a command line? (black screen with no icons)

If so, what happens if you type:
Code:
startx
 
Old 04-20-2009, 06:02 AM   #3
Diztract
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Just a command line; here's what the line says:
sadm@localhost ~]$


Thanks for getting back to me. *Hugz*
 
Old 04-20-2009, 07:34 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I would not recommend starting with Red Hat Linux Server.....first, it is a paid distro and you won't get access to updates, etc. Second, it for servers---I'm not sure it even has a GUI interface.

Go to http://distrowatch.com and pick anything in the top 10 on their "hit list"
 
Old 04-20-2009, 10:20 AM   #5
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Diztract:

A server system often is not the best place to get familiar with Gnu/Linux. Linux server edition is usually intended to be used by advanced Gnu/Linux users.

Try the free distros like Ubuntu, Mint, or Fedora. Click the link given by pixellany above.

Goodluck.
 
Old 04-20-2009, 10:25 AM   #6
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
RHEL does have the option for a GUI (Gnome/KDE), although I gather that wasn't selected during the install process.

If the OP specifically wants to learn RHEL, then he would be best downloading and installing CentOS (Community Enterprise OS) as this will allow him to have compatibility with RHEL whilst being able to download updates without the need to purchase a support contract.
 
Old 04-20-2009, 11:11 AM   #7
Diztract
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I have Ubuntu on my other system. I am very comfortable with Ubuntu because of the GUI. The reason I need to learn the Linux server without the GUI is for a potential job. I don't have to become a pro overnight, but at least know the basics. Anyhow, when I installed the RHEL, it did not give me the option to install a GUI. Once installed, I've tried /etc to configure the router (IP, DNS etc) so I can access the Internet but it did not recognize the commands.

Anyhow, I'll continue to try for a few more days to get it going. If I can't get it to work then, I will look at other options to learn. Thank you everyone for responding.
 
Old 04-20-2009, 02:32 PM   #8
jphilput
Member
 
Registered: Nov 2007
Posts: 58

Rep: Reputation: 15
The configuration file that you're looking for is in:

Code:
/etc/sysconfig/network-scripts
It is most likely called "ifcfg-eth0". You will need to edit the file from the command line. My personal preference is vi, but if you are uncomfortable with text editors, pico is a fairly simple one.

Once you open the file, make sure that it has the following 2 lines:

Code:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
Additional lines are okay, but it must have those three lines in order to pull a DHCP address from your router. Once you have verified that those are in place, run the following command to reinitialize the network interfaces.

Code:
service network restart
If DHCP is running on the router, and the NIC is working properly in the server, it should pull an address, and get you online.
 
Old 04-20-2009, 03:29 PM   #9
shpenat
Member
 
Registered: Dec 2008
Distribution: LFS
Posts: 99

Rep: Reputation: 21
Well if you want to learn Linux without GUI I suggest trying Linux From Scratch http://www.linuxfromscratch.org. It takes some time, but since each step is explained, it shall really give you good insight.

It expects some basic knowledge of bash command line, but I personally don't think they are mandatory. First you will just blindly follow the guideline and slowly learn, how does Linux work.

Take this only as small hint how to get used to Linux without GUI. There are many other approaches I don't know about, which can be much better.
 
Old 04-29-2009, 07:59 PM   #10
Diztract
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I finally was able to boot up and log-in. My next step is to configure the machine so I am able to access the Internet. I used the following...

Linux Network Setup

1. cd /etc/sysconfig

vi network
i -to insert :wq!-to save and exit
o HOSTNAME=localhost.localdomain
o GATEWAY=192.168.1.1, example

2. cd /etc/sysconfig/network-scripts

vi ifcfg-eth0

o ONBOOT=yes
o IPADDR=192.168.1.10, example
o BOOTPROTO=static
o NETMASK=255.255.255.0, example

3. cd/ etc/

vi resolv.conf

o nameserver 4.2.2.2 *keep lowercase

4. cd /etc

vi hosts

o ipaddress name *for manual dns

*be sure to restart network by: service network restart, or reboot

PROBLEM: For any of the above editing, I was unable to save and quit using the following command: :wq!-to save and exit because it said the file is a read-only file.

I can't set up the networking to be able to access the Internet if I am unable to save the IP address, gateway, and subnet. Please help! Thank you again.
 
Old 04-29-2009, 08:00 PM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I say go with Ubuntu SE 8.04 or any ubuntu 8.04
very user friendly
 
Old 04-29-2009, 08:39 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Diztract View Post
Ok, I finally was able to boot up and log-in. My next step is to configure the machine so I am able to access the Internet. I used the following...

Linux Network Setup

1. cd /etc/sysconfig

vi network
i -to insert :wq!-to save and exit
o HOSTNAME=localhost.localdomain
o GATEWAY=192.168.1.1, example

2. cd /etc/sysconfig/network-scripts

vi ifcfg-eth0

o ONBOOT=yes
o IPADDR=192.168.1.10, example
o BOOTPROTO=static
o NETMASK=255.255.255.0, example

3. cd/ etc/

vi resolv.conf

o nameserver 4.2.2.2 *keep lowercase

4. cd /etc

vi hosts

o ipaddress name *for manual dns

*be sure to restart network by: service network restart, or reboot

PROBLEM: For any of the above editing, I was unable to save and quit using the following command: :wq!-to save and exit because it said the file is a read-only file.

I can't set up the networking to be able to access the Internet if I am unable to save the IP address, gateway, and subnet. Please help! Thank you again.

Can you please post the output of
Code:
id
cat /etc/redhat-release
mount


Cheers,
Tink
 
Old 04-29-2009, 08:43 PM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,355

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
To amend those files you need to be root.

su -

and enter the root passwd. Whoever installed it will know the root passwd.
Here's a good manual for RHEL 5 : http://www.linuxtopia.org/online_boo...ion/index.html
If you install it and tell it to use ipv4 and dhcp, you won't need to set those files, it will 'just work' assuming you have the usual home broadband router arrangement.
I've installed Fedora, RHEL and Centos and never had to manually set those files.
 
Old 04-29-2009, 08:46 PM   #14
Diztract
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Problem solved! Basically, I wasn't in "root" and all I had to do was su root or login as root and that fixed the problem with the read-only.
 
Old 04-29-2009, 08:48 PM   #15
Diztract
LQ Newbie
 
Registered: Mar 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks Chris. That was exactly what I did. Also, thank you for the link. I will look into it.
 
  


Reply

Tags
release, version


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PS3 YDL NOOB (linux NOOB completly) korn_16_f_t_l Linux - Newbie 1 07-09-2008 11:32 AM
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 03:43 PM
3 Noob Quetions From A Noob DaveyB Slackware 20 08-11-2004 08:00 PM
Firewall help (noob really really huge noob) ProtoformX Linux - Networking 1 03-29-2004 12:19 AM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration