<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Auto Install for Mandrakelinux</TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0 (Linux)"> <META NAME="AUTHOR" CONTENT="David Eastcott"> <META NAME="CREATED" CONTENT="20040221;10385500"> <META NAME="CHANGEDBY" CONTENT="David Eastcott"> <META NAME="CHANGED" CONTENT="20040502;8530300"> <META NAME="CLASSIFICATION" CONTENT="DrakX Auto Install Reference"> <META NAME="KEYWORDS" CONTENT="DrakX Autoinstall"> <STYLE> <!-- @page { size: 8.5in 11in; margin: 1in } P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } P.western { font-size: 10pt; font-weight: medium } P.text-body-indent-western { margin-left: 0.2in; font-size: 10pt; font-weight: medium } P.text-body-indent-cjk { margin-left: 0.2in } P.text-body-indent-ctl { margin-left: 0.2in } H1 { margin-bottom: 0.08in; page-break-before: always } H1.western { font-family: "Times" } H1.cjk { font-family: "Mincho"; font-size: 16pt } H1.ctl { font-family: "Lucidasans"; font-size: 16pt } H2 { margin-bottom: 0.08in; page-break-before: auto } H2.western { font-family: "Times"; font-style: normal } H2.cjk { font-family: "Mincho"; font-size: 14pt; font-style: italic } H2.ctl { font-size: 14pt; font-style: italic } H3 { margin-bottom: 0.08in; page-break-before: auto } H3.western { font-family: "Times" } H3.cjk { font-family: "Mincho" } H4 { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } H4.western { font-family: "Times"; font-style: normal } H4.cjk { font-family: "Mincho"; font-size: 11pt; font-style: italic } H4.ctl { font-size: 11pt; font-style: italic } TD P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TD P.western { font-size: 10pt; font-weight: medium } TH P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TH P.western { font-size: 10pt; font-style: italic } TH P.cjk { font-style: italic } TH P.ctl { font-style: italic } P.headings-special-western { margin-top: 0.3in; margin-bottom: 0.1in; font-size: 10pt; font-weight: bold; page-break-after: avoid } P.headings-special-cjk { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.headings-special-ctl { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.closecode-western { margin-left: 1in; margin-bottom: 0in; font-family: "Courier", monospace; font-size: 9pt; font-weight: medium } P.closecode-cjk { margin-left: 1in; margin-bottom: 0in } P.closecode-ctl { margin-left: 1in; margin-bottom: 0in } P.coderef-western { margin-left: 1in; margin-bottom: 0.08in; font-family: "Courier", monospace; font-size: 10pt; font-weight: medium } P.coderef-cjk { margin-left: 1in; margin-bottom: 0.08in } P.coderef-ctl { margin-left: 1in; margin-bottom: 0.08in } --> </STYLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TH COLSPAN="3" ALIGN="CENTER"> Auto Install for Mandrakelinux</TH></TR><TR> <TD WIDTH="10%" ALIGN="LEFT" VALIGN="BOTTOM"> <A HREF="section4-28.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD> <TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM"> <A HREF="section4-30.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%"> <H2 CLASS="western" STYLE="page-break-before: always"><A NAME="services"></A> services</H2> <P CLASS="western" STYLE="margin-bottom: 0.15in">This option is used to specify exactly which services are to be started at boot up. This is a tough one to describe since the services that are started at boot up are dependent on what you installed. However, the general form is as follows:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">'services' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western"> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'<name of service>',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'<name of service>'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">],</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Descriptions:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=266> <COL WIDTH=581> <TR VALIGN=TOP> <TD WIDTH=266 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'<name of service>'</FONT></P> </TD> <TD WIDTH=581> <P CLASS="western" STYLE="margin-left: 0in">This is a list of service names (the ones in <FONT FACE="Courier, monospace">/etc/rc.d/init.d</FONT>) which you want automatically started. </P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-bottom: 0.15in">DrakX determines what services are present in the <FONT FACE="Courier, monospace">/etc/rc.d/init.d</FONT> directory and it runs <BR><FONT FACE="Courier, monospace">'chkconfig --add ...'</FONT> for the ones you list, and <FONT FACE="Courier, monospace">'chkconfig --del ...'</FONT> for those that are installed but you did not list. The following is a brief summary of the services that are possible (see the file <FONT FACE="Courier, monospace">Mandrake/mdkinst/use/bin/perl-install/services.pm</FONT> for details):</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=241> <COL WIDTH=606> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western">Printing </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><FONT FACE="Courier, monospace">cups cupslpd lpr lpd oki4daemon hpoj cups-lpd</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western">Internet </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><FONT FACE="Courier, monospace">httpd boa tux roxen ftp pftp tftp proftpd wu-ftpd pure-ftpdipsec proftpd-xinetd ipchains iptables ipvsadm isdn4linux ibod jabber jabber-icq adsl squid portsentry prelude nessusd junkbuster radvd cddbp ippl iptoip jail.init</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western">File sharing </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><FONT FACE="Courier, monospace">nfs nfslock smb nettalk netfs mcserv autofs amd venus.init auth2.init codasrv.init update.init swat</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western">System </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><FONT FACE="Courier, monospace">usb usbd pcmcia irda xinetd inetd kudzu harddrake apmd sound network xfs alsa functions halt kheader killall mandrake_everytime mandrake_firstime random rawdevices single keytable syslog crond medusa-init portmap acon anacron atd gpm psacct wine acpid numlock jserver sensors mosix bpowerd bpowerfail fcron powertweak.init ups syslog-ng cvs apcupsd</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><FONT FACE="Courier, monospace">devfsd dm</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western">Remote Administration</P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><FONT FACE="Courier, monospace">sshd telnetd telnet rsh rlogin rexec webmin cfd heartbeat ldirectord iplog mon vncserver netsaint olympusd drakxtools_http</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=241 HEIGHT=48> <P CLASS="western">Database Server</P> </TD> <TD WIDTH=606> <P CLASS="western" STYLE="margin-left: 0in"><FONT FACE="Courier, monospace">mysql postgresql</FONT></P> </TD> </TR> </TABLE> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=788> <TR VALIGN=TOP> <TD WIDTH=60> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_m199b468e.png" NAME="Graphic37" ALIGN=LEFT WIDTH=29 HEIGHT=28 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=788> <P CLASS="western">Do <B>NOT</B> include <FONT FACE="Courier, monospace">mandrake_firstime</FONT> or <FONT FACE="Courier, monospace">mandrake_everytime</FONT> in your list, they are automatically handled by the scripts <FONT FACE="Courier, monospace">rc.local</FONT> and <FONT FACE="Courier, monospace">rc.sysinit</FONT>, respectively.</P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=787> <TR VALIGN=TOP> <TD WIDTH=60> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic80" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=787> <P CLASS="western">To get the <FONT FACE="Courier, monospace">'services' => ...</FONT> included in the generated configuration file (on floppy, in the images, or <FONT FACE="Courier, monospace">/root/drakx/auto_inst.cfg.pl</FONT>), you have to click on the Configure button associated with Configure Services on the Summary screen during the initial GUI installation. Alternately, you can look in the directory <FONT FACE="Courier, monospace">/etc/rc.d/rc5.d</FONT> and create the entry by examining the files listed with <FONT FACE="Courier, monospace">“S??<name of service>”</FONT> where <FONT FACE="Courier, monospace"><name of service></FONT> also appears in the <FONT FACE="Courier, monospace">/etc/rc.d/init.d</FONT> directory.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Examples:</P> <P CLASS="western" STYLE="margin-bottom: 0.15in">A simple example:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">'services' => [ </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'syslog',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'xfs',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'network',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'portmap'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">],</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Related Option Entries:</P> <P CLASS="western"><A HREF="section4-6.html#compssListLevel"><B><I>compssListLevel</I></B></A>, <A HREF="section4-7.html#compssUsersChoice"><B><I>compssUsersChoice</I></B></A>, <A HREF="section4-8.html#default_packages"><B><I><FONT COLOR="#000080">default_packages</FONT></I></B></A>, <A HREF="section4-22.html#nomouseprobe"><B><I>nomouseprobe</I></B></A></P> <P CLASS="western"><BR><BR> </P> <HR ALIGN="LEFT" WIDTH="100%"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP"><A HREF="section4-28.html">Prev</A></TD><TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"><A HREF="index.html">Home</A></TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP"><A HREF="section4-30.html">Next</A></TD></TR> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">security_user</TD> <TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"> </TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">superuser</TD></TR></TABLE> </BODY> </HTML>