/[gentoo]/xml/htdocs/doc/en/quick-samba-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/quick-samba-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.40 Revision 1.41
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.40 2008/05/02 04:46:22 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.41 2009/01/26 07:30:42 nightmorph Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/quick-samba-howto.xml"> 5<guide link="/doc/en/quick-samba-howto.xml">
6 6
7<title>Gentoo Samba3/CUPS HOWTO</title> 7<title>Gentoo Samba3/CUPS HOWTO</title>
23 23
24<!-- The content of this document is licensed under the CC-BY-SA license --> 24<!-- The content of this document is licensed under the CC-BY-SA license -->
25<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 25<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
26<license/> 26<license/>
27 27
28<version>1.25</version> 28<version>1.26</version>
29<date>2008-05-01</date> 29<date>2009-01-25</date>
30 30
31<chapter> 31<chapter>
32<title>Introduction to this HOWTO</title> 32<title>Introduction to this HOWTO</title>
33<section> 33<section>
34<title>Purpose</title> 34<title>Purpose</title>
141We will need the following: 141We will need the following:
142</p> 142</p>
143 143
144<ul> 144<ul>
145 <li>net-fs/samba</li> 145 <li>net-fs/samba</li>
146 <li>net-print/cups</li> 146 <li>net-print/cups (built with the <c>ppds</c> USE flag)</li>
147 <li>net-print/foomatic</li>
148 <li>net-print/hplip (if you have an HP printer)</li> 147 <li>net-print/hplip (if you have an HP printer)</li>
149 <li>A kernel of sorts (2.6)</li> 148 <li>A kernel of sorts (2.6)</li>
150 <li>A printer (PS or non-PS)</li> 149 <li>A printer (PS or non-PS)</li>
151 <li> 150 <li>
152 A working network (home/office/etc) consisting of more than one machine) 151 A working network (home/office/etc) consisting of more than one machine)
310<p> 309<p>
311To optimize performance, size and the time of the build, the USE flags are 310To optimize performance, size and the time of the build, the USE flags are
312specifically included or excluded. 311specifically included or excluded.
313</p> 312</p>
314 313
314<p>
315First, add <c>ppds</c> to your USE flags to make sure that when CUPS is built,
316it has proper foomatic support:
317</p>
318
319<pre caption="Adding ppds">
320# <i>echo "net-print/cups ppds" &gt;&gt; /etc/portage/package.use</i>
321</pre>
322
323<p>
324Now, emerge Samba:
325</p>
326
315<pre caption="Emerge Samba"> 327<pre caption="Emerge Samba">
316# <i>echo "net-fs/samba readline cups pam" &gt;&gt; /etc/portage/package.use</i> 328# <i>echo "net-fs/samba readline cups pam" &gt;&gt; /etc/portage/package.use</i>
317# <i>emerge net-fs/samba</i> 329# <i>emerge net-fs/samba</i>
318</pre> 330</pre>
319 331
320<p> 332<p>
321This will emerge Samba and CUPS (if CUPS is not already emerged). 333This will emerge Samba and CUPS.
322</p>
323
324</body>
325</section>
326<section>
327<title>Emerging foomatic</title>
328<body>
329
330<pre caption="Emerge foomatic">
331# <i>emerge net-print/foomatic</i>
332</pre> 334</p>
333 335
334</body> 336</body>
335</section> 337</section>
336<section> 338<section>
337<title>Emerging net-print/hplip</title> 339<title>Emerging net-print/hplip</title>

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20