{"id":827,"date":"2012-11-01T21:22:10","date_gmt":"2012-11-01T21:22:10","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=827"},"modified":"2025-07-02T03:12:55","modified_gmt":"2025-07-02T08:12:55","slug":"script-install-owncloud-on-an-ubuntu-12-04-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/","title":{"rendered":"Install ownCloud on Ubuntu 12.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<h5 class=\"wp-block-heading\" id=\"h-status-deprecated\">Status: Deprecated<\/h5>\n\n\n\n<p>This article, &#8220;Install ownCloud on Ubuntu 12.04,&#8221; covers a version of Ubuntu 12.04 that reached end of life (EOL) on April 28th, 2017, and is no longer supported. Installing ownCloud on this Ubuntu version is thus outdated. For this reason, this guide is no longer maintained. If you are currently operating a server and wondering how to install ownCloud on Ubuntu 12.04, we highly recommend contacting <a href=\"https:\/\/www.rosehosting.com\/support\/\">RoseHosting&#8217;s fully managed support<\/a> to upgrade or migrate to a supported version of Ubuntu.<\/p>\n\n\n\n<p><strong>See Instead:<\/strong> Although this guide may still be helpful as a reference for understanding the process of installing ownCloud on Ubuntu 12.04, it may not be compatible with other Ubuntu releases. The following RoseHosting tutorial outlines <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-owncloud-7-on-an-ubuntu-14-04-vps\/\">how to install OwnCloud 7 on Ubuntu 14.04<\/a>.<\/p>\n\n\n<p data-wp-editing=\"1\"><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2.jpg\"><img decoding=\"async\" class=\"size-full wp-image-828 alignleft\" title=\"owncloud-2\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2-e1346908984648.jpg\" alt=\"\" width=\"200\" height=\"149\" \/><\/a>In one of our previous blog posts, we had covered how to install ownCloud on a <a title=\"CentOS VPS\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 6 VPS<\/a>, today we will see how to install ownCloud on an <a title=\"Ubuntu VPS Server\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 12.04 server<\/a> using an automated bash script.<\/p>\n<p><!--more--><\/p>\n<pre class=\"brush: bash; gutter: true\">#!\/bin\/bash\n#\n# Install owncloud\n# This script assumes you already have installed Apache &amp; MySQL\n#\n\n# Change me\nMYSQL_ROOT_PASSWD=\"YOUR MYSQL ROOT PASSWORD\"\n\n# Path to your localhost\nwww=\"\/var\/www\"\n\n# Apache User\nwwwdata=\"www-data\"\n\n# Make sure only root can run our script\nif [ \"$(id -u)\" != \"0\" ]; then\necho \"This script must be run as root\" 1&gt;&amp;2\n   exit 1\nfi\n\n# Check arguments\nif [ $# -ne 1 ]; then\n    echo \"Usage $0 domainName\"\n    exit 1\nfi\n\n# Create MySQL database\nMYSQL_OC_PASSWD=$(&lt;\/dev\/urandom tr -dc A-Za-z0-9 | head -c 8)\nQ1=\"CREATE DATABASE IF NOT EXISTS owncloud;\"\nQ2=\"GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud'@'localhost' IDENTIFIED BY '$MYSQL_OC_PASSWD';\"\nQ3=\"FLUSH PRIVILEGES;\"\nSQL=\"${Q1}${Q2}${Q3}\"\nmysql -uroot -p$MYSQL_ROOT_PASSWD -e \"$SQL\" &gt; \/dev\/null 2&gt;&amp;1\n\n# Check if the database is created\nif [ $? -ne 0 ]; then\n    echo \"Cannot connect to the MySQL database server\"\n    exit 1\nfi\n\n# Create the file with VirtualHost configuration\necho \"\n        DocumentRoot $www\/owncloud\n        ServerName $1\n        ServerAlias $1\n        \n                Options Indexes FollowSymLinks MultiViews +Includes\n                AllowOverride All\n                Order allow,deny\n                allow from all\n        \n\" &gt; \/etc\/apache2\/sites-available\/$1\n\n# Update System\napt-get -y update &gt; \/dev\/null 2&gt;&amp;1\n\n# Install PHP modules\napt-get -y install php5 php5-json php-xml php-mbstring php5-zip php5-gd php5-sqlite php5-mysql curl libcurl3 libcurl3-dev php5-curl php-pdo &gt; \/dev\/null 2&gt;&amp;1\n\n# Download and extract the latest version\nwget -qO- -O tmp.tar.bz2 http:\/\/owncloud.org\/releases\/owncloud-latest.tar.bz2 &amp;&amp; tar -C $www -xjf tmp.tar.bz2 &amp;&amp; rm tmp.tar.bz2\n\n# Set owner\nchown $www-data: -R $www\/owncloud\n\n# Enable the site\na2ensite $1 &gt; \/dev\/null 2&gt;&amp;1\n\n# Reload Apache2\n\/etc\/init.d\/apache2 restart &gt; \/dev\/null 2&gt;&amp;1\n\n# Output\nclear\necho \"Open your web browser and navigate to your ownCloud instance\"\necho \"Url: $1\"\necho \"Database: owncloud\"\necho \"Database user: owncloud\"\necho \"Database user password: $MYSQL_OC_PASSWD\"<\/pre>\n<h4>What will the script do?<\/h4>\n<ul>\n<li>Check if the script is being run as root<\/li>\n<li>Check if the number of arguments is correct<\/li>\n<li>Create MySQL database<\/li>\n<li>Check if the database is created<\/li>\n<li>Create the file with VirtualHost configuration<\/li>\n<li>Install necessary PHP modules<\/li>\n<li>Download and extract the latest version of ownCloud<\/li>\n<li>Set the owner, enable the site and restart Apache<\/li>\n<li>Show you the database name, user and password<\/li>\n<\/ul>\n<p>Save the script above as <code>installOwncloud.sh<\/code> (if you haven\u2019t already), change &#8220;YOUR MYSQL ROOT PASSWORD&#8221; with your MySQL root password and then type the following commands:<\/p>\n<pre class=\"brush: bash; gutter: true\">a+x installOwncloud.sh\n.\/installOwncloud.sh  your.domainname.com<\/pre>\n<p>Finally, open your web browser and navigate to your ownCloud instance<\/p>\n<h6><em>This script should work on Debian too.<\/em><\/h6>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> 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>","protected":false},"excerpt":{"rendered":"<p>Status: Deprecated This article, &#8220;Install ownCloud on Ubuntu 12.04,&#8221; covers a version of Ubuntu 12.04 that reached end of life &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install ownCloud on Ubuntu 12.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#more-827\" aria-label=\"Read more about Install ownCloud on Ubuntu 12.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":828,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,1698],"tags":[56,48,172,86,1152,58,59],"class_list":["post-827","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripts","category-ubuntu","tag-bash","tag-debian","tag-install","tag-owncloud","tag-rosehosting","tag-script","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.4 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install ownCloud on Ubuntu 12.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install ownCloud on Ubuntu 12.04 with our step-by-step guide and automated bash script instructions.\" \/>\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\/script-install-owncloud-on-an-ubuntu-12-04-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install ownCloud on Ubuntu 12.04\" \/>\n<meta property=\"og:description\" content=\"Install ownCloud on Ubuntu 12.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-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=\"2012-11-01T21:22:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-02T08:12:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2-e1346908984648.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"149\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install ownCloud on Ubuntu 12.04\",\"datePublished\":\"2012-11-01T21:22:10+00:00\",\"dateModified\":\"2025-07-02T08:12:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/\"},\"wordCount\":298,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/09\\\/owncloud-2-e1346908984648.jpg\",\"keywords\":[\"bash\",\"debian\",\"install\",\"owncloud\",\"rosehosting\",\"script\",\"ubuntu\"],\"articleSection\":[\"Scripts\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/\",\"name\":\"Install ownCloud on Ubuntu 12.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/09\\\/owncloud-2-e1346908984648.jpg\",\"datePublished\":\"2012-11-01T21:22:10+00:00\",\"dateModified\":\"2025-07-02T08:12:55+00:00\",\"description\":\"Learn how to install ownCloud on Ubuntu 12.04 with our step-by-step guide and automated bash script instructions.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/09\\\/owncloud-2-e1346908984648.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/09\\\/owncloud-2-e1346908984648.jpg\",\"width\":\"200\",\"height\":\"149\",\"caption\":\"Install ownCloud on Ubuntu 12.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/script-install-owncloud-on-an-ubuntu-12-04-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install ownCloud on Ubuntu 12.04\"}]},{\"@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 on Ubuntu 12.04 | RoseHosting","description":"Learn how to install ownCloud on Ubuntu 12.04 with our step-by-step guide and automated bash script instructions.","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\/script-install-owncloud-on-an-ubuntu-12-04-vps\/","og_locale":"en_US","og_type":"article","og_title":"Install ownCloud on Ubuntu 12.04","og_description":"Install ownCloud on Ubuntu 12.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2012-11-01T21:22:10+00:00","article_modified_time":"2025-07-02T08:12:55+00:00","og_image":[{"width":200,"height":149,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2-e1346908984648.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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install ownCloud on Ubuntu 12.04","datePublished":"2012-11-01T21:22:10+00:00","dateModified":"2025-07-02T08:12:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/"},"wordCount":298,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2-e1346908984648.jpg","keywords":["bash","debian","install","owncloud","rosehosting","script","ubuntu"],"articleSection":["Scripts","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/","name":"Install ownCloud on Ubuntu 12.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2-e1346908984648.jpg","datePublished":"2012-11-01T21:22:10+00:00","dateModified":"2025-07-02T08:12:55+00:00","description":"Learn how to install ownCloud on Ubuntu 12.04 with our step-by-step guide and automated bash script instructions.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2-e1346908984648.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/09\/owncloud-2-e1346908984648.jpg","width":"200","height":"149","caption":"Install ownCloud on Ubuntu 12.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/script-install-owncloud-on-an-ubuntu-12-04-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install ownCloud on Ubuntu 12.04"}]},{"@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\/827","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=827"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/827\/revisions"}],"predecessor-version":[{"id":50667,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/827\/revisions\/50667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/828"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}