Skip to main content

Install OwnCloud di Ubuntu 12.04 Lts

Sebelumnya saya sudah pernah membuat artikel aplikasi Cloud dengan aplikasi Ajaxplorer [Check] ,aplikasi seperti layanan cloud storage Google drive , Dropbox , saat ini saya akan mengulas tentang instalasi OwnCloud ,pada System Operasi Linux Ubuntu 12.04 di mesin Virtual .serta kita harus mengintall webserver (Lamp)

Installasi :
1. Instalasi System Ubuntu 12.04 di Virtualbox , tutorial
2. Instalasi LAMP server (Linux, Apache,Mysql,Perl/phyton/php) , Tutorial Tasksel LAMPserver
    atau

Apache
  • Install Apache : apt-get install apache2
  • Lokasi file konfigurasi apache /etc/apache2
  • Untuk melakukan start/stop/restart service apache: /etc/init.d/apache2 start
  • Lokasi file website disimpan di folder /var/www
Folder /var/www tidak bisa di add/edit/del oleh user biasa , harus menggunakan hak akses root , kemudian untuk memberikan akses berikan perintah :
ketik sudo chmod -R 777 /var/www/namafolder

MySQL
  • Install MySQL Server : apt-get install mysql-server
  • Lokasi file database disimpan di /var/lib/mysql
  • Jalankan service : /etc/init.d/mysql start

PHP
  • Install PHP : apt-get install php5 php5-xmlrpc php5-mysql php5-gd php5-cli php5-curl php5-common php5-mcrypt
  • File konfigurasi php : /etc/php5/apache2/php.ini
Pasang phpmyadmin (mysql manager)
  • Download phpmyadmin terbaru dari http://www.phpmyadmin.net/
  • Ekstrak phpmyadmin ke folder /var/www
  • Login phpmyadmin di http://localhost/phpmyadmin. Masukkan username dan password mysql
Install MySQL Administrator (MySQL Manager GUI) : apt-get install mysql-admin

 Konfigurasi database, login ke mysql
 mysql - u root - p (masukan password mysql ,yg disetting saat installasi sebelumnya)

Membuat database db_owncloud



create database db_owncloud;
Mengeset hak akses database db_owncloud dengan username owncloud dan password owncloud
 grant all privileges on db_owncloud.* to "owncloud"@"localhost" identified by "owncloud";





Mengaktifkan modul rewrite dan headers

sudo a2enmod rewrite
sudo a2enmod headers
 (kemudian quit mysql)
Konfigurasi di /etc/apache2/sites-available/default.

nano /etc/apache2/sites-available/default

Ubah baris AllowOverride None menjadi AllowOverride all seperti di bawah ini

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
 
restart Apache2
 sudo service apache2 restart

Download ownCloud

cd /var/www
wget http://download.owncloud.org/community/owncloud-5.0.11.tar.bz2

Ekstrak Owncloud   
tar xjvf owncloud-5.0.11.tar.bz2

Ubah Kepemilikan Owncloud 

chown -R www-data:www-data /var/www/owncloud

Akses Owncloud
http://Ipaddress/owncloud atau http://192.168.1.168/owncloud

Masukkan username dan password untuk administrator owncloud
Masukkan username, password, dan nama database mysql yg sebelumya disetting

Server Cloud sudah siap digunakan ..

Owncloud bisa diakses klien

Desktop App (windows atau linux ) , Googleplay dan App Store )



Selamat Mencoba



Comments

  1. artikelnya Bagus gan (y).
    itu nginstallnya di unbuntu Desktob atw ubuntu Server ya ?

    ReplyDelete
  2. thanks gan ,

    baiknya di ubuntu server gan lebih mantap, klo di ubuntu desktop banyak resource memory yang terpakai

    ReplyDelete

Post a Comment

Popular posts from this blog

[Arsip] Uninstal Zimbra Mail Server

UnInstalling Zimbra on Linux Uninstall Directions for Linux/All Other Operating Systems As root: 1) Run the commands: su – zimbra zmcontrol stop exit (you should be root after you run exit) 2a) Run the command:  ps -ef | grep -i zimbra If you see running processes 2b) Kill any lingering processes:  kill -9 <pid> 3a) Run the command:  df If you see "amavisd" 3b) run command:  umount /opt/zimbra/amavisd<-new-blah>/tmp 4)  cd /<tmp_tar_install_dir>/zcs/ 5) Run the command:  ./install.sh -u 6) Run the following commands to complete the unistall: rm -rf /opt/zimbra rm -rf /var/log/*zimbra* rm -rf /tmp/*zimbra* rm -rf /tmp/hsperfdata* rm -rf /tmp/install.* rm -rf /tmp/*swatch* rm -rf /tmp/log* Ensure that you removed ALL the files owned by the user zimbra AND that contain the name "zimbra" in: /var/log/ /tmp/ 7) Run the following commands to delete the users and groups: userdel zimbra userdel postfix groupdel zimbra groupdel postfix 8) Remove the line &q

Zimbra Admin Error : Diffie-Hellman key in Server Key Exchange handshake message

Ketika Membuka zimbra admin , muncul error seperti dibawah ini : Secure Connection Failed An error occurred during a connection to Server Zimbra. SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message. (Error code: ssl_error_weak_server_ephemeral_dh_key)     The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.     Please contact the website owners to inform them of this problem. ketika saya menggunakan Firefox Ver 42. Berdasarkan penjelasan dari support Mozilla , ini semacam celah keamanan SSL. saat firefox update aplikasi tersebut meningkatkan keamanan celah Diffie-Hellman Diffie–Hellman key exchange (D–H) [nb 1] is a specific method of securely exchanging cryptographic keys over a public channel and was one of the first public-key protocols as originally conceptualized by Ralph Merkle.[1][2] D–H is one of the earliest practical examples of public key exchange implemented within the f
Problem LDAP service  pada Zimbra  [Solved] terjadi pada server replikasi zimbra di kantor saya pada tanggal 5 November 2016 tiba-tiba error LDAP tidak mau startup service. service zimbra start Host test.domainku.com Starting ldap...Done. Failed. Failed to start slapd. Attempting debug start to determine error. daemon: bind(7) failed errno=98 (Address already in use) slap_open_listener: failed on ldap://mail.domain.com:389 Setelah cari-cari di google berhasil yaitu dengan menjalankan ulang file zmsetup.pl -Login sebagai root - /opt/zimbra/libexec/zmsetup.pl root@mailserver:~# /opt/zimbra/libexec/zmsetup.pl Operations logged to /tmp/zmsetup.11072016-131240.log Running bdb db_recover...done. Running zmldapapplyldif...done. Reboot mailserver kemudian berjalan normal ada juga yang menggunakan tutorial seperti dibawah ini (bisa dicoba): Untuk melihat service openldap yang sudah aktif : # ps -ef | grep slap openldap 1129 1 0 15:28 ? 00:00:00 /usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap