It also enables you to share and stream your stored video and audio. It allows you to synchronize your devices with the ownCloud server making it very easy to upload any file stored locally to the cloud and provides password-protected links for friends and family. It gives you universal access to all your files, contacts, calendars, and bookmarks across all of your devices. OwnCloud is a PHP and MySQL based free and open source file sharing application platform which allows us to create our very own cloud storage platform.OwnCloud is a private file sharing and syncing server. The OwnCloud server which is a free edition is released under GNU AGPLv3 license whereas the Enterprise edition is under OwnCloud Commercial license. It is a client-server architectural software in which, the files are stored on the server whereas the clients are used to access and share the files. #BITNAMI OWNCLOUD START AFTER REBOOT SOFTWARE# The client for OwnCloud is available for every platform making it easy to manage and access the files from every devices. FreeBSD is a free and open source Unix-like operating system based on BSD systems. Unlike Linux, FreeBSD is developed as an entire operating system from kernel, device drivers to the userland utilities whereas linux is a kernel with device drivers. #BITNAMI OWNCLOUD START AFTER REBOOT DRIVERS# Nginx is a free and open source web server which is popular for its speed and ability of balancing server loads and caching. It is one of the most popular web server and proxy server used in large numbers of servers.Ĭurrently while writing this article, the latest release of OwnCloud is 9.1.1 so, we'll be performing its setup on our freshly installed FreeBSD 11 server. Installing FEMP StackįEMP Stack is the combination of an Nginx web server, MySQL/MariaDB database server and PHP modules running in FreeBSD server. FEMP is one of the widely used stack for hosting websites and web applications on servers. Here, we'll be installing FEMP stack in order to run our PHP based OwnCloud server. % sudo pkg install nginx Installing MySQL DB In order to install Nginx, we'll need to run the following pkg command as the default package manager of FreeBSD 11 is pkg. Then, we'll need to setup MySQL DB server where we'll store database for our OwnCloud instance. % sudo pkg install mysql56-server Installing PHP 7.0 Modules To install MySQL database server version 5.6, we'll need to execute the following command in a terminal or console with sudo or root access. Next, we'll install all the required PHP 7.0 modules so that we can run our PHP based app OwnCloud server in our FreeBSD 11 machine. % sudo pkg install php70 php70-mysqli php70-xml php70-gd php70-curl php70-zlib php70-zip php70-hash php70-tokenizer php70-extensions php70-pdo_mysql php70-openssl php70-gmp php70-ldap php70-exif php70-fileinfo php70-mbstring php70-bcmath php70-bz2 php70-mcrypt pecl-APCu pecl-intl In order to install the required PHP modules, we'll need to run the following command. Note that the modules installed in above are the common php modules whereas depending upon the requirements you may require to install additional modules. #BITNAMI OWNCLOUD START AFTER REBOOT INSTALL# % sudo cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini Once the modules are installed, we'll copy the sample php configuration ie /usr/local/etc/php.ini-production to /usr/local/etc/php.ini by executing the following command. We'll open the file /usr/local/etc/php.ini using a text editor like nano, vi, as follows. Then, we'll uncomment the cig.fix_pathinfo line in php.ini and set the value to 0 in order to prevent users to execute arbitrary PHP codes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |