{"id":649,"date":"2017-11-03T07:00:10","date_gmt":"2017-11-03T12:00:10","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=649"},"modified":"2018-01-31T08:56:21","modified_gmt":"2018-01-31T14:56:21","slug":"how-to-install-yourls-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/","title":{"rendered":"How to install YOURLS on Centos 7"},"content":{"rendered":"<p>We&#8217;ll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run your self-hosted URL shortening service. In this tutorial we will install and configure YOURLS on a <a href=\"https:\/\/www.linuxcloudvps.com\/\">CentOS 7 VPS<\/a> with Apache web server, MariaDB and PHP, which is pretty fast and straightforward.<br \/>\n<!--more--><br \/>\n<a href=\"https:\/\/yourls.org\/\">YOURLS <\/a>has a lot of useful features:<\/p>\n<ul>\n<li>Free and Open Source software.<\/li>\n<li>Private (your links only) or Public (everybody can create short links, fine for an intranet)<\/li>\n<li>Sequential or custom URL keyword<\/li>\n<li>Handy bookmarklets to easily shorten and share links<\/li>\n<li>Awesome stats: historical click reports, referrers tracking, visitors geo-location<\/li>\n<li>Neat Ajaxed interface<\/li>\n<li>Terrific Plugin architecture to easily implement new features<\/li>\n<li>Cool developer API<\/li>\n<li>Full jsonp support<\/li>\n<li>Friendly installer<\/li>\n<li>Sample files to create your own public interface<br \/>\nand many more<\/li>\n<\/ul>\n<h3><strong>1. Update your server<\/strong><\/h3>\n<p>Login to your CentOS 7 VPS via SSH as user root<\/p>\n<pre>ssh root@IP_Address -p Port_number<\/pre>\n<p>and make sure that all installed packages are up to date<\/p>\n<pre>yum update<\/pre>\n<h3><strong>2. Install Apache web server<\/strong><\/h3>\n<pre>yum install httpd<\/pre>\n<p>Once installed, start the web server and enable it to start at system boot<\/p>\n<pre>systemctl start httpd.service\r\nsystemctl enable httpd.service<\/pre>\n<h3><strong>3. Install MySQL\/MariaDB<\/strong><\/h3>\n<p>Run the following command to install MariaDB on your server<\/p>\n<pre>yum install MariaDB-server<\/pre>\n<p>Start MariaDB service and enable it to start at boot<\/p>\n<pre>systemctl start mariadb.service\r\nsystemctl enable mariadb.service<\/pre>\n<p>Once the database server is installed, execute the &#8216;mysql_secure_installation&#8217; post-installation script to set your MySQL root password and secure the server.<\/p>\n<pre>mysql_secure_installation<\/pre>\n<p>Now, create a new user and database for YOURLS<\/p>\n<pre>MariaDB [(none)]&gt; CREATE DATABASE yourlsdb;\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON yourls.* TO &#039;yourlsuser&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;YOUR_PASSWORD&#039;;\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; \\q<\/pre>\n<h3><strong>4. Install and configure YOURLS<\/strong><\/h3>\n<p>We have to download YOURLS from their official GitHub repository, so make sure that git is installed on your server<\/p>\n<pre>yum install git<\/pre>\n<p>Get YOURLS from GitHub<\/p>\n<pre>cd \/var\/www\/html\/\r\ngit clone https:\/\/github.com\/YOURLS\/YOURLS.git<\/pre>\n<p>Change the ownership of YOURLS files<\/p>\n<pre>chown -R apache:apache YOURLS\/<\/pre>\n<p>Copy the sample YOURLS configuration file<\/p>\n<pre>cd YOURLS\/\r\ncp user\/config-sample.php user\/config.php<\/pre>\n<p>Open the configuration file and update the following lines<\/p>\n<pre>nano user\/config.php\r\n\r\ndefine( &#039;YOURLS_DB_USER&#039;, &#039;yourlsuser&#039; );\r\ndefine( &#039;YOURLS_DB_PASS&#039;, &#039;YOUR_PASSWORD&#039; );\r\ndefine( &#039;YOURLS_DB_NAME&#039;, &#039;yourlsdb&#039; );\r\ndefine( &#039;YOURLS_DB_HOST&#039;, &#039;localhost&#039; );\r\ndefine( &#039;YOURLS_SITE&#039;, &#039;http:\/\/yourdomain.com&#039; );\r\ndefine( &#039;YOURLS_COOKIEKEY&#039;, &#039;modify this text with something random&#039; );\r\n$yourls_user_passwords = array(\r\n        &#039;user&#039; =&gt; &#039;password&#039;, \/\/ Use your actual username and password.<\/pre>\n<h3><strong>5. Create Apache virtual host<\/strong><\/h3>\n<p>Create a virtual host directive, so you can access YOURLS with your domain name.<\/p>\n<pre>nano \/etc\/httpd\/conf.d\/yourls.conf\r\n\r\n\tServerAdmin admin@yourdomain.com\r\n\tDocumentRoot \/var\/www\/html\/YOURLS\/\r\n\tServerName yourdomain.com\r\n\tServerAlias www.yourdomain.com\r\n\t\r\n\tOptions FollowSymLinks\r\n\tAllowOverride All\r\n\tOrder allow,deny\r\n\tallow from all\r\n\t\r\n\tErrorLog \/var\/log\/httpd\/yourdomain.com-error_log\r\n\tCustomLog \/var\/log\/httpd\/yourdomain.com-access_log common\r\n<\/pre>\n<p>Save the file and restart Apache for the changes to take effect.<\/p>\n<p>Now, go to <code>http:\/\/yourdomain.com<\/code> and follow the on-screen instructions to complete the YOURLS installation.<\/p>\n<hr \/>\n<p>Of course you don\u2019t have to install YOURLS on Centos 7 if you use one of our <a href=\"https:\/\/www.linuxcloudvps.com\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install YOURLS on Centos 7 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>We&#8217;ll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run your self-hosted URL shortening service. In this tutorial we will install and configure YOURLS on a CentOS 7 VPS with Apache web server, MariaDB and &#8230; <a title=\"How to install YOURLS on Centos 7\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/\" aria-label=\"More on How to install YOURLS on Centos 7\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":650,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[22,118,132,120],"class_list":["post-649","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-centos","tag-how-to","tag-linuxcloudvps","tag-yourls"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install YOURLS on Centos 7 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"We&#039;ll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run\" \/>\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.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/\" \/>\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 Centos 7 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"We&#039;ll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-03T12:00:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-31T14:56:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-install-YOURLS-on-Centos-7.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to install YOURLS on Centos 7\",\"datePublished\":\"2017-11-03T12:00:10+00:00\",\"dateModified\":\"2018-01-31T14:56:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/\"},\"wordCount\":414,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/How-to-install-YOURLS-on-Centos-7.png\",\"keywords\":[\"centos\",\"how to\",\"linuxcloudvps\",\"yourls\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/\",\"name\":\"How to install YOURLS on Centos 7 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/How-to-install-YOURLS-on-Centos-7.png\",\"datePublished\":\"2017-11-03T12:00:10+00:00\",\"dateModified\":\"2018-01-31T14:56:21+00:00\",\"description\":\"We'll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/How-to-install-YOURLS-on-Centos-7.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/How-to-install-YOURLS-on-Centos-7.png\",\"width\":600,\"height\":300,\"caption\":\"How to install YOURLS on Centos 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-yourls-on-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install YOURLS on Centos 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install YOURLS on Centos 7 | LinuxCloudVPS Blog","description":"We'll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run","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.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install YOURLS on Centos 7 | LinuxCloudVPS Blog","og_description":"We'll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2017-11-03T12:00:10+00:00","article_modified_time":"2018-01-31T14:56:21+00:00","og_image":[{"width":600,"height":300,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-install-YOURLS-on-Centos-7.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to install YOURLS on Centos 7","datePublished":"2017-11-03T12:00:10+00:00","dateModified":"2018-01-31T14:56:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/"},"wordCount":414,"commentCount":1,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-install-YOURLS-on-Centos-7.png","keywords":["centos","how to","linuxcloudvps","yourls"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/","name":"How to install YOURLS on Centos 7 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-install-YOURLS-on-Centos-7.png","datePublished":"2017-11-03T12:00:10+00:00","dateModified":"2018-01-31T14:56:21+00:00","description":"We'll show you, How to install YOURLS on Centos 7. Your Own URL Shortener or simply YOURLS is very useful set of PHP scripts that will allow you to run","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-install-YOURLS-on-Centos-7.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-install-YOURLS-on-Centos-7.png","width":600,"height":300,"caption":"How to install YOURLS on Centos 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-yourls-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install YOURLS on Centos 7"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=649"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/649\/revisions"}],"predecessor-version":[{"id":652,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/649\/revisions\/652"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/650"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}