{"id":28365,"date":"2018-10-01T08:01:33","date_gmt":"2018-10-01T13:01:33","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=28365"},"modified":"2022-12-09T06:26:56","modified_gmt":"2022-12-09T12:26:56","slug":"how-to-install-mastodon-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/","title":{"rendered":"How to install Mastodon on CentOS 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-28409\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.jpg\" alt=\"How to install Mastodon on CentOS 7\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>Mastodon is an open-source free social network based on open web protocol. It used Ruby on Rails for the back-end and React.js and Redux for the front-end. In this tutorial, we will show you how to install Mastodon on a CentOS 7 server.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fc09ee5051d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fc09ee5051d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#1-Update-your-CentOS-7-server-and-install-the-necessary-packages\" >1. Update your CentOS 7 server and install the necessary packages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#2-Install-Nodejs-and-Yarn\" >2. Install Node.js and Yarn<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#3-Install-PostgreSQL\" >3. Install PostgreSQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#4-Install-Redis\" >4. Install Redis<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#5-Create-a-new-system-user\" >5. Create a new system user<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#6-Install-Ruby\" >6. Install Ruby<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#7-Clone-the-Mastodon-git-repository-and-install-dependencies\" >7. Clone the Mastodon git repository and install dependencies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#8-Configure-Mastodon\" >8. Configure Mastodon<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#9-Create-Mastodon-systemd-units\" >9. Create Mastodon systemd units<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#10-Install-and-configure-Nginx\" >10. Install and configure Nginx<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-Update-your-CentOS-7-server-and-install-the-necessary-packages\"><\/span>1. Update your CentOS 7 server and install the necessary packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to your VPS via SSH as a sudo user:<\/p>\n<pre>ssh userame@IP_Address<\/pre>\n<p>Once you are logged in, issue the following commands to make sure all installed packages are up to date:<\/p>\n<pre>sudo yum update<\/pre>\n<p>Next, install the install the pre-requisite packages necessary for building Mastodon with the following command:<\/p>\n<pre>sudo yum install curl git gpg gcc git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make autoconf automake libtool bison curl sqlite-devel ImageMagick libxml2-devel libxslt-devel gdbm-devel ncurses-devel glibc-headers glibc-devel libicu-devel libidn-devel protobuf-devel protobuf<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-Install-Nodejs-and-Yarn\"><\/span>2. Install Node.js and Yarn<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We will install Node.js v8 LTS from the NodeSource repository which depends on the EPEL repository being enabled.<\/p>\n<p>To enable the EPEL repository on your CentOS 7 VPS, issue the following command:<\/p>\n<pre>sudo yum install epel-release curl<\/pre>\n<p>Once the EPEL repository is enabled run the following command to add the Node.js v8 LTS repository:<\/p>\n<pre>curl --silent --location https:\/\/rpm.nodesource.com\/setup_8.x | sudo bash -<\/pre>\n<p>Once the NodeSource repository is enabled install the Node.js with the following command:<\/p>\n<pre>sudo yum install nodejs<\/pre>\n<p>Enable the Yarn RPM repository with:<\/p>\n<pre>curl --silent --location https:\/\/dl.yarnpkg.com\/rpm\/yarn.repo | sudo tee \/etc\/yum.repos.d\/yarn.repo<\/pre>\n<p>Install the latest Yarn version with:<\/p>\n<pre>sudo yum install yarn<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-PostgreSQL\"><\/span>3. Install PostgreSQL<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Enable the PostgreSQL repository:<\/p>\n<pre>sudo rpm -Uvh https:\/\/download.postgresql.org\/pub\/repos\/yum\/9.6\/redhat\/rhel-7-x86_64\/pgdg-centos96-9.6-3.noarch.rpm\r\n<\/pre>\n<p>To install the PostgreSQL server run the following command:<\/p>\n<pre>sudo yum install postgresql96-server postgresql96-contrib postgresql96-devel<\/pre>\n<p>Once the installation is completed, create a new database cluster with:<\/p>\n<pre>sudo \/usr\/pgsql-9.6\/bin\/postgresql96-setup initdb<\/pre>\n<p>Start the PostgreSQL service and enable it to start on boot:<\/p>\n<pre>sudo systemctl enable postgresql-9.6\r\nsudo systemctl start postgresql-9.6<\/pre>\n<p>Login to the PostgreSQL shell:<\/p>\n<pre>sudo -u postgres psql<\/pre>\n<p>Create a new user for the Mastodon instance:<\/p>\n<pre>CREATE USER mastodon CREATEDB;<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-Install-Redis\"><\/span>4. Install Redis<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Installing Redis is pretty straightforward, just run the following command:<\/p>\n<pre>sudo yum install redis<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5-Create-a-new-system-user\"><\/span>5. Create a new system user<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To create a new system user for Mastodon run the following command:<\/p>\n<pre>sudo adduser mastodon<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Install-Ruby\"><\/span>6. Install Ruby<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We will install Ruby using the Rbenv script.<\/p>\n<p>Before cloning the rbenv repository switch to the new mastodon user:<\/p>\n<pre>sudo su - mastodon<\/pre>\n<p>Set up rbenv and ruby-build with the following commands:<\/p>\n<pre>cd\r\ngit clone git:\/\/github.com\/sstephenson\/rbenv.git .rbenv\r\necho 'export PATH=\"$HOME\/.rbenv\/bin:$PATH\"' &gt;&gt; ~\/.bash_profile\r\necho 'eval \"$(rbenv init -)\"' &gt;&gt; ~\/.bash_profile\r\nexec $SHELL\r\n\r\ngit clone git:\/\/github.com\/sstephenson\/ruby-build.git ~\/.rbenv\/plugins\/ruby-build\r\necho 'export PATH=\"$HOME\/.rbenv\/plugins\/ruby-build\/bin:$PATH\"' &gt;&gt; ~\/.bash_profile\r\nexec $SHELL\r\n<\/pre>\n<p>Once both rbenv and ruby-build are setups, install the latest Ruby version with&#8221;<\/p>\n<pre>rbenv install 2.5.1\r\nrbenv global 2.5.1\r\n<\/pre>\n<p>To verify everything is done correctly, use the command <code>ruby --version<\/code>.<\/p>\n<p>The output should be similar to the following:<\/p>\n<pre>ruby --version\r\nruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"7-Clone-the-Mastodon-git-repository-and-install-dependencies\"><\/span>7. Clone the Mastodon git repository and install dependencies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The following commands are also run as mastodon user.<\/p>\n<p>Clone the mastodon git repository into the <code>~\/live<\/code> directory and checkout to the latest stable Mastodon branch:<\/p>\n<pre>cd\r\ngit clone https:\/\/github.com\/tootsuite\/mastodon.git live\r\ncd ~\/live\r\ngit checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)\r\n<\/pre>\n<p>Install bundler and ruby dependencies with the following commands:<\/p>\n<pre>gem install bundler\r\nbundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test\r\n<\/pre>\n<p>Install the node.js dependencies with:<\/p>\n<pre>yarn install --pure-lockfile\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"8-Configure-Mastodon\"><\/span>8. Configure Mastodon<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The following commands are run as mastodon user.<\/p>\n<p>Change to the Mastodon installation directory and run the following command to start the setup:<\/p>\n<pre>cd ~\/live\r\nRAILS_ENV=production bundle exec rake mastodon:setup\r\n<\/pre>\n<p>The installer will ask you several questions, generate new app secret, set up the database schema and compile the assets.<\/p>\n<pre>Your instance is identified by its domain name. Changing it afterward will break things.\r\nDomain name: your-domain.com\r\n\r\nSingle user mode disables registrations and redirects the landing page to your public profile.\r\nDo you want to enable single user mode? No\r\n\r\nAre you using Docker to run Mastodon? no\r\n\r\nPostgreSQL host: \/var\/run\/postgresql\r\nPostgreSQL port: 5432\r\nName of PostgreSQL database: mastodon_production\r\nName of PostgreSQL user: mastodon\r\nPassword of PostgreSQL user:\r\nDatabase configuration works! &#x1f386;\r\n\r\nRedis host: localhost\r\nRedis port: 6379\r\nRedis password:\r\nRedis configuration works! &#x1f386;\r\n\r\nDo you want to store uploaded files on the cloud? No\r\n\r\nDo you want to send e-mails from localhost? yes\r\nE-mail address to send e-mails \"from\": Mastodon &lt;notifications@your-domain.com&gt;\r\nSend a test e-mail with this configuration right now? no\r\n\r\nThis configuration will be written to .env.production\r\nSave configuration? Yes\r\n\r\nNow that configuration is saved, the database schema must be loaded.\r\nIf the database already exists, this will erase its contents.\r\nPrepare the database now? Yes\r\nRunning `RAILS_ENV=production rails db:setup` ...\r\n\r\n\r\nCreated database 'mastodon_production'\r\n\r\n...\r\n\r\nDone!\r\n\r\nThe final step is compiling CSS\/JS assets.\r\nThis may take a while and consume a lot of RAM.\r\nCompile the assets now? Yes\r\nRunning `RAILS_ENV=production rails assets:precompile` ...\r\n\r\n\r\nyarn install v1.9.4\r\n\r\n...\r\n\r\nUsing \/home\/mastodon\/live\/config\/webpacker.yml file for setting up webpack paths\r\nCompiling\u2026\r\n  Compiled all packs in \/home\/mastodon\/live\/public\/packs\r\n  Rendering errors\/500.html.haml within layouts\/error\r\n  Rendered errors\/500.html.haml within layouts\/error (2596.9ms)\r\nDone!\r\n\r\nAll done! You can now power on the Mastodon server &#x1f418;\r\n\r\nDo you want to create an admin user straight away? Yes\r\nUsername: admin\r\nE-mail: admin@your-domain.com\r\nYou can login with the password: 80b4aA233adaeS86d095Scbf79302f81\r\nYou can change your password once you login.\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"9-Create-Mastodon-systemd-units\"><\/span>9. Create Mastodon systemd units<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The following commands are run as root or sudo user.<\/p>\n<p>Open your text editor and create the following systemd unit files:<\/p>\n<pre>sudo nano \/etc\/systemd\/system\/mastodon-web.service<\/pre>\n<pre>[Unit]\r\nDescription=mastodon-web\r\nAfter=network.target\r\n\r\n[Service]\r\nType=simple\r\nUser=mastodon\r\nWorkingDirectory=\/home\/mastodon\/live\r\nEnvironment=\"RAILS_ENV=production\"\r\nEnvironment=\"PORT=3000\"\r\nExecStart=\/home\/mastodon\/.rbenv\/shims\/bundle exec puma -C config\/puma.rb\r\nExecReload=\/bin\/kill -SIGUSR1 $MAINPID\r\nTimeoutSec=15\r\nRestart=always\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/pre>\n<pre>sudo nano \/etc\/systemd\/system\/mastodon-sidekiq.service<\/pre>\n<pre>[Unit]\r\nDescription=mastodon-sidekiq\r\nAfter=network.target\r\n\r\n[Service]\r\nType=simple\r\nUser=mastodon\r\nWorkingDirectory=\/home\/mastodon\/live\r\nEnvironment=\"RAILS_ENV=production\"\r\nEnvironment=\"DB_POOL=5\"\r\nExecStart=\/home\/mastodon\/.rbenv\/shims\/bundle exec sidekiq -c 5 -q default -q push -q mailers -q pull\r\nTimeoutSec=15\r\nRestart=always\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<pre>sudo nano \/etc\/systemd\/system\/mastodon-streaming.service<\/pre>\n<pre>[Unit]\r\nDescription=mastodon-streaming\r\nAfter=network.target\r\n\r\n[Service]\r\nType=simple\r\nUser=mastodon\r\nWorkingDirectory=\/home\/mastodon\/live\r\nEnvironment=\"NODE_ENV=production\"\r\nEnvironment=\"PORT=4000\"\r\nExecStart=\/usr\/bin\/npm run start\r\nTimeoutSec=15\r\nRestart=always\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<p>Enable and start all services:<\/p>\n<pre>sudo systemctl enable mastodon-web.service\r\nsudo systemctl enable mastodon-sidekiq.service\r\nsudo systemctl enable mastodon-streaming.service\r\n\r\nsudo systemctl start mastodon-web.service\r\nsudo systemctl start mastodon-sidekiq.service\r\nsudo systemctl start mastodon-streaming.service\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"10-Install-and-configure-Nginx\"><\/span>10. Install and configure Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To install Nginx run the following command:<\/p>\n<pre>sudo yum install nginx\r\n<\/pre>\n<p>Once nginx is installed, create a server block for your domain. Do not forget to set the correct path to the SSL certificate and private key.<\/p>\n<pre>sudo nano \/etc\/nginx\/conf.d\/your-domain.com.conf\r\n<\/pre>\n<pre>map $http_upgrade $connection_upgrade {\r\n  default upgrade;\r\n  ''      close;\r\n}\r\n\r\nserver {\r\n  listen 80;\r\n  listen [::]:80;\r\n  server_name your-domain.com;\r\n  root \/home\/mastodon\/live\/public;\r\n  # Useful for Let's Encrypt\r\n  location \/.well-known\/acme-challenge\/ { allow all; }\r\n  location \/ { return 301 https:\/\/$host$request_uri; }\r\n}\r\n\r\nserver {\r\n  listen 443 ssl http2;\r\n  listen [::]:443 ssl http2;\r\n  server_name your-domain.com;\r\n\r\n  ssl_protocols TLSv1.2;\r\n  ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;\r\n  ssl_prefer_server_ciphers on;\r\n  ssl_session_cache shared:SSL:10m;\r\n\r\n  ssl_certificate     \/etc\/ssl\/certs\/certificate.crt;\r\n  ssl_certificate_key \/etc\/ssl\/private\/certificate.key;\r\n\r\n  keepalive_timeout    70;\r\n  sendfile             on;\r\n  client_max_body_size 80m;\r\n\r\n  root \/home\/mastodon\/live\/public;\r\n\r\n  gzip on;\r\n  gzip_disable \"msie6\";\r\n  gzip_vary on;\r\n  gzip_proxied any;\r\n  gzip_comp_level 6;\r\n  gzip_buffers 16 8k;\r\n  gzip_http_version 1.1;\r\n  gzip_types text\/plain text\/css application\/json application\/javascript text\/xml application\/xml application\/xml+rss text\/javascript;\r\n\r\n  add_header Strict-Transport-Security \"max-age=31536000\";\r\n\r\n  location \/ {\r\n    try_files $uri @proxy;\r\n  }\r\n\r\n  location ~ ^\/(emoji|packs|system\/accounts\/avatars|system\/media_attachments\/files) {\r\n    add_header Cache-Control \"public, max-age=31536000, immutable\";\r\n    try_files $uri @proxy;\r\n  }\r\n  \r\n  location \/sw.js {\r\n    add_header Cache-Control \"public, max-age=0\";\r\n    try_files $uri @proxy;\r\n  }\r\n\r\n  location @proxy {\r\n    proxy_set_header Host $host;\r\n    proxy_set_header X-Real-IP $remote_addr;\r\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n    proxy_set_header X-Forwarded-Proto https;\r\n    proxy_set_header Proxy \"\";\r\n    proxy_pass_header Server;\r\n\r\n    proxy_pass http:\/\/127.0.0.1:3000;\r\n    proxy_buffering off;\r\n    proxy_redirect off;\r\n    proxy_http_version 1.1;\r\n    proxy_set_header Upgrade $http_upgrade;\r\n    proxy_set_header Connection $connection_upgrade;\r\n\r\n    tcp_nodelay on;\r\n  }\r\n\r\n  location \/api\/v1\/streaming {\r\n    proxy_set_header Host $host;\r\n    proxy_set_header X-Real-IP $remote_addr;\r\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n    proxy_set_header X-Forwarded-Proto https;\r\n    proxy_set_header Proxy \"\";\r\n\r\n    proxy_pass http:\/\/127.0.0.1:4000;\r\n    proxy_buffering off;\r\n    proxy_redirect off;\r\n    proxy_http_version 1.1;\r\n    proxy_set_header Upgrade $http_upgrade;\r\n    proxy_set_header Connection $connection_upgrade;\r\n\r\n    tcp_nodelay on;\r\n  }\r\n\r\n  error_page 500 501 502 503 504 \/500.html;\r\n}\r\n<\/pre>\n<p>Save the file and restart the nginx service:<\/p>\n<pre>sudo systemctl restart nginx\r\n<\/pre>\n<p>You can now open your browser, type your domain and you will be presented with the Mastodon login form.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28396\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-mastodon-on-CentOS-7.jpg\" alt=\"installing mastodon on CentOS 7\" width=\"500\" height=\"304\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-mastodon-on-CentOS-7.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-mastodon-on-CentOS-7-150x91.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-mastodon-on-CentOS-7-300x182.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-28397\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-mastodon-on-CentOS-7.jpg\" alt=\"install mastodon on CentOS 7\" width=\"150\" height=\"161\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-mastodon-on-CentOS-7.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-mastodon-on-CentOS-7-140x150.jpg 140w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/> Of course, you don\u2019t have to install Mastodon on CentOS 7,\u00a0if you use one of our <a href=\"https:\/\/www.rosehosting.com\/vps-hosting.html\">managed hosting services<\/a>, in which case you can simply ask our expert Linux admins to install Mastodon 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, on\u00a0<strong>How to Install Mastodon on CentOS 7<\/strong> 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>Mastodon is an open-source free social network based on open web protocol. It used Ruby on Rails for the back-end &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install Mastodon on CentOS 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#more-28365\" aria-label=\"Read more about How to install Mastodon on CentOS 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":28409,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699],"tags":[34,1753],"class_list":["post-28365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos","tag-mastodon","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>How to install Mastodon on CentOS 7 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install Mastodon on CentOS 7 | 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-mastodon-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 Mastodon on CentOS 7\" \/>\n<meta property=\"og:description\" content=\"How to install Mastodon on CentOS 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/\" \/>\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=\"2018-10-01T13:01:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-09T12:26:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\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=\"8 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-mastodon-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install Mastodon on CentOS 7\",\"datePublished\":\"2018-10-01T13:01:33+00:00\",\"dateModified\":\"2022-12-09T12:26:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/\"},\"wordCount\":595,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-install-Mastodon-on-CentOS-7.jpg\",\"keywords\":[\"centos\",\"Mastodon\"],\"articleSection\":[\"CentOS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/\",\"name\":\"How to install Mastodon on CentOS 7 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-install-Mastodon-on-CentOS-7.jpg\",\"datePublished\":\"2018-10-01T13:01:33+00:00\",\"dateModified\":\"2022-12-09T12:26:56+00:00\",\"description\":\"How to install Mastodon on CentOS 7 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-install-Mastodon-on-CentOS-7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-install-Mastodon-on-CentOS-7.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to install Mastodon on CentOS 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-mastodon-on-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Mastodon on CentOS 7\"}]},{\"@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 Mastodon on CentOS 7 | RoseHosting","description":"How to install Mastodon on CentOS 7 | 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-mastodon-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install Mastodon on CentOS 7","og_description":"How to install Mastodon on CentOS 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2018-10-01T13:01:33+00:00","article_modified_time":"2022-12-09T12:26:56+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.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":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install Mastodon on CentOS 7","datePublished":"2018-10-01T13:01:33+00:00","dateModified":"2022-12-09T12:26:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/"},"wordCount":595,"commentCount":1,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.jpg","keywords":["centos","Mastodon"],"articleSection":["CentOS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/","name":"How to install Mastodon on CentOS 7 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.jpg","datePublished":"2018-10-01T13:01:33+00:00","dateModified":"2022-12-09T12:26:56+00:00","description":"How to install Mastodon on CentOS 7 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-install-Mastodon-on-CentOS-7.jpg","width":742,"height":372,"caption":"How to install Mastodon on CentOS 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-mastodon-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Mastodon on CentOS 7"}]},{"@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\/28365","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=28365"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28365\/revisions"}],"predecessor-version":[{"id":43955,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28365\/revisions\/43955"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/28409"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=28365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=28365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=28365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}