< Ocs-server Revision as of 10:23, 26 June 2015 (view source)Snizzo (talk | contribs)m (→Final result)← Older edit Revision as of 15:52, 27 June 2015 (view source) Snizzo (talk | contribs) m (→Ubuntu)Newer edit → Line 5: Line 5: ===Ubuntu=== ===Ubuntu=== <syntaxhighlight lang="cpp"> <syntaxhighlight lang="cpp"> −sudo apt-get install libapache2-mod-php5 mysql-server php5-mysql phpmyadmin php5-gd+sudo apt-get install libapache2-mod-php5 mysql-server php5-mysql phpmyadmin php5-gd php5-curl </syntaxhighlight> </syntaxhighlight> Revision as of 15:52, 27 June 2015 Contents 1 Target system 2 Install distribution packages 2.1 Ubuntu 3 Enable URL rewriting 3.1 Ubuntu 4 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 Final result Now you can check your server is now working at http://localhost/. You are ready to follow the next tutorial. Retrieved from "https://community.kde.org/index.php?title=Ocs-server/Install/Configuring_a_webserver_as_host&oldid=42857" Content is available under Creative Commons License SA 4.0 unless otherwise noted.