... Elxis version 2009.3 codename Aphrodite is out, download it from Elxis Download Center (EDC) ...

Elxis shell preinstaller

From Elxis Official Documentation

Jump to: navigation, search

Contents

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.


Requirements

This script runs on Linux/Unix computers via an ssh terminal. Make sure unzip,wget and dos2unix commands 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.


Preparation

1) - Download (in a directory not accessible via web) the script through your secure-shell-terminal(SSH) by running the command: "wget -O elxispro.zip http://www.elxis-downloads.com/downloads/download.html?id=142"
and then run the command: "unzip elxispro.zip" to extract the script. as an alternative you can upload the shell script via ftp in a directory on your server (in a directory not accessible via web).
2) - Chmod it to 777 in order to have executable permissions. Run the command: "chmod 777 elxispro.sh"

Script execution

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. Run the command: "dos2unix elxispro.sh" and re-try.


A screen like the following will appear asking you to set the absolute path(No trailing slash) to the directory you wish Elxis to be installed. For safety if this path does not exist the script is terminated.
noframe


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.
noframe


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.
noframe

noframe


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.
noframe


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.

Read Also

Elxis shell preinstaller screencast

Personal tools