guides:first_steps
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guides:first_steps [2023/01/16 12:06] – subcon | guides:first_steps [2023/11/28 18:59] (current) – Updated references for git repo hosting. subcon | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== First steps ====== | ====== First steps ====== | ||
| - | Congratulations on becoming a newfangled | + | Congratulations on becoming a newfangled |
| ===== First off, praise SSH ===== | ===== First off, praise SSH ===== | ||
| Line 7: | Line 7: | ||
| While Subcon has a number of services that can be accessed from a web browser, the bulk of the fun is to be had on the server itself. For that, you'll require SSH access. Fortunately, | While Subcon has a number of services that can be accessed from a web browser, the bulk of the fun is to be had on the server itself. For that, you'll require SSH access. Fortunately, | ||
| - | First off, to login with SSH, you will need an SSH client. If you are using Linux, this will likely be already installed by default; for other operating systems, you will have to install a suitable client yourself. Below we will provide instructions for Windows, MacOS and Linux. | + | First off, to login with SSH, you will need an SSH client. If you are using Linux or MacOS, this will likely be already installed by default; for other operating systems, you will have to install a suitable client yourself. Below we will provide instructions for Windows, MacOS and Linux. |
| ==== For windows users ==== | ==== For windows users ==== | ||
| Line 19: | Line 19: | ||
| Next, you'll need to set up your connection settings. Proceed to Connection > Data and fill out the **auto-log****in username **field with your given username. This will make PuTTY automatically login with your username. Leaving this blank means you'll have to type in your username at the login prompt once you connect. | Next, you'll need to set up your connection settings. Proceed to Connection > Data and fill out the **auto-log****in username **field with your given username. This will make PuTTY automatically login with your username. Leaving this blank means you'll have to type in your username at the login prompt once you connect. | ||
| - | Proceed to Connection > SSH > Auth to set up your private key for the connection. | + | Proceed to Connection > SSH > Auth to set up your private key for the connection. |
| And that's all! Going back to the Session options, be sure to save your session for easy use next time. Once done, click **Open **to connect to Subcon Town! | And that's all! Going back to the Session options, be sure to save your session for easy use next time. Once done, click **Open **to connect to Subcon Town! | ||
| - | {{ https:// | + | {{ https:// |
| You'll be greeted with the terminal prompt. If your key requires a password, you'll be asked to enter it now. After that, you'll be logged in and ready to go. | You'll be greeted with the terminal prompt. If your key requires a password, you'll be asked to enter it now. After that, you'll be logged in and ready to go. | ||
| - | ==== For MacOS users ==== | + | ==== For MacOS / Linux users ==== |
| - | – | + | MacOS and most Linux distributions usually come with the standard openSSH client installed. To check, you can open your terminal of choice and enter: |
| + | < | ||
| - | ==== For Linux users ==== | + | ssh -V |
| - | – | + | </ |
| + | |||
| + | If openSSH is installed on your system, this will print out the version you have installed. | ||
| + | |||
| + | To log in using the openSSH client, you will need your username and your private key file for the public key you have supplied. If you do not yet have one, you may generate them with this command: | ||
| + | |||
| + | < | ||
| + | ssh-keygen | ||
| + | |||
| + | </ | ||
| + | |||
| + | **Keep in mind that new keypairs must first be set up on the server first before you can log in with them.** | ||
| + | |||
| + | Then, you may log in with the following command: | ||
| + | |||
| + | < | ||
| + | ssh your_username@subcon.town -p 420 -i / | ||
| + | |||
| + | </ | ||
| + | |||
| + | To make logging in easier in the future, you may also set up a config file with these configurations in: | ||
| + | |||
| + | < | ||
| + | ~/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | An in-depth explanation of this file can be found here: [[https:// | ||
| + | |||
| + | When logging in, if you private key requires a password, you'll be asked to enter it now. After that, you'll be logged in and ready to go. | ||
| ===== What to do next? ===== | ===== What to do next? ===== | ||
| Line 46: | Line 76: | ||
| ==== Shell in a nutshell ==== | ==== Shell in a nutshell ==== | ||
| + | |||
| + | If you wish to write some shell scripts do to stuff on the server, then reading this guide is recommended. Keep in mind that this will not teach you every part of shell scripting, as there are plenty of better guides for that out there. However we will get you started and give you some tips on what to look out for. | ||
| [[: | [[: | ||
| ==== File upload with SSH ==== | ==== File upload with SSH ==== | ||
| + | |||
| + | Some users may wish to upload files to their home directory. This is most notably handy for setting up your personal website. In the guide below you can read all about how to set up SSH so you can use it to easily upload files. | ||
| + | |||
| + | However, if your goal is merely to store your files in the cloud for easy access, we also have a [[https:// | ||
| [[: | [[: | ||
| ==== Mailing your neighbors ==== | ==== Mailing your neighbors ==== | ||
| + | |||
| + | Users on the server are able to communicate with each other through local mail messages. The below guide will explain the programs we have available for it and how to use them. | ||
| [[: | [[: | ||
| ==== Hosting a personal website ==== | ==== Hosting a personal website ==== | ||
| + | |||
| + | On Subcon Town, users can host their own webpages from within their home directories. Besides webpages, we also support hosting old fashioned gopherholes (see [[https:// | ||
| + | |||
| + | Generally we also recommend reading the guide for uploading files with SSH above. While this is not required, it does make it easier to deploy your website if it is bigger than a few files and contains assets like images. | ||
| [[: | [[: | ||
| Line 65: | Line 107: | ||
| [[: | [[: | ||
| - | ==== Version Control | + | ==== Version Control |
| + | |||
| + | We support hosting for two version control systems: Git and Fossil. [[https:// | ||
| [[: | [[: | ||
| + | |||
| + | For Git repositories, | ||
| + | |||
| + | ==== The stuff you can use in your browser ==== | ||
| + | |||
| + | Not all things on Subcon Town require you to login with SSH and type commands. We also have a number of services that are available from the browser. These usually require separate user accounts, so keep that in mind. Below is a list of all webservices available on Subcon Town: | ||
| + | |||
| + | [[: | ||
guides/first_steps.1673867205.txt.gz · Last modified: 2023/01/16 12:06 by subcon