< Ocs-serverRevision as of 16:07, 17 July 2015 by Snizzo (talk | contribs) (→Get latest source)(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) Contents 1 Target system 2 Install distribution packages 2.1 Ubuntu 3 Enable URL rewriting 3.1 Ubuntu 4 Get latest source 5 Final result Target system This guide is inteded to use with Ubuntu and may use Ubuntu only commands. It can be adapted to other distros however. If you want to help adding support for other distributions please feel free to edit this page. Install distribution packages Ubuntu sudo apt-get install libapache2-mod-php5 mysql-server php5-mysql phpmyadmin php5-gd php5-curl Enable URL rewriting Ubuntu sudo a2enmod rewrite Now open your server configuration file with your preferred text editor: sudo nano /etc/apache2/apache2.conf Now change those line of code when Directory is / or /var/www: AllowOverride None with: AllowOverride All And restart your web server: sudo service apache2 restart Get latest source Grab a copy of ocs-server by cloning our public repository into the DocumentRoot of your server. Keep in mind the OCS protocol is made to work on the document root of this type: http://www.example.com or this: http://localhost. If you have other websites on the same server, we suggest you to put it in a subdomain like http://ocs.example.com. Navigate to your DocumentRoot: cd /var/www/html Clone ocs-server git repository: git clone git://anongit.kde.org/ocs-server.git Copy everything to your server root: cp -r ocs-server/* . Final result Ocs-server should be installed and working. Check the homepage, usually http://localhost/ or your domain of choice. In the homepage there are several useful links for both end-users and developers. You are ready to follow the First run wizard tutorial. Retrieved from "https://community.kde.org/index.php?title=Ocs-server/Install/Configuring_a_webserver_as_host&oldid=43140" Content is available under Creative Commons License SA 4.0 unless otherwise noted.