LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-18-2008, 02:43 AM   #1
reshmpv
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
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.
 
Old 08-18-2008, 02:52 AM   #2
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
hi,

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

thanks
shahz
 
Old 08-18-2008, 08:56 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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

Last edited by farslayer; 08-18-2008 at 09:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/usr/sbin/gpsd -n /dev/ttyS0 to run automatically like a service? aus-city Linux - Software 1 03-13-2007 06:03 PM
Run script automatically shipon_97 Linux - Newbie 2 08-20-2006 01:13 AM
How to run httpd service automatically during startup jojojo Fedora 3 06-21-2006 05:21 AM
How to run a command automatically on start up TKD SUSE / openSUSE 6 11-03-2005 05:41 AM
FTP service in Run Level 3 spelltoronto Linux - Newbie 2 08-15-2005 02:04 PM

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

All times are GMT -5. The time now is 11:41 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration