Benchmark Disk Drives – CentOS 7.2
I recently got one of those new 5th Gen servers with SkyLake Xeons and NVMe…
ownCloud is a great project which let’s you create your own self-hosted Dropbox / Google Drive alternative. It’s also great for organizations which want to manage assets rather than just holding them on drives with no way of finding data efficiently.
Installing ownCloud is pretty straight forward, you need a server with Apache, PHP 5.4+ and MySQL / MariaDB 5.5+
To install the prerequisites, first make sure you have the epel repo installed.
On to installing the dependencies,
Restart Apache to load the new modules
Now it’s time to install a cache, you can choose between apc, apcu, memcached and redis. We’ve chosed memcached.
Configure the memcache config file at /etc/sysconfig/memcached
Install the image processor, ImageMagick
Add the imagick module to PHP
Now load the imagick ini to PHP, create a file at /etc/php.d/imagick.ini and add the following:
Restart Apache so this ini is loaded
Time now to install FFMPEG
Add the atrpms repo
Edit the repo file located at /etc/yum.repos.d/atrpms.repo and change the baseurl to the following:
Now, on to downloading ownCloud. Navigate to the following URL and download the latest version of ownCloud
Move this file to /var/www/html/owncloud and unzip it there.
Note: The Apache home directory is assumed to be the default one in this case, you may want to setup a vhost for owncloud.
Create and set the correct owner and permission for the folder /var/www/html/owncloud/data and hit the directory in your browser.
A small setup will start asking you to create an admin account and set the DB credentials, at this point create a new DB with corresponding credentials and fill the fields accordingly.