Debian Install Script

Identicon Image
Dennis Iversen
27-Apr-2010 17:40:03
0 Comments

Intro

Before you go any further, you should know that when executing the following script, that it will change your /etc/hosts file to include selected servername. This is done for quick set up of a complete system on Debian systems. If this is your first time install, you could take a look at the Step By Step Linux Install.

Save the attached script, make it executable, and execute it: It will clone the coscms from github, ask you some questions, load a profile, Create an apache2 virtual host, enable a database, clone all base modules and create a super user.

usage:

./install.sh www.yoursite.net

Before doing so, make sure you have all required dependencies

The script will ask some questions: You will be asked which profile to load. If you have not cloned other profiles into the profiles dir, then there is only the default profile. To see how to install another profile checkout how to install from profile

After the install you should also look at the config/config.ini file created in order to see all base settings. It should work right away, but if you want to set some e.g. development settings, then this is the place to edit. E.g. set SMTP as mail system server or set some development settings. Or set the default timezone or sessions length and a lot more. You can compare your config/config.ini with the config/config.ini-dist to see other options when writing the configuration file.

Install Script


Comments