We have created a very easy to use setup.sh script which allows you to choose which software to install at once. There are four options to choose during the installation:
Once you have downloaded the script, make sure it is executable. Also all commands displayed below need to be run under the root account (sudo):
chmod +x setup.sh
If you have selinux enabled, it is highly recommended that you disable it by editing /etc/selinux/config and setting SELINUX=disabled. For more information you can check out http://www.crypt.gen.nz/selinux/disable_selinux.html.
Type the following command to start the script.
You will be given 4 options. Select/unselect any entry by typing the corresponding number 1, 2, 3 or 4. To proceed with the installation type "y". To cancel, type "n".
yum install csh
yum install gcc gcc-c++ libgcrypt-devel ncurses-devel php-devel
yum install apr apr-util httpd httpd-devel mod_ssl php nginx
CUBRID service will be installed by default. To start the service, type:
service cubrid start
To stop the service, type:
service cubrid stop
To restart the service, type:
service cubrid restart
First, create an SQL file called change_password.sql (or any name you want) and add the following line into it. Replace 'any_password_here' with your desired password.
ALTER USER dba PASSWORD 'any_password_here';
Run the following command where XE is the name of the database. You can change it if necessary.
cubrid createdb --csql-initialization-file=change_password.sql XE
The default user is "dba".
Alternative to a command line, if you have a GUI, you can use CUBRID Manager locally or for remote database administration. In case of remote administration, make sure the following ports are open on the server side.
If you have chosen to install XE CMS, go to http://localhost/xe and finish the installation. This step assumes that you have already created a database in the previous step.