Tutorial zur Installation von ownCloud auf CentOS 6

Tutorial zur Installation von ownCloud auf CentOS 6

Basierend auf CentOS 6.6 64-Bit, betrieben unter SSH, Root-Berechtigungen.
Verwenden von Apache, PHP und MySQL.

1. Aktualisieren Sie das System

 yum update -y

2. Installieren Sie PHP 5.6

 rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm yum install httpd php56w php56w-mysql php56w-dom php56w-mbstring php56w-gd php56w-pdo php56w-gd php56w-json php56w-xml php56w-zip curl php56w-curl sqlite -y

3. MySQL installieren

 yum install mysql mysql-server -y service mysqld start mysql_secure_installation

4. Bearbeiten Sie /etc/httpd/conf/httpd.conf
Ändern Sie als Nächstes „AllowOverride None“ in „AllowOverride All“.
speichern.
5. Erstellen Sie eine Datenbank und melden Sie sich bei MySQL an

 mysql -u root -p

Erstellen Sie eine Datenbank (oc_db ist die erstellte Datenbank, your_root_password ist das Passwort des Datenbank-Root-Benutzers)

 CREATE DATABASE oc_db; GRANT ALL PRIVILEGES ON oc_db.* TO 'root'@'localhost' IDENTIFIED BY 'your_root_password'; FLUSH PRIVILEGES;

MySQL beenden

 CTRL + C

6. Starten Sie Apache

 service httpd start

7. Laden Sie owncloud 8.0.4 herunter
Geben Sie das Apache-Verzeichnis ein

 cd /var/www/html

Laden Sie owncloud herunter

 wget https://download.owncloud.org/community/owncloud-8.0.4.zip unzip owncloud* rm -rf owncloud-8.0.4.zip cd owncloud mv * /var/www/html

8. Verzeichnisberechtigungen festlegen

 chown -R apache.apache /var/www/html/

9. Verwenden Sie zur Durchführung der Webinstallation eine IP- oder Domänenbezeichnung und folgen Sie den Installationsanweisungen.

  1. .htaccess pseudostatisch, im Stammverzeichnis abgelegt:

     # Version: 8.0.4 SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION php_value upload_max_filesize 513M php_value post_max_size 513M php_value memory_limit 512M php_value mbstring.func_overload 0 php_value always_populate_raw_post_data -1 php_value default_charset 'UTF-8' php_value output_buffering off SetEnv htaccessWorking true RewriteEngine on RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L] RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L] RewriteRule ^\.well-known/carddav /remote.php/carddav/ [R] RewriteRule ^\.well-known/caldav /remote.php/caldav/ [R] RewriteRule ^apps/calendar/caldav\.php remote.php/caldav/ [QSA,L] RewriteRule ^apps/contacts/carddav\.php remote.php/carddav/ [QSA,L] RewriteRule ^remote/(.*) remote.php [QSA,L] RewriteRule ^(build|tests|config|lib|3rdparty|templates)/.* - [R=404,L] RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L] AddType image/svg+xml svg svgz AddEncoding gzip svgz DirectoryIndex index.php index.html AddDefaultCharset utf-8 Options -Indexes ModPagespeed Off Header set Cache-Control "max-age=7200, public"

über: https://extravm.com/billing/index.php/knowledgebase/21/Install-ownCloud-on-CentOS-6.html

<<:  KMS-Hosting 1GB RAM 10Gbit Port Deutscher KVM VPS Testbericht

>>:  DeinServerHost: 19,95 €/Jahr/10 GB SSD-Speicherplatz/unbegrenzter Datenverkehr/2 kostenlose .de-Domainnamen/Deutschland

Artikel empfehlen

10,95 $/Monat/521 M/1000 T VPS – Glisten World

Der Homepage von Glisten World zufolge bietet das...

xCiteHub: 16 $/Monat/1 GB RAM/30 GB SSD/2 TB Bandbreite/KVM/Singapur

xCiteHub 99,99 % Online-Rate 10 GB-Port Kaufen Si...

Gemeinsamer Breitband-Internetzugang, IPTV und andere Routing-Einstellungen

1. Routing-Einstellungen Zuerst verbinden wir das...