Fedora Linux Support Community & Resources Center
  #1  
Old 21st September 2010, 03:52 PM
rihatum Offline
Registered User
 
Join Date: Sep 2010
Posts: 3
windows_7chrome
Fedora13 Questions (YUM & Static IP)

Hi All,

Have just installed Fedora 13 under Virtual Box on Windows 7 (X86).

I have removed the "X Window System" by :

user@localhost$ sudo yum groupremove "X Window System"

Have edited the "/etc/inittab" to run level 3 (init3).

Now, I can get to the command line only on boot, when I ran "Yum update" it checked for all the X Window related packages too, like gnome, file manager, network manager, firefox etc.
I am just using this install as a DB (MySQL) server so don't need gui, also I am trying to get on with the command line, I have copied the fresh install VM as a template VDI and will be duplicating when I screw things up :-) Will be grateful for your assistance in my nix adventure.

Here are my Questions :

Q - 1 How can I tell Fedora / YUM not to check for any updates or packages related to X Windows ?

Q - 2 how can I assign a static IP Address to this command line version ?

Q - 3 Is there a way / script I can run on first boot of this VM (FC13) that it will make the dynamically assigned IP address, static in its network config ?

Will be grateful for your assistance on this.
Kind Regards
Rihatum
Reply With Quote
  #2  
Old 21st September 2010, 04:33 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxopera
Re: Fedora13 Questions (YUM & Static IP)

The easy way to do the static IP is system-config-network-tui

The tui stands for text user interface, and brings up a curses based configuration menu. I would that rather than worry about a script. (Fedora has several files related to Networking, it's a little overly complex--not in the sense you can't understand it, but in the sense of when compared to some other systems--whether there are actual advantages to the RH method, I have no idea, though manually configuring networking in say, the BSDs, is far simpler.)


As for completely eliminating X, this is untested, but should work, I think (someone probably has a better answer.)

In /etc/yum.conf put

exclude=xorg-*
Reply With Quote
  #3  
Old 21st September 2010, 05:16 PM
rihatum Offline
Registered User
 
Join Date: Sep 2010
Posts: 3
windows_7chrome
Re: Fedora13 Questions (YUM & Static IP)

Hi smr54,

Thanks for your reply, tried editing the yum.conf and added the following combinations :

exclude=xorg
exclude=xorg*
exclude=xorg-*

on 3 different times and it still shows a list of updates (315 MB in size), i think it hasn't excluded them yet.

any help ?
Kind Regards
Reply With Quote
  #4  
Old 24th September 2010, 10:09 AM
rihatum Offline
Registered User
 
Join Date: Sep 2010
Posts: 3
windows_7chrome
Re: Fedora13 Questions (YUM & Static IP)

Anyone ?
Still can't seem to find a way to exclude the GUI (GNOME) packages when I do a yum update or it will install everything back on.

or

is there a server (command line) version of Fedora 13 ?

Kind Regards
Reply With Quote
  #5  
Old 24th September 2010, 10:41 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
windows_xp_2003firefox
Re: Fedora13 Questions (YUM & Static IP)

"yum update" doesn't install any additional packages unless they are required as dependencies. If Gnome packages are listed as updates, then you have them already installed.
Reply With Quote
  #6  
Old 24th September 2010, 12:09 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxopera
Re: Fedora13 Questions (YUM & Static IP)

No, there's no server command line version. One can more or less make one by, at installation, unchecking EVERYTHING (or choosing minimal install if it's available as choice--not sure if it's in 13 or didn't show until 14).

You can also try excluding xorg on the command line and and also, (thanks markkuk, I should have mentioned this in my first post), excluding anything with gnome, but I'm not sure what the syntax would be for gnome, since often, the packages are are simply g(something).

However, if your original installation has no X packages, you might be able to do it that way. To undo it once it's done, however, will be more difficult. You can try doing something like rpm -qa >rpm.txt, then going through rpm.txt to see what includes X related packages, but there's no sure way that I know to figure that from package name, though many will, of course, be obvious.

There is, as far as I know, a server version of RH, though not of CentOS--a cursory google, however, doesn't indicate that it expects you to not run X. A friend who used to work at RH once told me they're very proud of all their GUI tools.

One can check an individual package with rpm -q -R package name, which will give the dependencies. Still it can be hard to tell. For example, trying it on fluxbox, which obviously needs X, had nothing about requiring xorg anything. Though if one installs it without xorg-server, or without the various input drivers, I suspect it wouldn't run very well. It also requires libx11 which is a pretty good hint.
Reply With Quote
  #7  
Old 24th September 2010, 01:24 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfedorafirefox
Re: Fedora13 Questions (YUM & Static IP)

Quite frequently it is convenient to have the GUI tools on a server...

There is no requirement for xorg anything, as these tools will run just fine over
an ssh connection.

If you do manage to remove all the GUI tools... you must be able to edit all the
configuration files manually... and unfortunately, not all of them are documented,
or are documented poorly.

You might be able to exclude them if you remove all the X based libraries.
Most (if not all) depend on libX11.so*, so removing that one, and everything
that depends on it, just might remove them all.

Of course, you might get surprised by how much depends on X.

Last edited by jpollard; 24th September 2010 at 01:27 PM.
Reply With Quote
Reply

Tags
fedora13, questions, static, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Fedora13 8Gb ram not being used. mjohanss Using Fedora 2 20th August 2010 02:25 PM
Fedora13 update henry2010 Installation and Live Media 3 28th July 2010 08:45 AM
Help With Inkscape and Fedora13 bertrc Using Fedora 2 18th June 2010 11:52 PM
Need advice on /etc/hosts for static ISP IP, router, LAN, static LAN IP rshartog Servers & Networking 2 21st February 2009 05:24 AM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Servers & Networking 2 21st September 2004 05:13 PM


Current GMT-time: 20:43 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat