OwnCloud
How to install
Ubuntu 14.04 LTS Server
apt-get install apache2 mariadb-server libapache2-mod-php5
apt-get install php5-gd php5-json php5-mysql php5-curl
apt-get install php5-intl php5-mcrypt php5-imagick
mysql_secure_installation
cd /var/www/html
rm /var/www/html/index.html
# Downlaod ownCloud
curl -O https://download.owncloud.org/community/owncloud-9.0.2.tar.bz2
## 사용자 추가 및 Database 추가.
mysql -u root -p
> grant all privileges on DB이름.* to 사용자이름@localhost identified by '비밀번호' with grant option;
> create database DB이름;
> flush privileges;
## For ownCloud to work correctly, we need the module mod_rewrite. Enable it by running:
a2enmod rewrite
## Additional recommended modules are mod_headers, mod_env, mod_dir and mod_mime:
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime
## Enabling SSL
## Apache installed under Ubuntu comes already set-up with a simple self-signed certificate. All you have to do is to enable the ssl module and the default site. Open a terminal and run:
a2enmod ssl
a2ensite default-ssl
service apache2 reload
## Change HTTP user:
chown -R www-data:www-data /var/www/html/
See also
Favorite site
How to install