{"id":16559,"date":"2014-12-11T15:27:43","date_gmt":"2014-12-11T21:27:43","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=16559"},"modified":"2022-06-03T03:46:29","modified_gmt":"2022-06-03T08:46:29","slug":"install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/","title":{"rendered":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-23668\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg\" alt=\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS\" width=\"1200\" height=\"600\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-768x384.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-1024x512.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-860x430.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-680x340.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-500x250.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-400x200.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-200x100.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx-50x25.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>Installing OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS is an easy task if you follow this tutorial.\u00a0OwnCloud is a web based application that provides services such as file storage, management and sharing. Using OwnCloud you can sync and share your files, calendar, contacts and much more. Everything will be accessible from all your devices from anywhere.<\/p>\n<p><!--more--><\/p>\n<p>In this tutorial we will install the latest version of OwnCloud with Nginx and PHP-FPM on an <a title=\"Ubuntu VPS\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu VPS<\/a>.<\/p>\n<p>First of all, log in to your server as root and make sure that your Ubuntu Linux VPS is fully up to date<\/p>\n<pre>apt-get update\r\napt-get upgrade<\/pre>\n<p>Install MariaDB on your server<\/p>\n<pre>apt-get install mariadb-server<\/pre>\n<p>Run the following script to secure your MariaDB server and set a root password<\/p>\n<pre>mysql_secure_installation\r\n\r\n- Set root password? [Y\/n] y\r\n- Remove anonymous users? [Y\/n] y\r\n- Disallow root login remotely? [Y\/n] y\r\n- Remove test database and access to it? [Y\/n] y\r\n- Reload privilege tables now? [Y\/n] y<\/pre>\n<p>Now, log in to your MariaDB server as user root and create a new user and database for OwnCloud.<\/p>\n<pre>mysql -u root -p\r\nEnter password:\r\nMariaDB [(none)]&gt; CREATE DATABASE owncloud;\r\nMariaDB [(none)]&gt; GRANT ALL ON owncloud.* to ownclouduser@localhost identified by 'YOURPASSWORD';\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; \\q<\/pre>\n<p>Do not forget to change <em>YOURPASSWORD<\/em> with an actual strong password.<\/p>\n<p>Install Nginx web server, PHP5-FPM and few additional PHP packages<\/p>\n<pre>apt-get install nginx php5-fpm php5-common php5-cli php5-json php5-mysql php5-curl php5-intl php5-mcrypt php5-memcache php5-gd<\/pre>\n<p>Now, download the latest stable OwnCloud release from their official website. At the moment of writing this article it is version 7.0.3<\/p>\n<pre>cd \/opt\/\r\nwget https:\/\/download.owncloud.org\/community\/owncloud-7.0.3.tar.bz2<\/pre>\n<p>Unpack the downloaded file<\/p>\n<pre>tar -jxvf owncloud-7.0.3.tar.bz2<\/pre>\n<p>OwnCloud&#8217;s files will be unpacked in a new &#8216;owncloud&#8217; directory under &#8216;\/opt&#8217;. Change the owner of the directory<\/p>\n<pre>chown -R www-data:www-data \/opt\/owncloud<\/pre>\n<p>Create a new virtual block for your domain with the following content<\/p>\n<pre>nano \/etc\/nginx\/sites-available\/yourdomain.tld\r\n\r\nserver {\r\nlisten 80;\r\nserver_name yourdomain.tld www.yourdomain.tld;\r\n\r\nroot \/opt\/owncloud;\r\nindex index.php;\r\n\r\nrewrite ^\/caldav(.*)$ \/remote.php\/caldav$1 redirect;\r\nrewrite ^\/carddav(.*)$ \/remote.php\/carddav$1 redirect;\r\nrewrite ^\/webdav(.*)$ \/remote.php\/webdav$1 redirect;\r\nerror_page 403 \/core\/templates\/403.php;\r\nerror_page 404 \/core\/templates\/404.php;\r\n\r\n\u00a0 location = \/robots.txt {\r\n\u00a0\u00a0\u00a0 allow all;\r\n\u00a0\u00a0\u00a0 log_not_found off;\r\n\u00a0\u00a0\u00a0 access_log off;\r\n\u00a0\u00a0\u00a0 }\r\n\r\n\u00a0 location ~ ^\/(?:\\.htaccess|data|config|db_structure\\.xml|README){\r\n\u00a0\u00a0\u00a0 deny all;\r\n\u00a0\u00a0\u00a0 }\r\n\r\n  location \/ {\r\n\u00a0\u00a0 rewrite ^\/.well-known\/host-meta \/public.php?service=host-meta last;\r\n\u00a0\u00a0 rewrite ^\/.well-known\/host-meta.json \/public.php?service=host-meta-json last;\r\n\u00a0\u00a0 rewrite ^\/.well-known\/carddav \/remote.php\/carddav\/ redirect;\r\n\u00a0\u00a0 rewrite ^\/.well-known\/caldav \/remote.php\/caldav\/ redirect;\r\n\u00a0\u00a0 rewrite ^(\/core\/doc\/[^\\\/]+\/)$ $1\/index.html;\r\n\r\n\u00a0\u00a0 try_files $uri $uri\/ \/index.php;\r\n\u00a0\u00a0 }\r\n\r\n  location ~ \\.php$ {\r\n   try_files $uri =404;\r\n   fastcgi_split_path_info ^(.+\\.php)(\/.+)$;\r\n   fastcgi_pass 127.0.0.1:9000;\r\n   fastcgi_index index.php;\r\n   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\n   include fastcgi_params;\r\n}\r\n}<\/pre>\n<p>Enable the server block executing the following command<\/p>\n<pre>ln -s \/etc\/nginx\/sites-available\/yourdomain.tld \/etc\/nginx\/sites-enabled\/<\/pre>\n<p>Open the \/etc\/php5\/fpm\/pool.d\/www.conf file and change the &#8216;listen&#8217; variable as you see below:<\/p>\n<pre>listen = 127.0.0.1:9000;<\/pre>\n<p>Restart Nginx and PHP-FPM for the changes to take effect<\/p>\n<pre>service nginx restart\r\nservice php5-fpm restart<\/pre>\n<p>Finally, head your browser to <em>http:yourdomain.tld<\/em> where you will need to create an admin account and the information of the MariaDB we&#8217;ve created in this tutorial. With this step the installation of OwnCloud 7 is completed.<\/p>\n<p>Of course you don\u2019t have to Install OwnCloud 7 with Nginx and PHP-FPM on Ubuntu, if you use one of our <a href=\"https:\/\/www.rosehosting.com\/owncloud-hosting.html\">OwnCloud Optimized\u00a0Linux Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install OwnCloud 7 with Nginx for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS is an easy task if you follow this tutorial.\u00a0OwnCloud &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#more-16559\" aria-label=\"Read more about Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":23668,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698,1712,1707],"tags":[49,86,51,59],"class_list":["post-16559","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","category-web-frameworks","category-web-servers","tag-nginx","tag-owncloud","tag-php-fpm","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS\" \/>\n<meta property=\"og:description\" content=\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-11T21:27:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:46:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS\",\"datePublished\":\"2014-12-11T21:27:43+00:00\",\"dateModified\":\"2022-06-03T08:46:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/\"},\"wordCount\":386,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Install-OwnCloud-7-with-Nginx.jpg\",\"keywords\":[\"nginx\",\"owncloud\",\"php-fpm\",\"ubuntu\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\",\"Web Frameworks\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/\",\"name\":\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Install-OwnCloud-7-with-Nginx.jpg\",\"datePublished\":\"2014-12-11T21:27:43+00:00\",\"dateModified\":\"2022-06-03T08:46:29+00:00\",\"description\":\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Install-OwnCloud-7-with-Nginx.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/12\\\/Install-OwnCloud-7-with-Nginx.jpg\",\"width\":1200,\"height\":600,\"caption\":\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting","description":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/","og_locale":"en_US","og_type":"article","og_title":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS","og_description":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-12-11T21:27:43+00:00","article_modified_time":"2022-06-03T08:46:29+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS","datePublished":"2014-12-11T21:27:43+00:00","dateModified":"2022-06-03T08:46:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/"},"wordCount":386,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg","keywords":["nginx","owncloud","php-fpm","ubuntu"],"articleSection":["Tutorials","Ubuntu","Web Frameworks","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/","name":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg","datePublished":"2014-12-11T21:27:43+00:00","dateModified":"2022-06-03T08:46:29+00:00","description":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/12\/Install-OwnCloud-7-with-Nginx.jpg","width":1200,"height":600,"caption":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-owncloud-7-with-nginx-and-php-fpm-on-an-ubuntu-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install OwnCloud 7 with Nginx and PHP-FPM on an Ubuntu VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/16559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=16559"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/16559\/revisions"}],"predecessor-version":[{"id":42160,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/16559\/revisions\/42160"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/23668"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=16559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=16559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=16559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}