OpenSUSE Linux Tips, tricks, how-tos, opinions, and news
My Resume - My LinkedIn Profile - twitter: @scottmmorrisWe have a special treat for anyone who manages or installs multiple machines running Linux, Apache, Mysql, and PHP. This would also be known as the LAMP stack. I got sick of having to install all that by hand every time I was putting another LAMP server together. What I have done is put together a small bash script that will automate the process of installing Apache, MySQL, and PHP. It also adds them to the init scripts, and actually starts up the MySQL and Apache services. All you have to do is set up your MySQL root password, and you are set to go. This script is available here for anyone who may find it useful. It should be easily modifiable to install perl or python for users of those tools.
Download the script here. Extract with command: “tar -jxvf install-lamp-stack.sh.tar.bz2″
Generally, when installing a new machine, I actually use this script I put together to automate the insertion of YAST Installation Sources as well. Run the Installation Sources script first, and then the LAMP stack script, and you’ll be 90% of the way to having yourself a web server.
If you enjoyed this post, make sure you subscribe to my RSS feed!| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | ||||||
51 queries. 0.564 seconds
June 21st, 2007 at 11:33 pm
So why aren’t you building an rpm and using rug/yum to install it instead of making someone extract your tool? Also, I believe you could have left the -j option off the extraction. The new version of tar detects compressed versions automagically.
June 21st, 2007 at 11:34 pm
Oh, and YAST sucks! Use rug! (yes, I know you have to use yast for many things, it still sucks!)
June 22nd, 2007 at 7:50 am
Hey, Clint, what’s up, man?!
Yep, I get that a lot from people. I guess it just doesn’t seem to bother me like it does many others. Er maybe I’m just a n00b. Either way, have a good one, and thanks for stopping by.