Skip to content

Instantly share code, notes, and snippets.

@Nainterceptor
Last active August 29, 2015 13:56
Show Gist options
  • Save Nainterceptor/8963059 to your computer and use it in GitHub Desktop.
Save Nainterceptor/8963059 to your computer and use it in GitHub Desktop.
Short note to install Rubedo on OVH Debian 7 x64 VPS

Install Softwares

First, follow http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/

# apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
# echo 'deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list
# wget http://repos.zend.com/zend.key -O- |apt-key add -
# echo 'deb http://repos.zend.com/zend-server/6.2/deb_ssl1.0 server non-free' | tee /etc/apt/sources.list.d/zend-server.list
# apt-get update
# apt-get dist-upgrade
# apt-get install zend-server-php-5.4 mongodb-10gen vim-nox openjdk-7-jre sudo git
# service mongodb start

Add user

# adduser webmaster
# usermod -a -G sudo webmaster
# su webmaster
$ cd
$ git clone https://github.com/WebTales/rubedo.git

Configure Zend Server

go to http://myIP:10081 and follow install steps
Configuration > PHP > Enable mongo
Change timezone in Date (Europe/Paris)
(Optional) Disable Zend Debugger
Restart Zend Server

$ sudo vi /etc/profile

Add to end of file :

PATH=$PATH:/usr/local/zend/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib


$ source /etc/profile
$ sudo vi /etc/apache2/sites-available/default

edit like http://www.rubedo-project.org/accueil/ressources-rubedo/telechargement-rubedo#PreRequisites

(path /home/webmaster/rubedo)

$ sudo service zend-server restart

Install ElasticSearch

$ wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.10.deb
$ sudo dpkg -i elasticsearch-0.90.10.deb


$ cd /usr/share/elasticsearch/
$ sudo bin/plugin -install elasticsearch/elasticsearch-mapper-attachments/1.9.0
$ sudo bin/plugin -install elasticsearch/elasticsearch-analysis-icu/1.13.0
$ sudo service elasticsearch restart

Install Rubedo

$ cd ~/rubedo
$ ./rubedo.sh

go to http://ip/install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment