View previous topic :: View next topic |
Author |
Message |
Sven Vermeulen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d5e02e493e22b9c75ed22.gif)
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Sat Oct 31, 2009 2:46 pm Post subject: Linux Sea - Complete Linux handbook with Gentoo as OS |
|
|
Hi all,
I've been writing an online handbook on using GNU/Linux (mainly command-line driven). The idea was to elaborate a bit more on the Linux architecture (processes, file system, users and permissions, etc.) and use Gentoo Linux as the distribution to show the various aspects. Although the document is still far from "production-ready" (read: it still needs lots of information, many parts need to be written more elaborate, etc.) I believe it is quite usable for many people already.
The document is available online, a PDF version is available as well. I'd like to know what you think about the document. Mind you, it is not my intention to bring in the graphical aspects of (Gentoo) Linux (of course, extending the current introduction is possible). _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yttrium n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Oct 2009 Posts: 29 Location: Germany
|
Posted: Sat Oct 31, 2009 7:56 pm Post subject: |
|
|
Great! It's written very nice (I've only read parts of it though). I started using gentoo (and linux in general) ~6-12 months ago. It would have been great if I knew this before, because I spent a lot of time getting more or less simple tasks to work. There's still much I can learn from it now and I am surely going to read more of it. I'll recommend this to everyone who wants to know more about linux.
I also like the included exercises and that it focuses important commands and principles: It follows a central theme and might even answer questions you don't even know you've had.
I guess you've spent much time on it. Thanks for sharing this! _________________ LILA - Live Iptables Log Analyzer |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
XQYZ Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/5159673414bb39456a56ff.gif)
Joined: 19 Jul 2009 Posts: 231 Location: Europe
|
Posted: Sat Oct 31, 2009 8:10 pm Post subject: |
|
|
Looks great, I bet I'll be able to learn some new tricks from it, so thanks a lot for making it available for us. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mike Hunt Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/12877866224a789a1531159.jpg)
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Tue Nov 03, 2009 3:38 am Post subject: |
|
|
I've been using it for a while, especially chapter 7 - Manually Configuring a Kernel. The step-by-step guidance helped me get a small, fast, very efficient kernel. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ppurka Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Tue Nov 03, 2009 5:39 am Post subject: |
|
|
Very nice documentation. Thank you! _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sven Vermeulen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d5e02e493e22b9c75ed22.gif)
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Tue Nov 03, 2009 10:05 am Post subject: |
|
|
Talking about the kernel configuration, I'm going to update this in the near future with information on using Pappy's kernel seeds (they are popular and well designed) for the default settings. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
unixbhaskar Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/12810050744adc0068968f7.png)
Joined: 29 Nov 2007 Posts: 119 Location: India
|
Posted: Sat Nov 07, 2009 2:38 am Post subject: thankx for your effort Sven |
|
|
Kudo to you.
Keep up the good work man! ![Smile :)](images/smiles/icon_smile.gif) _________________ Musing with GNU/Linux
Lenovo Thinkpad x250
x86_64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz GenuineIntel GNU/Linux
RAM : 8 GB
Kernel :Latest customized kernel
OS: Gentoo/Arch/Slackware/Debian/openSUSE/Fedora
Intel 965GM Chipset |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
few Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 03 Mar 2008 Posts: 448
|
Posted: Sat Nov 07, 2009 9:39 am Post subject: |
|
|
I have some notes about chapter 9.
In chapter 9 -> "Masked Packages"
At least masked by backtracking, by license and by EAPI are missing.
In chapter 9 -> "Uninstalling Software"
You use emerge -C when there are better alternatives. -C is only for cases when emerge --depclean doesn't want to remove it and you know what you are doing. First use
emerge --deselect <pkg>
to get it out of your world file and then either use
emerge --depclean
or
emerge --depclean <pkg>
In chapter 9 -> "Compiler Directives"
I would prefer -march="native". You might want to mention -mtune.
In chapter 9 -> "Portage Behavior"
You suggest using FEATURES="collision-protect" when emerge changed the default to FEATURES="-collision-protect protect-owned".
You might want to mention FEATURES="buildsyspkg".
In chapter 9 -> "Switching System Profiles"
There is a footnote talking about virtuals. This footnote only applies to old style virtuals.
other ideas for chapter 9:
You might want to mention app-portage/autounmask. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sera Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 29 Feb 2008 Posts: 1017 Location: CET
|
Posted: Sat Nov 07, 2009 10:25 am Post subject: |
|
|
Holy cow! Amazing what you have put together.
One of the more difficult concepts in Linux is the split between OS and WM/DM and the accompanying diversity. Mentioning Gnome and KDE is a must, but having xfce as the only other example isn't sufficient as this one fits in the very same category.
It would be nice if you could expand on this chapter. Wikipedia has a nice article: http://en.wikipedia.org/wiki/Window_manager
As we are talking about Gentoo mentioning Xresourses and app-defaults would probably fit this guide as well.
Keep it up. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sun Nov 08, 2009 5:32 am Post subject: |
|
|
Thanks for this great book ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aidanjt Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/7201124414f1a4ed204f8d.jpg)
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sun Nov 08, 2009 7:06 pm Post subject: |
|
|
Good work.
One thing I'd like to see in.. well.. any Linux documentation is a crash course in email handling (both local delivery and forwarding). _________________
juniper wrote: | you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault. |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pappy_mcfae Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2063135933479eedb93987b.jpg)
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sun Nov 08, 2009 8:19 pm Post subject: |
|
|
Sven Vermeulen,
I am very honored by your words. Thank you for including my project in yours.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Nov 09, 2009 2:33 am Post subject: |
|
|
Yep, Pappy is doing a great job ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mjf55 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/666913975479a9ac1a7b6d.gif)
Joined: 25 Aug 2007 Posts: 372
|
Posted: Sat Nov 14, 2009 6:35 pm Post subject: |
|
|
Wow, great information, well written. Kernel configurations have always been problematic for me, now with your help in the book, those days will be gone. Thank you.... _________________ Mark
No longer a n00b, but still a 'Kool Kid' wannabe |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Nov 16, 2009 1:07 am Post subject: |
|
|
In fact, nowdays we need some extra info when we configure a kernel,because each time that there is a new kernel, there is a lot of new stuff ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cach0rr0 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/14936637654ee19d6630f96.gif)
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sven Vermeulen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d5e02e493e22b9c75ed22.gif)
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Nov 20, 2009 9:51 pm Post subject: |
|
|
few wrote: | I have some notes about chapter 9.
In chapter 9 -> "Masked Packages"
At least masked by backtracking, by license and by EAPI are missing.
|
These functions are only available from Portage 2.2 onwards. I'm waiting with integrating this in the documentation until Portage 2.2 (or higher) is generally available. At that time, I will probably rewrite some paragraphs with new (imo better) best practices for Gentoo.
few wrote: |
In chapter 9 -> "Switching System Profiles"
There is a footnote talking about virtuals. This footnote only applies to old style virtuals.
|
I'm not sure what you mean with this. Are there many types of virtuals?
Thank you for your feedback. Your other proposals have been integrated. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sven Vermeulen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d5e02e493e22b9c75ed22.gif)
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Nov 20, 2009 9:54 pm Post subject: |
|
|
sera wrote: | Holy cow! Amazing what you have put together.
One of the more difficult concepts in Linux is the split between OS and WM/DM and the accompanying diversity. Mentioning Gnome and KDE is a must, but having xfce as the only other example isn't sufficient as this one fits in the very same category.
It would be nice if you could expand on this chapter. Wikipedia has a nice article: http://en.wikipedia.org/wiki/Window_manager
As we are talking about Gentoo mentioning Xresourses and app-defaults would probably fit this guide as well.
Keep it up. |
You're right about the window managers versus desktop environments. I do talk about window managers at the beginning, but leave it at a single paragraph as most users use desktop environments anyway. There should definitely be a "Going Graphical Gentoo" explaining (Gentoo) Linux fully graphically, and only resorting to the console for rescue operations. Sadly, I'm one of those people who have little experience with graphical environments (I'm on Xfce just for firefox, all the other things I do are within uxterm with screen). _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sven Vermeulen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d5e02e493e22b9c75ed22.gif)
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Nov 20, 2009 9:55 pm Post subject: |
|
|
AidanJT wrote: |
One thing I'd like to see in.. well.. any Linux documentation is a crash course in email handling (both local delivery and forwarding). |
Good suggestion... although I'm not sure if local delivery / forwarding is something I want to include at this point. Rather, most users would probably have enough "work" with integrating their e-mail client with the IMAP server of their provider.
I think I'll sit on this for a few days ![Wink ;-)](images/smiles/icon_wink.gif) _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nenemsis5 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2007 Posts: 72
|
Posted: Thu Nov 26, 2009 10:27 am Post subject: |
|
|
nice book . thanks alot could u try to make an pdf with an index plz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sven Vermeulen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d5e02e493e22b9c75ed22.gif)
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Thu Nov 26, 2009 4:51 pm Post subject: |
|
|
Hi nemesis5,
The PDF can be downloaded and has an index. _________________ Please add "[solved]" to the initial topic title when it is solved. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slangdaddy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/183216007449a31ba34ea1d.jpg)
Joined: 17 Jul 2007 Posts: 73 Location: Braunschweig
|
Posted: Thu Nov 26, 2009 7:25 pm Post subject: |
|
|
Hi Sven,
I just read the intriduction of your book and I have to say that I like it very much. I see that you use docbook to create the web pages, would you mind to share the sources ? I am using docbook for some documents at work and would like to see how other people use it.
Also, I'd like to translate your book into German, If you're interested. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sera Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 29 Feb 2008 Posts: 1017 Location: CET
|
Posted: Fri Nov 27, 2009 11:37 am Post subject: |
|
|
Hi Sven,
I went through the alsa section and have a few comments I'd like to add.
The default setup comes with the dmix plugin enabled. And most of the time there is nothing to be done at all. Also the default pcm devices could be mentioned.
The command aplay -l (instead of cat /proc/asound/cards maybe) and aplay -L could be mentioned too as they give quite a good overview of your hardware and pcm devices.
What are pcm devices/streams? If you can put that in words would be just great and probably unique on the whole Internet.
What happens if two different soundservers are needed at the same time because the stupid apps won't talk to alsa directly or to the other soundserver. How to setup those two? One using the other or both using dmix. Setting the useflags for soundservers when they are not required is asking for troubles in my experience.
Using alsactl when /etc/asound.conf and /.asoundrc can do the same is in my eyes wrong for fix setups. Alsactl is more of an audio development tool. The api at http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html for the default plugins and the files at /usr/share/alsa/ the pcm concept covers most of what's needed to understand the a bit special configuration system.
Instead of using the asound init script or alsactl one can for instance have a script or initscript asoundPPHome containing:
Code: | amixer set Master 60% unmute |
one asoundPPOffice containing:
Code: | amixer set Master 20% unmute |
and one asoundPPParty containing:
Code: | amixer set Master 100% unmute |
This way you can have profiles and you do not run the risk of a very noisy startup of your laptop in a library.
A common use case is to upmix 2.0 to 5.1. An example on how to do that could be discussed and shed some more light on configuring alsa.
If you know of a good way to search for third party plugins like a low-pass filter (which would be needed for the upmixing example) would be nice as this is something I struggle myself.
Hope you can use some of the above.
Cheers,
sera
PS: About the wm/dm thingy, I meant all that people want is a wm plus a set of tools and that a dm is nothing more than a bundle of a wm plus a fix set of tools and this is a huge conceptual difference to MS. Not knowing you can choose that fine grained many think there is kde or gnome and nothing beside that. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nenemsis5 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Oct 2007 Posts: 72
|
Posted: Fri Jan 15, 2010 1:43 am Post subject: |
|
|
would be nice if we can make this book to an wiki and ppl can all time update it. why not make it to open source document too. XD |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoo-dev Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 24 Jan 2006 Posts: 172
|
Posted: Fri Jan 15, 2010 11:43 am Post subject: |
|
|
nenemsis5 wrote: | would be nice if we can make this book to an wiki and ppl can all time update it. why not make it to open source document too. XD | Did you read it from the very beginning? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|