Friday, November 15, 2024
Centos Cloud Owncloud

install owncloud di centos 6.5 – apache

Requirment :

OS centos 6

tahapan isntalasi nya :

1. install web server

yum install httpd -y
service httpd start

2. install ntpd

yum install ntp -y
service ntpd start
chkconfig ntpd on

3. install mysql server

yum install mysql mysql-server -y
service mysqld start

4.install php

yum install php php-server -y

5. install php-fpm
yum install php-fpm -y
service php-fpm start
chkconfig php-fpm on

6. install modul php
yum install php-gd -y
yum install php-mbsrting -y
yum install php-pdo -y

7. cek versi + modul php
php -v
php -m

8. install Database owncloud
ketik mysql >> enter

# CREATE DATABASE owncloud;
# GRANT ALL ON owncloud.* TO ‘user’@’localhost’ IDENTIFIED BY ‘Penyamun007?;
# FLUSH PRIVILEGES;
# exit;

9. install owncloud

cd /var/www/html

# wget http://download.owncloud.org/community/owncloud-4.5.10.tar.bz2
# tar xjf owncloud-4.5.10.tar.bz2
# mkdir -p /var/www/html/owncloud/data
# chmod 770 /var/www/html/owncloud/data
# chmod 770 -R/var/www/html/owncloud
# chown -R root:apache /var/www/html/owncloud

10. set php.ini

vi /etc/php.ini

edit file berikut :

post_max_size = 6000M
cgi.fix_pathinfo = 0
upload_max_filesize = 6000M
date.timezone = “Asia/Jakarta”

service httpd restart

11. test owncloud

login https://IP-SERVER/owncloud
user = administrator pass = database

dan settingan untuk Mysql
user = user , pass = Penyamun007, namedb= owncloud ( sesuai yang kita buat dan setting di mysql )
Finis

(Visited 70 times, 1 visits today)
Baca Juga :  Cara Install FirewallD pada Centos 8

Similar Posts