You can now go ahead and install PHP 7.1 $ sudo apt-get install php7.1 Then, update the repository information using the command below: $ sudo apt-get update Press Enter when prompted to add the repository. Press Y and hit Enter when prompted to confirm the installation $ sudo add-apt-repository ppa:ondrej/php To, install it, run the command below: $ sudo apt-get install software-properties-common The open source general purpose programming language is powerful for running dynamic and interactive web applications like ownCloudīy the time of writing this guide, the highest PHP version supported by ownCloud was PHP 7.1. PHP is one of the most widely used server-side scripting language. You can install Apache Web Server, MySQL server and create ownCloud MySQL Database and User according to this step by step guide. ![]() The cloud software is written in PHP and JavaScript and requires MariaDB/MySQL database alongside a web server like Apache to function. Setup Centmin Nginx vhost for domain created in Step 2.Įdit /usr/local/nginx/conf/conf.d/ to the following.You can setup your ownCloud server on Alibaba Cloud Elastic Compute Service (ECS) running Ubuntu 16.04. Install and setup your SSL certificate for Nginx server as per instructions at Note: Centmin Mod installed PHP-FPM already sets max upload size to 15M out of the box.Download and setup Owncloud files cd /usr/local/nginx/html/Ĭp -Rpf * /home/nginx/domains//publicĬd /home/nginx/domains//public Vhost log files directory is /home/nginx/domains//logĬurrent vhost listing at: /usr/local/nginx/conf/conf.d/ Upload files to /home/nginx/domains//public Vhost conf file for created: /usr/local/nginx/conf/conf.d/ Nginx: configuration file /usr/local/nginx/conf/nf test is successful ![]() Nginx: the configuration file /usr/local/nginx/conf/nf syntax is ok Install FFMPEG and FFMPEG PHP ExtensionĮnter vhost domain name you want to add (without. Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etcġ9). Install/Re-install ImageMagick PHP Extensionġ7). For example, I created domain Nginx vhost which has Nginx vhost file at /usr/local/nginx/conf/conf.d/ and web root at /home/nginx/domains//public both of which is automatically created when you run centmin.sh menu option #2 -ġ1). Run centmin.sh menu option #2 to create your domain's Nginx vhost if it hasn't already been created. Mysql -u root -p -e "GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES, CREATE TEMPORARY TABLES ON owncloud1db.* TO FLUSH PRIVILEGES " Mysql -u root -p -e "CREATE USER IDENTIFIED BY 'yourmysqlpass' " Create MySQL database, MySQL username and password and grant privileges to the created MySQL database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |