LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-12-2008, 09:32 AM   #1
deco_
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Linux Install


Hi, what i want is to install a stripped down linux kernel on my computer, with no gui, and something that boots fast so that i can run my own programs on top of it.

Can anyone recommend a distro or way to do this?

Thanks
 
Old 04-12-2008, 09:39 AM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
One quick way to do this would be to install Slackware without KDE, Y, X, ..etc series. You could probably just install the A series as this has all you need for your kernel. Depending on what apps you want to install, you will probably want to include some libraries as well.

You could also try Linux from Scratch, but that will be more time consuming.
 
Old 04-12-2008, 09:47 AM   #3
deco_
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
so is there no "straight out of the box" type distro to achieve this? i want to a media center so it would have to be fast.
 
Old 04-12-2008, 09:58 AM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by deco_ View Post
so is there no "straight out of the box" type distro to achieve this? i want to a media center so it would have to be fast.
I'm sure there is, but I don't know what it is. Using Slackware is what I would use because I am familiar with it. To not include a certain series all you do is uncheck a box. It is really quick, so you could probably have your system up and running in 15-20 minutes depending on all what you install. Of course that doesn't count the time post-install where you add your specific packages and settings.
 
Old 04-12-2008, 10:02 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The kernel has nothing to do with whether the computer has a gui. You can however recompile your kernel from source and remove unneeded options. I would recommend starting with "make oldconfig" and then "make xconfig". Now you can disable options.

The snappiness of the computer may have more to do with which services are running. Look at the output of "top" and "ps -A". Find out which services are running and what resources they use.

You might want to read some howto's on creating a bastion linux host. One of the steps is identifying unneeded packages. A secure server will run leaner than a typical workstation. A lot of software & services that the server doesn't need are removed. Even if your goal isn't in security, the outcome will be a more efficient machine.

Now, I don't get two of your goals. In post #1 you said you don't want a GUI. In post #3 you said that you want a media center. A media center will use X11 to display the video. Unless you mean you want a video streaming server or video file server.
 
Old 04-12-2008, 10:13 AM   #6
deco_
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
yeah, my last post didn't make much sense sorry,

what i want is pretty much a bare system, just a shell to start creating my own media center. I mean't that i didn't want GNOME or KDE just a terminal prompt to get going.
 
Old 04-12-2008, 10:34 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You could either not install kde and gnome or start the computer in init level 3. Doing the latter, KDE & Gnome would still be installed but not loaded and run.

There are also lighter weight window environments such as xfce4 or enlightenment. Or very light like fluxbox.

For a media server, you probably won't want to use the beagle indexer or have updatedb run daily. Sometimes these services will start up in the background and really slow things down.
 
Old 04-12-2008, 10:49 AM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Not really any distro that I have seen that is basic. One ususally will just need to uninstall apps after the install and recompile the kernel to make a monothicit kernel. A kernel that has no external modules. Everything runs within it.

Brian
 
Old 04-12-2008, 11:10 AM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Slackware would do this for you. Just uncheck the "KDE" and "Y" (games) box during install and do a full install. If you want you can choose to not install more packages you can do so as well. You can do this for groups of packages or individual packages.

*) Slackware comes with Fluxbox, Blackbox, twm, Xfce, WindowMaker, and fvwm2 (and KDE). Of those I recommend fluxbox, but if you don't like configuring it through a text file then Xfce might be more for you. Openbox is also very nice and is easy to add and can be configured through a GUI with obconf.
*) Slackware starts in runlevel 3 by default.
*) Services are easy to turn off. Just remove the executable bit from it /etc/rc.d/rc.* file.
*) Cron jobs are easy to manage. Just add/remove a script from /etc/cron.daily, /etc/cron.hourly, /etc/cron.monthly, /etc/cron.weekly. Or you can modify the crontab directly if you need.
 
Old 04-12-2008, 11:14 AM   #10
arijit_2404
Member
 
Registered: Jul 2007
Location: Kolkata, India
Distribution: Fedora 9
Posts: 85

Rep: Reputation: 15
Install 'arch linux' in minimal mode. Default installation is a CLI.
 
Old 04-12-2008, 11:42 AM   #11
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by arijit_2404 View Post
Install 'arch linux' in minimal mode. Default installation is a CLI.
The same goes for the 'basic' install with Gentoo.

Cheers
 
Old 04-12-2008, 12:23 PM   #12
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
There are literally thousands of linux distributions, some of which even offer a dedicated media centre out of the box. If you understand what you are looking for in a distribution then have a poke around distrowatch.com and find one that meets you needs.

Generally, I'd recommend running a mainstream distribution because they get updated far more regularly than the more obscure ones (but that means nothing unless you actually update regularly; some do this automatically). If all you actually want is a distro' without a GUI, then pretty much any of the mainstream one will do. For example, Ubuntu is a notoriously GUI-driven distro' for the desktop, but you can still download an "alternative" install CD which gives you the option of installing a completely text-based system, without the X windows GUI (which you can find under xubuntu).
 
  


Reply



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
Red Hat Linux 9 install: error "No devices found to install ... gunneszz Red Hat 1 03-10-2008 04:52 AM
How to install teh rest of the Linux packages from USB drive after install? ArchW Linux - Newbie 4 03-07-2006 08:43 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 06:40 PM
How to install linux on a no-default-install-kernel-compatible controller ? DukeMC Linux - Hardware 2 11-20-2003 03:37 AM

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

All times are GMT -5. The time now is 02:05 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