-
Notifications
You must be signed in to change notification settings - Fork 2
open source ZIM management
License
maggsta/openzim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
============== Fedora Installation (openZim 2.0) ==================
0. Alles als root machen:
sudo -i
1. Software Abhängigkeiten installieren
yum install httpd mysql mysql-server php php-mysql php-pdo php-mbstring php-gd git-core
2. PHP Zeityone setzen
- In /etc/php.ini
- Semikolon vor dat.timezone entfernen und Zeitzone eintragen
- z.B.:
date.timezone=Europe/Berlin
2. Mysql konfigurieren
- systemctl enable mysqld.service
- systemctl start mysqld.service
- mysqladmin -u root password 'test'
3. openZIM Repository clonen / openZim installieren
- Beispielhaftes Installationsverzeichniss: /var/www/openzim
- cd /var/www
- git clone https://github.com/maggsta/openzim.git
- cd openzim
- ./install.sh
4. Apache konfigurieren
- In /etc/httpd/conf/httpd.conf:
DocumentRoot "/var/www/openzim"
AllowOverride All
- systemctl enable httpd.service
5. Selinux deaktivieren
- In /etc/selinux/config:
SELINUX=disabled
5. reboot
6. openZim öffnen mit Firefox: localhost
============Ende Fedora installation==============
=====Ubuntu Installation (nicht vollständig) =====
Ubuntu:
sudo aptitude install php5-gd xsltproc
Apache2:
php.ini output_buffering = On
==== MacOS MAMP installation (nicht getestet seid 1.0) ====
* httpd.conf
NameVirtualHost *:8080
Listen *:PORT
<VirtualHost *:PORT>
DocumentRoot "/PATH/openzim/web"
DirectoryIndex index.php
<Directory "/PATH/openzim/web">
AllowOverride All
Allow from All
</Directory>
Alias /sf /PATH/openzim/lib/vendor/symfony/data/web/sf
<Directory "/PATH/openzim/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
* disabel MYSQL
comment /Applications/MAMP/bin/startMysql.sh
comment /Applications/MAMP/bin/start.sh (mysql line)
* Cache
enable APC in MAMP GUI
* Symlinks etc.
- Open the php.ini text file in a text editor. It should live here:
/Applications/MAMP/conf/php5/php.ini
- Change the memory limit to 32M by editing the memory_limit part of the file to the following:
memory_limit = 32M ;
Save the file and close your text editor. Now fire up your terminal…
- Now we are going to move leopard’s php to a safe place…
sudo mv /usr/bin/php /usr/bin/php-old
- Link the MAMP php into where leopard’s php used to be…
sudo ln -s /Applications/MAMP/bin/php5/bin/php /usr/bin/php
- If you have PEAR already installed, we are going to move it as well. If you don’t have PEAR, this will obviously error out which you can ignore.
sudo mv /usr/bin/pear /usr/bin/pear-old
- Link MAMP’s PEAR into bin…
sudo ln -s /Applications/MAMP/bin/php5/bin/pear /usr/bin/pear
- The following two commands will use PEAR to download and install symfony.
pear channel-discover pear.symfony-project.com
pear install symfony/symfony
- Now place link symfony into bin…
sudo ln -s /Applications/MAMP/bin/php5/bin/symfony /usr/bin/symfony
* GIT on MAC OS
1) Installer
http://code.google.com/p/git-osx-installer/downloads/list
2) MAC Ports
sudo port selfupdate
sudo port install git-core (installiert die aktuellste Git-Version)
About
open source ZIM management
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published