Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # -*- coding: latin-1 -*-
- echo " install a apache ? "
- #intallation de apache et php
- (dpkg -l apache2 || grep îi > /tmp/apache2txt )
- # ps -ef | -v grep | grep apache
- if [ !-s /tmp/apache2txt ]; then
- fi
- #( sudo apt-get install -Y apache2)
- (sudo apt-get install php)
- #telechargement de dokuwiki
- ( wget https://download.dokuwiki.org/out/dokuwiki-8a269cc015a64b40e4c918699f1e1142.tgz)
- #déplacement de doku wiki
- ( sudo tar -xzvf dokuwiki-8a269cc015a64b40e4c918699f1e1142.tgz -C /var/www/html/)
- ( sudo chown -R www-data /var/www/html/dokuwiki/)
- ( sudo chmod -R u+w /var/www/html/dokuwiki/)
- ( sudo service apache2 restart && firefox http://127.0.0.1/dokuwiki/)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement