Running Redaxo 4.4.x On Nginx (LEMP) On Debian Wheezy/Ubuntu 12.10 - Page 2
On this page
Next you can select if you want to start with an empty Redaxo site (select Setup database), or if you'd like to have some demo data installed to play with - in this case select Import REDAXO 4.4 export [Import Demo] and choose an SQL dump to import:
Next specify an admin login and click on Proceed to step 5:
Your Redaxo installation is now complete:
You can reach the backend under http://www.example.com/redaxo/index.php:
This is how the backend looks:
To enable real URLs, we need to install one of the real URL addons from http://www.redaxo.org/de/download/addons/. I choose the realurl addon here. For Redaxo 4.4, it can be installed as follows:
First go to the redaxo/include/addons/ directory:
cd /var/www/www.example.com/web/redaxo/include/addons/
Download, unzip and chown the addon:
wget http://www.redaxo.org/files/realurl_remastered_27.zip
unzip realurl_remastered_27.zip
chown www-data:www-data realurl_remastered
rm -f realurl_remastered_27.zip
Next open install.inc.php...
cd realurl_remastered
vi install.inc.php
... and change TYPE=MyISAM to ENGINE=MyISAM:
[...] $db->setQuery('CREATE TABLE IF NOT EXISTS `'.$REX['TABLE_PREFIX'].'realurl_pathcache` ( `realurl_id` int(11) NOT NULL auto_increment, `realurl_article_id` int(11) NOT NULL default 0, `realurl_clang` int(11) NOT NULL default 0, `realurl_hash` text NOT NULL, `realurl_path` text NOT NULL, `realurl_createdate` int(11) NOT NULL default 0, PRIMARY KEY (`realurl_id`) ) ENGINE=MyISAM;'); [...] |
In the Redaxo backend, under AddOn, the realurl_remastered addon should now be listed. Click on install...
... and activate to enable it:
Afterwards, you should find Realurl in the AddOns category in the menu on the left. Go there, enable rewriting (Benutze mod_rewrite), and click on Speichern (= save):
Now you can visit the frontend and browse it (if you have installed demo data). If everything is ok, real URLs should work:
4 Links
- Redaxo: http://www.redaxo.org/
- nginx: http://nginx.org/
- nginx Wiki: http://wiki.nginx.org/
- Debian: http://www.debian.org/
- Ubuntu: http://www.ubuntu.com/
About The Author
Falko Timme is the owner of Timme Hosting (ultra-fast nginx web hosting). He is the lead maintainer of HowtoForge (since 2005) and one of the core developers of ISPConfig (since 2000). He has also contributed to the O'Reilly book "Linux System Administration".