{"id":2194,"date":"2019-12-11T09:42:04","date_gmt":"2019-12-11T07:42:04","guid":{"rendered":"https:\/\/upcloud.com\/global\/us\/resources\/tutorials\/get-started-moss\/"},"modified":"2019-12-11T09:42:04","modified_gmt":"2019-12-11T07:42:04","slug":"get-started-moss","status":"publish","type":"tutorial","link":"https:\/\/upcloud.com\/global\/resources\/tutorials\/get-started-moss\/","title":{"rendered":"How to get started with Moss"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Moss is the virtual sysadmin for web developers. It\u2019s the perfect teammate for all web development professionals from freelancers and startups to agencies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It will help you manage, deploy, and monitor your servers and websites. Thanks to Moss you can use your time and resources to get new clients and build your applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Get started with Moss quickly and easily by following this tutorial!<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/signup.upcloud.com\/\">Test hosting on UpCloud!<\/a><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Sign up on UpCloud<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First things first, if you have not yet registered on UpCloud, <a href=\"https:\/\/signup.upcloud.com\/?promo=moss\" target=\"_blank\" rel=\"noreferrer noopener\">begin by getting signed up<\/a>. Follow the link here to register for a free trial and get an extra \u20ac25 to get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Deploy a new cloud server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once registered, sign in to your <a href=\"https:\/\/hub.upcloud.com\/\" target=\"_blank\" rel=\"noopener\">UpCloud control panel<\/a> and get cracking!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next thing you\u2019ll need to do is deploy a new cloud server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Deploying a new server on UpCloud is an easy and straightforward process. To get started, select to <a href=\"https:\/\/hub.upcloud.com\/deploy\" target=\"_blank\" rel=\"noopener\">Deploy a server<\/a> under the Servers section at your UpCloud control panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The deployment page shows a number of options for customising a new cloud server.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose the server location from the available data centres<\/li>\n\n\n\n<li>Pick a configuration, the \u20ac7 per month plan is a good starting point<\/li>\n\n\n\n<li>Select Ubuntu 18.04 or 16.04 for the operating system<\/li>\n\n\n\n<li>Add any SSH keys you might want to use if any<\/li>\n\n\n\n<li>Give your server a hostname and description<\/li>\n\n\n\n<li>Deploy!<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can find more detailed instructions on server deployment in our <a href=\"https:\/\/upcloud.com\/global\/resources\/tutorials\/deploy-server\" target=\"_blank\" rel=\"noreferrer noopener\">newcomer\u2019s tutorials<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once deployed, you\u2019ll receive the root password for your new cloud server by your chosen delivery method, email by default. You can also see the password in the notification area on your UpCloud control panel. Make a note of your root password as well as your server IP address since you will need them to connect the host with Moss.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should also configure a domain name for your website to point to the IP address of the new cloud server. This can generally be done at your domain registrars service. Read more about <a href=\"https:\/\/upcloud.com\/global\/blog\/domain-name-system\" target=\"_blank\" rel=\"noreferrer noopener\">domain name systems and how to configure DNS records<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Register on Moss<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, <a href=\"https:\/\/moss.sh\/login\/\" target=\"_blank\" rel=\"noopener\">log into<\/a> your Moss organization or <a href=\"https:\/\/moss.sh\/signup\/\" target=\"_blank\" rel=\"noopener\">sign up<\/a> if you haven\u2019t yet. After you\u2019ve registered and logged in, you\u2019ll be greeted by the Moss dashboard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First things first, create or choose a workspace for your cloud server by clicking the <em>+New<\/em> on the menu bar or the <em>Create workspace<\/em> link under the welcome message.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-dashboard.png\" alt=\"Moss dashboard\" class=\"wp-image-12037\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Give your workspace a name and click the <em>Create<\/em> button to confirm.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-workspace.png\" alt=\"Moss create workspace\" class=\"wp-image-12039\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once created, you can see the overview of your workspace that will later list your connected servers and managed sites.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-new-workspace.png\" alt=\"Moss new workspace created\" class=\"wp-image-12040\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you\u2019ve created a workspace, continue below with connecting your cloud server to Moss.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connecting a cloud server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before being able to create and manage websites, you first need to connect a server. Start by clicking the <em>+New server<\/em> link under your selected workspace.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the first view, select to connect an <em>Existing server<\/em> by clicking the icon on the right.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-server-1.png\" alt=\"Moss create server step 1\" class=\"wp-image-12042\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This will expand further options. Enter your cloud server\u2019s IP address, select your timezone, and then give the server a name you can recognise it by. Once all set, click the <em>Create<\/em> button to confirm.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-server-2.png\" alt=\"Moss create server step 2\" class=\"wp-image-12043\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You will then be presented with a Linux terminal command that you need to run on your cloud server to initialise it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copy the whole command in one, then log into your cloud server using SSH. Paste the command to the terminal and run it by pressing enter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the command has finished, you\u2019ll see an output telling you which username to pass onto Moss. Enter the username as instructed in the last <em>User<\/em> field and then click the <em>Finalize<\/em> button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-connect-server.png\" alt=\"Moss connect server script\" class=\"wp-image-12044\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Afterwards, you will get a confirmation if Moss was successful in connecting your cloud server.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-server-connected.png\" alt=\"Moss server connected\" class=\"wp-image-12045\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it! Moss has started the operations to set up your UpCloud server. Once done, you can continue with creating new applications or sites using Moss.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create a new site<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you\u2019ve connected your cloud server to Moss, you can start deploying a new web site. Start by selecting the new server and open the <em>Sites<\/em> section.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click the <em>+New site<\/em> link to begin configuring a new website.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site1.png\" alt=\"Moss create site step 1\" class=\"wp-image-12046\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You will be then presented with the available framework you can choose. Each option can be a great starting point for many different kinds of websites, but for this example, we\u2019ll be using WordPress. Click to select the <em>Install<\/em> option below the WordPress logo to continue.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site2.png\" alt=\"Moss create site step 2\" class=\"wp-image-12047\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, enter the basic details for your new website, including the site title and the admin username and password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When done, click the <em>OK<\/em> button to confirm.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site3.png\" alt=\"Moss create site step 3\" class=\"wp-image-12048\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once the very first settings are done, you\u2019ll need to continue filling in the site configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Continue by clicking the <em>+New user<\/em> link to create a new Linux user account on the cloud server that will run the hosting software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then enter a name for the user account and click the <em>Create<\/em> button to confirm. Moss will take care of the actual server-side settings for you.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site4.png\" alt=\"Moss create site step 4\" class=\"wp-image-12049\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, fill in the domain name that you should already have configured to point to the IP address of your new cloud server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The site name below the domain will be selected automatically, but you can also set it manually yourself if you wish.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Following that, you\u2019ll need to also create a new database for your new WordPress site. Click the <em>+New connection<\/em> link under the <em>Database connection<\/em> section.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site6.png\" alt=\"Moss create site step 6\" class=\"wp-image-12051\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the next dialogue window, give the database a name and create a new database user. Afterwards, click the <em>Create<\/em> button to continue.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site7.png\" alt=\"Moss create site step 7\" class=\"wp-image-12052\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019ve completed all of the steps above, your new website is ready to launch. Click the <em>Create<\/em> button at the bottom to start deploying it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site8.png\" alt=\"Moss create site step 8\" class=\"wp-image-12053\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If all settings were accepted, you\u2019ll see a confirmation that Moss is now working to create your site.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-create-site9.png\" alt=\"Moss create site step 9\" class=\"wp-image-12054\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It will take a moment for the operations to create the site to be completed. Once done, you should be able to reach the site using the domain name you entered during the site configuration. Open your domain on your web browser.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/example.upcloud.com<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/moss-wp-sample-page.png\" alt=\"Moss WP sample page\" class=\"wp-image-12055\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations! If you can reach the default WordPress page, you\u2019ve successfully configured and created your first site with Moss.<\/p>\n","protected":false},"author":3,"featured_media":12064,"comment_status":"open","ping_status":"closed","template":"","community-category":[223,250],"class_list":["post-2194","tutorial","type-tutorial","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/comments?post=2194"}],"version-history":[{"count":0,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2194\/revisions"}],"wp:attachment":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/media?parent=2194"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/community-category?post=2194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}