Guides
Developers guides
Elxis shell pre-installer how-to
This shell script downloads automatically Elxis CMS latest version and prepares it for installation in a couple of seconds. A handy tool for any web server admin that will save you a lot of time. The script is interactive and asks you some questions such as where you wish to install elxis, which owner to apply on files, etc. In case of error, or in case you select to stop the procedure the script is terminated. You can download Elxis shell pre-installer v.1 for free from Elxis Downloads Center.
This script runs on Linux/Unix computers via an ssh terminal. Make sure unzip command is available on your system before executing this script and that you have the nessessary previledges on the system. A step by-step usage guide follows.
Upload the shell script in a directory on your server (in a directory not accessible via web).
Chmod it to 777 in order to have executable permissions. Each time you wish to install Elxis CMS on a web site in your server you should navigate to that directory.
chmod 777 elxispro.sh
To initialaze the script just type:
./elxispro.sh
If you get an error regarding bad file format, use the unix command dos2unix to convert the file format from DOS/MAC to UNIX and re-try.
dos2unix elxispro.sh
A screen like the following will appear asking you to set the absolute path to the directory you wish Elxis to be installed.
For safety if this path does not exist the script is terminated.

After typing the installation path the script will ask you to confirm that path. Write y to confirm and continue or n to cancel and terminate the script.

The script will now automatically detect and download the Elxis CMS latest version from elxis.org
and unzip it in a temporary folder. After that it will prompt you to set the proper owner on files. You will be asked
for the proper user and the proper group. Elxis shell pre-installer will automatically detect the proper values and propose them to you, so just press enter to accept the proposed values or write your owns.


The installer will apply the proper ownership to files and set the recommended by Elxis Team permissions on all Elxis files and directories. The script makes writable the minimum files and directories needed in order Elxis to function properly and securely.

That's it, we finished! You can now navigate with your browser to the directory
you just copied Elxis and run the Elxis installer as usual.
Download Elxis shell pre-installer v.1
For support please visit the Elxis forums.
The script was written by Ioannis Sannos on behalf of the Elxis Team.