Installation [Debian Wheezy] - mwojcikowski/discus GitHub Wiki
1. Install dependencies
apt-get install php5 php5-dev php5-xcache apache2 phpmyadmin mysql-server libmysqld-dev libmysqlclient-dev git swig cmake
2. (optional) bonjour to resolve host names
apt-get -y install avahi-daemon libnss-mdns
3. Install dependencies for OB compilation
apt-get -y build-dep openbabel
4. Download Openbabel and Mychem (using discus-deploy repository)
git clone --recursive https://github.com/mwojcikowski/discus-deploy.git discus-deploy
5. Compile and global install Openbabel and Mychem
cd discus-deploy
./compile_ob
cd openbabel-build && make install && cd ..
./compile_mychem
cd mychem-build && make install && cd ..
mysql -u root -p < mychem/src/mychemdb.sql
6. Create MySQL user for DiSCuS
You can do it via CLI or via PhpMyAdmin
7. Get DiSCuS code
cd /var/www
git clone https://github.com/mwojcikowski/discus.git discus
8. Open your instance of DiSCuS in web browser and proceed with installation.
http://YOUR_HOSTNAME_OR_IP/discus/
9. DiSCuS is ready for use
Note: additional setup might be necessary for some plugins, f.e. you must get and copy your Xscore code, install Tripos Sybyl on host, etc.