General Community > Scripting Help

Almost Automatic WebServer Installer

(1/1)

Yoshi:
I wanted to install a complete webserver on my laptop, but I'm too lazy to install the stuff myself. So I wrote this little script which installs Apache 2, PHP 5 and MySQL along with phpmyadmin and the links for you.

System Requirements
- A Linux operating system with APT-GET command (aka APT packager)
- Working internet connection
- A terminal

How to use
Place the file anywhere you like, mark it as executable (Right click > Properties > Rights > Allow execution) and run it from a terminal WITH SUDO (you can drag and drop the file in the terminal after you typed "sudo " (no the space is not a typo)). So if you have it in your Downloads folder:


--- Code: ---sudo ~/Downloads/installWebServer.sh
--- End code ---

The installers for MySQL and phpMyAdmin will ask you a few things.

You can also run the installer to update the components installed.

Tested on
- Linux Mint 13 Cinnamon 64-bit as main OS
- Ubuntu 12.04 64-bit in VirtualBox

Try it out, and please report bugs to me :)

CoreISP:
Far as I can see it calls the apt-get commands, might as well do it through the guided package manager.

MrPhil:
How is this an improvement over WAMPP, XAMPP, LAMPP, etc. packages? What does it do differently?

Yoshi:

--- Quote from: CoreISP on June 17, 2012, 11:12:34 AM ---Far as I can see it calls the apt-get commands, might as well do it through the guided package manager.

--- End quote ---
Yes but that's the point, it installs everything for you without having to search for the packages yourself :)


--- Quote from: MrPhil on June 17, 2012, 11:21:04 AM ---How is this an improvement over WAMPP, XAMPP, LAMPP, etc. packages? What does it do differently?

--- End quote ---
No idea, I just feel like installing the crap myself instead of having it delivered in a package, lmao. This type of configuration is quite faster on my laptop then XAMPP or the others, though.

Navigation

[0] Message Index

Go to full version