{"id":18423,"date":"2016-01-09T15:27:06","date_gmt":"2016-01-09T21:27:06","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18423"},"modified":"2022-06-03T03:43:54","modified_gmt":"2022-06-03T08:43:54","slug":"how-to-install-yourls-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/","title":{"rendered":"How to install YOURLS on Ubuntu 14.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"size-thumbnail wp-image-18426 alignleft\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps-150x150.png\" alt=\"install-yourls-on-an-ubuntu-14-04-vps\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps-150x150.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps.png 300w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/>In this guide, we will explain how to <strong>install YOURLS on an Ubuntu 14.04 VPS<\/strong> with MariaDB, PHP-FPM and Nginx. YOURLS stands for Your Own URL Shortener. YOURLS <span class=\"st\"> is an open source self-hosted application build with PHP which allows you to run your own URL shortening service. This guide should work on other <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> systems as well but was tested and written for an <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 14.04 VPS<\/a>.<br \/>\n<!--more--><\/span><\/p>\n<h4>Login to your VPS via SSH<\/h4>\n<pre>ssh user@vps_IP<\/pre>\n<h4>Update the system and install necessary packages<\/h4>\n<pre>[user]$ sudo apt-get update &amp;&amp; sudo apt-get -y upgrade\r\n[user]$ sudo apt-get install software-properties-common git nano<\/pre>\n<h4>Install MariaDB 10.1<\/h4>\n<p>To add the MariaDB repository to your sources list and install the latest MariaDB server, run the following commands:<\/p>\n<pre>[user]$ sudo apt-key adv --recv-keys --keyserver hkp:\/\/keyserver.ubuntu.com:80 0xcbcb082a1bb943db\r\n[user]$ sudo add-apt-repository 'deb http:\/\/ftp.osuosl.org\/pub\/mariadb\/repo\/10.1\/ubuntu trusty main'\r\n[user]$ sudo apt-get update\r\n[user]$ sudo apt-get install -y mariadb-server<\/pre>\n<p>When the installation is complete, run the following command to secure your installation:<\/p>\n<pre>[user]$ mysql_secure_installation<\/pre>\n<p>Next, we need to create a database for the YOURLS installation.<\/p>\n<pre>[user]$ mysql -uroot -p<\/pre>\n<pre>MariaDB [(none)]&gt; CREATE DATABASE yourls;\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON yourls.* TO 'yourls'@'localhost' IDENTIFIED BY 'yourls_passwd';\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; \\q<\/pre>\n<h4>Install PHP, composer and required PHP modules<\/h4>\n<p>To install the latest stable version of PHP version 7 and all necessary modules, run:<\/p>\n<pre>[user]$ sudo add-apt-repository -y ppa:ondrej\/php-7.0\r\n[user]$ sudo apt-get update\r\n[user]$ sudo apt-get -y install php7.0-fpm php7.0-cli php7.0-mysql php7.0-curl<\/pre>\n<h4>PHP-FPM configuration<\/h4>\n<p>Create a new PHP-FPM pool for your user:<\/p>\n<pre>[user]$ sudo nano \/etc\/php\/7.0\/fpm\/pool.d\/your_user.conf<\/pre>\n<pre>[your_user]\r\nuser = your_user\r\ngroup = your_user\r\nlisten = \/var\/run\/php\/php7.0-fpm-your_user.sock\r\nlisten.owner = your_user\r\nlisten.group = your_user\r\nlisten.mode = 0666\r\npm = ondemand\r\npm.max_children = 5\r\npm.process_idle_timeout = 10s\r\npm.max_requests = 200\r\nchdir = \/\r\n<\/pre>\n<p>Do not forget to change your_user with your username.<\/p>\n<p>Restart PHP-FPM:<\/p>\n<pre>[user]$ sudo service php7.0-fpm restart<\/pre>\n<h4>Clone and configure YOURLS<\/h4>\n<p>Create a root directory for the YOURLS installation using the following command:<\/p>\n<pre>[user]$ mkdir -p ~\/myYOURLS.com\/{public_html,logs}<\/pre>\n<p>Clone the github repository<\/p>\n<pre>[user]$ git clone --branch master https:\/\/github.com\/YOURLS\/YOURLS.git ~\/myYOURLS.com\/public_html<\/pre>\n<p>Copy the <code>user\/config-sample.php<\/code> file to <code>user\/config.php<\/code>.<\/p>\n<pre>[user]$ cp ~\/myYOURLS.com\/public_html\/user\/config-sample.php ~\/myYOURLS.com\/public_html\/user\/config.php<\/pre>\n<p>Open the <code>user\/config.php<\/code> file and edit the following values<\/p>\n<pre>[user]$ nano ~\/myYOURLS.com\/public_html\/user\/config.php<\/pre>\n<pre>\/** MySQL database username *\/\r\ndefine( 'YOURLS_DB_USER', 'yourls' );\r\n\r\n\/** MySQL database password *\/\r\ndefine( 'YOURLS_DB_PASS', 'yourls_passwd' );\r\n\r\n\/** The name of the database for YOURLS *\/\r\ndefine( 'YOURLS_DB_NAME', 'yourls' );\r\n\r\n** If you define it to \"http:\/\/sho.rt\", don't use \"http:\/\/www.sho.rt\" in your browser (and vice-versa) *\/\r\ndefine( 'YOURLS_SITE', 'http:\/\/myYOURLS.com' );\r\n\r\n\/** A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: copy from http:\/\/yourls.org\/cookie **\/\r\ndefine( 'YOURLS_COOKIEKEY', 'fNK$M]~BfF&amp;f0S#{X3P)sMM#A%2)R27D&amp;THBMa8V' );\r\n\r\n\/** Username(s) and password(s) allowed to access the site. Passwords either in plain text or as encrypted hashes\r\n ** YOURLS will auto encrypt plain text passwords in this file\r\n ** Read http:\/\/yourls.org\/userpassword for more information *\/\r\n$yourls_user_passwords = array(\r\n        'your_username' =&gt; 'your_password',\r\n        \/\/ 'username2' =&gt; 'password2',\r\n        \/\/ You can have one or more 'login'=&gt;'password' lines\r\n        );\r\n<\/pre>\n<h4>Install and configure Nginx<\/h4>\n<p>Ubuntu 14.04 comes with nginx version 1.4, to install the latest stable version of Nginx version 1.8, run:<\/p>\n<pre>[user]$ sudo add-apt-repository -y ppa:nginx\/stable\r\n[user]$ sudo apt-get update\r\n[user]$ sudo apt-get -y install nginx<\/pre>\n<p>Create a new Nginx server block with the following content:<\/p>\n<pre>[user]$ sudo nano \/etc\/nginx\/sites-available\/myYOURLS.com<\/pre>\n<pre>server {\r\n    listen      80;\r\n    server_name myYOURLS.com;\r\n    root        \/home\/your_user\/myYOURLS.com\/public_html;\r\n\r\n    access_log \/home\/your_user\/myYOURLS.com\/logs\/access.log;\r\n    error_log \/home\/your_user\/myYOURLS.com\/logs\/error.log;\r\n\r\n    index index.php;\r\n\r\n    location \/ {\r\n        try_files $uri $uri\/ \/yourls-loader.php;\r\n        expires 14d;\r\n        add_header Cache-Control 'public';\r\n    }\r\n\r\n    location ~ \\.php$ {\r\n        fastcgi_split_path_info ^(.+\\.php)(\/.+)$;\r\n        fastcgi_pass unix:\/var\/run\/php\/php7.0-fpm-your_user.sock;\r\n        fastcgi_index index.php;\r\n        include fastcgi_params;\r\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\n        fastcgi_intercept_errors off;\r\n        fastcgi_buffer_size 16k;\r\n        fastcgi_buffers 4 16k;\r\n    }\r\n}\r\n<\/pre>\n<p>Do not forget to change your_user with your username.<\/p>\n<p>Activate the server block by creating a symbolic link :<\/p>\n<pre>[user]$ sudo ln -s \/etc\/nginx\/sites-available\/myYOURLS.com \/etc\/nginx\/sites-enabled\/myYOURLS.com<\/pre>\n<p>Test the Nginx configuration and restart nginx:<\/p>\n<pre>[user]$ sudo nginx -t\r\n[user]$ sudo service nginx restart<\/pre>\n<h4>Final steps<\/h4>\n<p>Open http:\/\/myYOURLS.com\/admin in your favorite web browser and you should see the YOURLS install screen. Click on the &#8216;Install YOURLS&#8217; button to populate the database.<\/p>\n<p>That\u2019s it. You have successfully installed YOURLS on your Ubuntu 14.04 VPS. For more information about how to manage your YOURLS installation, please refer to the official <a title=\"YOURLS\" href=\"http:\/\/yourls.org\/#FAQ\" target=\"_blank\" rel=\"noopener noreferrer\">YOURLS <\/a> documentation.<\/p>\n<hr \/>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"linux vps hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to setup this for you. They are available 24&#215;7 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>In this guide, we will explain how to install YOURLS on an Ubuntu 14.04 VPS with MariaDB, PHP-FPM and Nginx. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install YOURLS on Ubuntu 14.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#more-18423\" aria-label=\"Read more about How to install YOURLS on Ubuntu 14.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":18426,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[1055,1054,1046],"class_list":["post-18423","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-install-yourls-on-ubuntu","tag-url-shortener","tag-yourls","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.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install YOURLS on Ubuntu 14.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install YOURLS on Ubuntu 14.04 | 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\/how-to-install-yourls-on-ubuntu-14-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install YOURLS on Ubuntu 14.04\" \/>\n<meta property=\"og:description\" content=\"How to install YOURLS on Ubuntu 14.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/\" \/>\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=\"2016-01-09T21:27:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:43:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install YOURLS on Ubuntu 14.04\",\"datePublished\":\"2016-01-09T21:27:06+00:00\",\"dateModified\":\"2022-06-03T08:43:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/\"},\"wordCount\":397,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/install-yourls-on-an-ubuntu-14-04-vps.png\",\"keywords\":[\"Install YOURLS on Ubuntu\",\"url shortener\",\"YOURLS\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/\",\"name\":\"How to install YOURLS on Ubuntu 14.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/install-yourls-on-an-ubuntu-14-04-vps.png\",\"datePublished\":\"2016-01-09T21:27:06+00:00\",\"dateModified\":\"2022-06-03T08:43:54+00:00\",\"description\":\"How to install YOURLS on Ubuntu 14.04 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/install-yourls-on-an-ubuntu-14-04-vps.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/install-yourls-on-an-ubuntu-14-04-vps.png\",\"width\":300,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yourls-on-ubuntu-14-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install YOURLS on Ubuntu 14.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":"How to install YOURLS on Ubuntu 14.04 | RoseHosting","description":"How to install YOURLS on Ubuntu 14.04 | 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\/how-to-install-yourls-on-ubuntu-14-04\/","og_locale":"en_US","og_type":"article","og_title":"How to install YOURLS on Ubuntu 14.04","og_description":"How to install YOURLS on Ubuntu 14.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2016-01-09T21:27:06+00:00","article_modified_time":"2022-06-03T08:43:54+00:00","og_image":[{"width":300,"height":300,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install YOURLS on Ubuntu 14.04","datePublished":"2016-01-09T21:27:06+00:00","dateModified":"2022-06-03T08:43:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/"},"wordCount":397,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps.png","keywords":["Install YOURLS on Ubuntu","url shortener","YOURLS"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/","name":"How to install YOURLS on Ubuntu 14.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps.png","datePublished":"2016-01-09T21:27:06+00:00","dateModified":"2022-06-03T08:43:54+00:00","description":"How to install YOURLS on Ubuntu 14.04 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/01\/install-yourls-on-an-ubuntu-14-04-vps.png","width":300,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yourls-on-ubuntu-14-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install YOURLS on Ubuntu 14.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\/18423","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=18423"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18423\/revisions"}],"predecessor-version":[{"id":42029,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18423\/revisions\/42029"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/18426"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=18423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=18423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=18423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}