This is how I do it all . . . with a script.
I created a post-install script for slackware 10.2, which makes it easy to configure certain aspects of slackware in about 1 minute.
The script is available at:
The reason was that I followed (and liked) shilo's guide for post-install every time I reinstalled and got tired of doing it manually.
There are some improvements however.
My script gives the option of:
*Configuring sound with ALSA
*Enabling PHP in Apache
*Creating initial permissions tables for MySQL
*Option of enabling network access to MySQL
*Installing postfix by removing sendmail and downloading/installing postfix slackpack
*Configuring postfix by answering some basic questions
*Setup a non-root user account
I use this script everytime I install slack. I hope it helps some people with configuring their slackware systems (especially newbies).
Only one caveat: If you don't use or need some of the things done in the script, you can comment them out (I use only one of my boxes for a mailserver, and use Qmail for that, and do not use MySQL at all, so I comment those sections out...Hate being asked about stuff I have no use for).
Looks like you're trying one for lilo too....That could be interesting....
But remember, folks, this is a starting script. Use it, but use all the other things you need to properly use the associated program.(Read the associated conf files, read the how-to's, etc...)
Select an option"
1. Initialize search database.
2. Configure CUPS printing system.
3. Configure ALSA sound system.
4. Configure FTP server (proftpd).
5. Enable POP3 server.
6. Enable IMAP server.
7. Enable/Configure apache web server.
8. Enable MySQL database server.
9. Install postfix SMTP server.
10. Configure postfix SMTP server.
11. Create a user account.
q for quit.
Looks pretty good. Will study abit more.....
That's a very nice script. I will use it next time. How long did it take you to put it together? Have you sent it to Patrick Volkerding? Maybe he'll include it with the distro..
Oh. That's good for analysing how to setup system and for learning sh. You should have spent a lot of hours making it. Thanks.
Just tried it on a blank box...Does a fine job
How about adding vsFTPd to the ftp section? I think Slack will pick it over proFTPd in a non "full" install. I'm guessing this is because it grew out of your personal preferences though.
It's a nice little script. I have a horrible feeling there's a re-install in my near future <shudder/> and fully intend to let it loose on a fresh install.
Thank you for your efforts.
Although not a handy-dandy script, the following might help too:
Updated the script (now includes vsftpd)
Updated my script, making it run smoother, and adding option for VSFTPD.
Menu presented to user looks as follows:
Hope somebody finds it useful (besides me).
Ok. Some suggestions here:
1) Ability to set mysql root password after mysqld setup
2) Changing ServerName not only in httpd.conf but also in mod_ssl.conf, also changing ServerAdmin email in both confs
3) Generating and signing own certificates after apache with mod_ssl setup
4) Some simple firewall setup
I haven't tried the script, but a suggestion nonetheless ;): maybe you could use the 'dialog' program to create the menu, giving it a Slack touch?
You are now my hero of the week!
I have been forced to use a Mandrake box for a specific project and we have been fighting with Postfix for about 5 hours (Mandrake and I tend to fight alot). We just needed to send mail from a script and we were jumping into Postfix blind (neither had a need to use it directly before), however, we had it running on Debian distro in about 20 min (my fav distro) but couldnt get Mandrake working.
A google search found your script, so I cut out the info for postfix, ran it, answered the questions and IT WORKED! I dont fully understand what the difference was between the two and why some tags worked on one distro but not the other, but honestly I dont care cause its working:-D We are able to send email from scripts and continue the project.
Anyway, just had to give you props on this script and to thank you for it!
Even non-Slackware people are benifiting!
I totally agree with everyone saying that this is a nice little script. Props to ya hombre. This is something of what I'm looking for except to secure a post full-installation of Slackware instead of open it up for business. I've found this little text that I'm following and trying to incorporate as you have done into a little script for myself.
I thought this was a decent setup for a fairly secure box. At least it gets a newbie like myself into the system a bit more anyway.
You should add these ideas to this thread:
|All times are GMT -5. The time now is 10:00 AM.|