LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run a script that will automatically start FTP service after installation? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-a-script-that-will-automatically-start-ftp-service-after-installation-663508/)

reshmpv 08-18-2008 01:43 AM

How to run a script that will automatically start FTP service after installation?
 
Hi,

I am trying to do a automatic installation of linux using preseed in ubuntu. I need to run a script that will configure and start FTP service in the system soon after installation. I need the script to run only after installation and not for every boot/login. Could anyone please suggest a method to do this?

Thank You in Advance.

shahz 08-18-2008 01:52 AM

hi,

but why you need a script to do a work like this which can be done in minutes

thanks
shahz

farslayer 08-18-2008 07:56 AM

for Preeseed it looks like you can add other packages..
Preseeding other packages
Run scripts, and load config files

Their docs could be a bit more informative....


the Example preseed config script also shos how to add additional packages.

Code:

# Individual additional packages to install
#d-i pkgsel/include string openssh-server build-essential


Preseed Looks like a stripped down version of FAI. If you can't figure out how to get preseed to handle your custom package selection take a look at FAI for Debian, it should be able to do what you want...

http://www.informatik.uni-koeln.de/fai/
Quote:


FAI is an automated installation tool to install or deploy Debian GNU/Linux and other distributions on a bunch of different hosts or a Cluster. It's more flexible than other tools like kickstart for Red Hat, autoyast and alice for SuSE or Jumpstart for SUN Solaris. FAI can also be used for configuration management of a running system.

You can take one or more virgin PCs, turn on the power and after a few minutes Linux is installed, configured and running on all your machines, without any interaction necessary


All times are GMT -5. The time now is 04:27 AM.