Roller
From Oxxus Wiki
Contents |
Installing Roller on your hosting account
Before installation, you need to visit Apache roller website. Download a zip file, and unpack it into /opt directory. You will see a folder apache-roller-X.0 If you are considering a hosting for your roller blog, our java hosting page gives you various hosting options.
This is a five step simple explanation about the installation.
Step one: Creating a database
MySQL is preinstalled on our hosting environment, and all you have to do is tap into the mysql client and create a database. For references how to setup MySQL environment, please visit our MySQL wiki.
mysql -u root -ppassword # replace password with your actual password create database rollerblog; grant all privileges on rollerblog.* to rollerblog@localhost identified by 'password'; flush privileges;
Again, replace password with actual password for user rollerblog
Step two: Install Tomcat
Shortly, with one command, you will be able to install Tomcat on your VPS. Type: yum -y install eroute-tomcat6
and you are done.
Step three: Make a properties file
You need to create properties file with an editor of your choice in the lib/ directory. Create a file named roller-custom.properties with the following content:
installation.type=auto database.configurationType=jdbc database.jdbc.driverClass=JDBC database.jdbc.connectionURL=jdbc://localhost:3306/rollerdb?auto_Reconnect=true database.jdbc.username=rollerblog database.jdbc.password=password mail.configurationType=properties mail.hostname=localhost
Step four: Copy roller directory
You will find roller directory in your unpacked roller directory's webapps folder. You need to go there and copy roller directory to tomcat's webapps. Once in there, type:
cp -r roller /var/tomcat6/webapps/
Step five: Start everything
Now, when it's all done, you need to start mail server and Tomcat, and you are up and running.
service postfix start service tomcat6 start
Go to the url http://yoruip/roller/ and installation will be automatic. This is all you need to have your Apache Java Blog up and running. The complete requirements for Roller hosting will assist to be on the right way fast.