One place for hosting & domains

      Deploy

      Deploy MERN with One-Click Apps


      Updated by Linode

      Contributed by

      Linode

      MERN One-Click App

      A MERN (MongoDB, Express, React, Node.js) stack is a free and open-source web software bundle used to build modern web applications:

      • MongoDB is a document database used to persist your application’s data.

      • Express serves as the web application framework.

      • React is used to build your application’s user interfaces using JavaScript. React offers a server-side rendering function which makes it easier for search engines to crawl your web application.

      • Node.js serves as the run-time environment for your application.

      All of these technologies are well-established, offer robust feature sets, and are well-supported by their maintaining organizations. These characteristics make them a great choice for your applications. Upload your existing MERN website code to your new Linode, or use MERN’s scaffolding tool to start writing new web applications on the Linode.

      Deploy a MERN One-Click App

      One-Click Apps allow you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s One-Click Apps:

      1. Log in to your Linode Cloud Manager account.

      2. From the Linode dashboard, click on the Create button in the top left-hand side of the screen and select Linode from the dropdown menu.

      3. The Linode creation page will appear. Select the One-Click tab.

      4. Under the Select App section, select the app you would like to deploy:

        Select a One-Click App to deploy

      5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

      MERN Options

      FieldDescription
      MongoDB Admin PasswordThe administrative password for your MongoDB database. Required.

      Linode Options

      ConfigurationDescription
      Select an ImageDebian 9 is currently the only image supported by the MERN One-Click App, and it is pre-selected on the Linode creation page. Required.
      RegionThe region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
      Linode PlanYour Linode’s hardware resources. The Linode plan you deploy your MERN stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you will deploy a more robust web app, then consider a plan with higher RAM and CPU allocations. If you decide that you need more or fewer hardware resources after you deploy your app, you can always resize your Linode to a different plan. Required.
      Linode LabelThe name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
      Root PasswordThe primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required.

      Getting Started After Deployment

      After your MERN One-click App has finished installing, you can:

      • Connect to your Linode via SSH. You will need your Linode’s root password to proceed.

      • Install the MERN CLI (command line interface) a utility that provides code generation and scaffolding capabilities.

      • Consult the following guides to learn more about working with the various components of the MERN stack:

      Software Included

      SoftwareDescription
      MongoDBDocument-based database
      ExpressWeb application framework
      ReactJavaScript library
      Node JSRuntime environment
      UFW (UncomplicatedFirewall)Firewall utility. Ports 22/tcp for IPv4 and IPv6 will allow incoming traffic. All other ports will have the following firewall rules: deny (incoming), allow (outgoing).

      More Information

      You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

      Find answers, ask questions, and help others.

      This guide is published under a CC BY-ND 4.0 license.



      Source link

      Deploy an ARK: Survival Evolved Server with One-Click Apps


      Updated by Linode

      Contributed by

      Linode

      Ark: Survival Evolved One-Click App

      ARK: Survival Evolved is a multiplayer action-survival game released in 2017. The game places you on a series of fictional islands inhabited by dinosaurs and other prehistoric animals. In ARK, the main objective is to survive. ARK is an ongoing battle where animals and other players have the ability to destroy you. To survive, you must build structures, farm resources, breed dinosaurs, and even set up trading hubs with neighboring tribes.

      Hosting an ARK server gives you control of the entire game. You can define the leveling speed, the amount of players, and the types of weapons that are available.

      Deploy an ARK: Survival Evolved One-Click App

      One-Click Apps allow you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s One-Click Apps:

      1. Log in to your Linode Cloud Manager account.

      2. From the Linode dashboard, click on the Create button in the top left-hand side of the screen and select Linode from the dropdown menu.

      3. The Linode creation page will appear. Select the One-Click tab.

      4. Under the Select App section, select the app you would like to deploy:

        Select a One-Click App to deploy

      5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

      The ARK Options section of this guide provides details on all available configuration options for this app.

      ARK Options

      You can configure your ARK One-Click App by providing values for the following fields:

      Field                                 Description
      RCON PasswordYour password for RCON, a protocol which allows ARK administrators to remotely execute commands on the game server. Required.
      SSH KeyYour SSH public key. The public key will be stored in the /root/.ssh/authorized_keys file on your Linode, and you will be able to use it to login as root over SSH. Advanced Configuration.
      Server NameYour ARK server’s name. Advanced Configuration.
      Message of the DayA message that is displayed whenever a player logs on to the server. Advanced Configuration.
      Server PasswordYour ARK server’s password, if you want the game server to be password protected. Advanced Configuration.
      Hardcore Mode EnabledEnables Hardcore mode, which resets a player to level 1 after dying. Advanced Configuration.
      XP MultiplierIncreases or decreases the amount of experience awarded for various actions. Advanced Configuration.
      Server PvEDisables player vs player combat and enables player vs environment combat. Advanced Configuration.

      Linode Options

      After providing the app specific options, provide configurations for your Linode server:

      ConfigurationDescription
      Select an ImageDebian 9 is currently the only image supported by ARK: Survival Evolved One-Click Apps, and it is pre-selected on the Linode creation page. Required.
      RegionThe region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
      Linode PlanYour Linode’s hardware resources. Your ARK server should be sized based on the amount of traffic you are expecting on your server as well as the game play performance you are looking for. We recommend using a 8GB Linode as the smallest plan to ensure good performance of your game server. A 8GB Dedicated plan will provide better game performance as well. If you decide that you need more or fewer hardware resources after you deploy your app, you can always resize your Linode to a different plan. Required.
      Linode LabelThe name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
      Root PasswordThe primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required.

      When you’ve provided all required Linode Options, click on the Create button. ARK should install between 5-15 minutes after your Linode has successfully provisioned.

      Getting Started After Deployment

      Ensure that you have installed Steam on your personal computer and bought the ARK: Survival Evolved game on your Steam account before getting started with this section.

      After the Ark: Survival Evolved Server One-Click App has finished installing, you will be able to access your server by copying your Linode’s IPv4 address and entering it into the favorite servers list in your computer’s Steam client:

      1. Click on the Linodes link in the sidebar. You will see a list of all your Linodes.

      2. Find the Linode you just created when deploying your app and select it.

      3. Navigate to the Networking tab.

      4. Your IPv4 address will be listed under the Address column in the IPv4 table. Copy the address.

      5. On your personal computer, open Steam. Click on View > Servers, then click on the Favorites tab.

        The Steam favorite servers dialog box.

      6. Click on Add a Server, then paste in your Linode’s IP address. Click on Add This Address to Favorites.

        Add your server to your list of favorite servers.

      7. Once you have added your Linode’s IP address to your Steam favorites list, open ARK: Survival Evolved. Click on Join ARK. At the bottom of the screen, click on the Session Filter drop down list and select Favorites. Your ARK Linode should appear:

        ARK server list containing the Linode that was added to Steam favorites.

        Click on the server and then select Join at the bottom of the screen. You will be loaded into your server.

      Software Included

      The ARK: Survival Evolved One-Click App will install the following required software on your Linode:

      SoftwareDescription
      ARK: Survival EvolvedGame server.
      LinuxGSMA command line tool for the deployment and management of Linux game servers.
      UFWFirewall utility. Ports 27015/udp, 7777:7778/udp and 27020/tcp will allow outgoing and incoming traffic.
      Fail2banFail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks.

      More Information

      You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

      Find answers, ask questions, and help others.

      This guide is published under a CC BY-ND 4.0 license.



      Source link

      Deploy a Team Fortress 2 Server with One-Click Apps


      Updated by Linode

      Contributed by

      Linode

      Team Fortress 2 One-Click App

      Team Fortress 2 (TF2) is a team-based multiplayer first-person shooter game. In TF2, you and your team choose from 9 unique classes and play against an enemy team in a variety of game modes. These modes include capture the flag, king of the hill, and even a battle pitting your team against a robotic horde.

      Setting up a personal game server puts you in control of the game modes and maps you use, as well as a variety of other settings to customize your experience.

      Deploy a Team Fortress 2 One-Click App

      One-Click Apps allow you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s One-Click Apps:

      1. Log in to your Linode Cloud Manager account.

      2. From the Linode dashboard, click on the Create button in the top left-hand side of the screen and select Linode from the dropdown menu.

      3. The Linode creation page will appear. Select the One-Click tab.

      4. Under the Select App section, select the app you would like to deploy:

        Select a One-Click App to deploy

      5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

      The Team Fortress 2 Options section of this guide provides details on all available configuration options for this app.

      Team Fortress 2 Options

      You can configure your Team Fortress 2 App by providing values for the following fields:

      FieldDescription
      RCON PasswordThe password for the remote console, which allows you to issue commands on the TF2 server. Required.
      SSH KeyYour SSH public key. The public key will be stored in the /root/.ssh/authorized_keys file on your Linode, and you will be able to use it to login as root over SSH. Advanced Options.
      Server NameYour Team Fortress 2 server’s name. Advanced Options.
      Message of the DayMessage of the day. Text displayed whenever a player logs on to the server. Advanced Options
      Server PasswordThe password for the TF2 server. Configuring a TF2 server password will require users of your game server to provide this password. Advanced Options
      Game Server Login TokenA Steam game server login token. This is required to publicly list your server. To get a Steam Token, visit the Steam Game Server Account Management page. Advanced Options
      Team Balance EnabledAutomatically balance the number of players on a team. Advanced Options
      Maximum RoundsThe maximum amount of rounds before the map changes. Advanced Options
      Round Time LimitThe time per round, in minutes. Advanced Options

      Linode Options

      After providing the app specific options, provide configurations for your Linode server:

      ConfigurationDescription
      Select an ImageDebian 9 is currently the only image supported by Team Fortress 2 One-Click Apps, and it is pre-selected on the Linode creation page. Required.
      RegionThe region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
      Linode PlanYour Linode’s hardware resources. Your TF2 server should be sized based on the amount of traffic you are expecting on your server as well as the game play performance you are looking for. We recommend using a 2GB Linode as the smallest plan to ensure good performance of your game server, though 4GB as a minimum size would ensure better performance of your game server. If you decide that you need more or fewer hardware resources after you deploy your app, you can always resize your Linode to a different plan. Required.
      Linode LabelThe name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
      Root PasswordThe primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required.

      When you’ve provided all required Linode Options, click on the Create button. Your Team Fortress 2 app should install between 5-15 minutes after your Linode has successfully provisioned.

      Getting Started after Deployment

      Ensure that you have installed Team Fortress 2 to your computer before getting started with this section. You can install Team Fortress 2 from Steam’s Web Store.

      After the Team Fortress 2 Server One-Click App has finished deploying to your Linode, you will be able to access your server by copying your Linode’s IPv4 address and connecting to it within the game installed on your computer. To find your Linode’s IPv4 address and connect to it:

      1. Click on the Linodes link in the sidebar. You will see a list of all your Linodes.

      2. Find the Linode you just created when deploying your app and select it.

      3. Navigate to the Networking tab.

      4. Under the IPv4 heading, you will find your IPv4 address listed under the Address column.

      5. Copy the IPv4 address.

      6. Open Team Fortress 2 on your computer, then open the developer’s console by pressing the back tick key (`).

      7. Type connect 192.0.2.155. Replace 192.0.2.155 with the IP address of your Linode, and then click Submit.

        The Team Fortress 2 developer's console.

        You will connect to the server.

      Software Included

      The Team Fortress 2 One-Click App will install the following required software on your Linode:

      SoftwareDescription
      Team Fortress 2Game server.
      LinuxGSMA command line tool for the deployment and management of Linux game servers.
      UFWFirewall utility. Ports 27014:27050/tcp, 3478:4380/udp, 27000:27030/udp, and 26901 will allow outgoing and incoming traffic.
      Fail2banFail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks.

      Find answers, ask questions, and help others.

      This guide is published under a CC BY-ND 4.0 license.



      Source link