Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:server:first_start [2020-05-12 10:05] mattias [Basic Network Configuration] |
blocks:server:first_start [2024-10-22 12:29] (current) admin Fixed links |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== First Start ====== | + | ====== First Start ====== |
- | + | This article assumes you have just prepared a brand-new Linux-based server, as [[blocks: | |
- | + | ||
- | + | ||
- | + | ||
- | **This page is currently under update. | + | |
- | + | ||
- | If you are looking for instructions for Ubuntu 18.04 based systems, [[blocks: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | This article assumes you have just prepared a brand-new Linux-based server, as described in [[creating_a_server|]]. | + | |
Connect keyboard and mouse to the server, then turn on the power. After some brief initial messages, the screen shown below should appear. | Connect keyboard and mouse to the server, then turn on the power. After some brief initial messages, the screen shown below should appear. | ||
- | | + | {{: |
- | + | This message indicates that the license | |
- | + | ||
- | {{: | + | |
- | + | ||
- | + | ||
- | + | ||
- | This message indicates that there' | + | |
- | + | ||
- | | + | |
{{: | {{: | ||
- | |||
- | |||
===== Setting Passwords ===== | ===== Setting Passwords ===== | ||
- | + | Before you do anything else, you // | |
- | + | ||
- | Before you do anything else, you // | + | |
- | + | ||
- | | + | |
:!: It is **very important** that you perform these steps, choosing good, strong passwords, before proceeding. If you don't do this, you leave your server open to anyone that may know the default passwords. | :!: It is **very important** that you perform these steps, choosing good, strong passwords, before proceeding. If you don't do this, you leave your server open to anyone that may know the default passwords. | ||
- | |||
- | | ||
There are two users at the operating system level: | There are two users at the operating system level: | ||
- | |||
- | | ||
* The account named // | * The account named // | ||
- | * The account named // | + | * The account named // |
- | | + | Note that both these accounts are related only to the server' |
- | Note that both these accounts are only related to the server' | + | To change the Linux user's passwords, start by clicking the cogwheel button in the area of icons along the left-hand side of the screen. This opens the " |
- | + | ||
- | + | ||
- | + | ||
- | To change the Linux user's passwords, start by clicking the cogwheel button in the area of icons along the left-hand side of the screen. This opens the " | + | |
- | + | ||
- | + | ||
- | + | ||
- | {{: | + | |
- | + | ||
- | + | ||
- | + | ||
- | Click the "User Accounts" | + | |
- | + | ||
- | | + | |
{{: | {{: | ||
- | + | Click the " | |
- | + | ||
- | Click the padlock symbol | + | |
- | + | ||
- | | + | |
{{: | {{: | ||
- | |||
- | | ||
First type the old password for the // | First type the old password for the // | ||
- | + | Repeat the procedure for the // | |
- | + | ||
- | Repeat the procedure for the // | + | |
- | + | ||
- | | + | |
{{: | {{: | ||
- | |||
- | | ||
Click Change to apply the new password, then close the User Accounts window. | Click Change to apply the new password, then close the User Accounts window. | ||
- | + | ===== Basic Network Configuration ===== | |
- | ===== Basic Network Configuration ===== | + | |
- | + | ||
- | Connect a network cable to the server. Connect the other end of the cable to a network switch. If connecting to an existing network, you need to obtain a suitable network address from your systems administrator. The remainder of this article assumes a new network is being established, | + | |
- | The process of basic network settings is moving back to the GUI based Network Manager from being handled from Webmin in Pixilab blocks linux images based on Ubuntu 18.04. It is still possible to use that method if one enable Netplan to handle network settings. | + | |
- | + | ||
- | Access [[blocks: | + | |
- | + | ||
- | Select Networking/ | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Click the Network Interfaces icon to open the settings page. | + | |
- | Reset any settings that may be inherited from a different hardware used during the build of the server image by selecting the " | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Next step is to add the new interfaces. Change to the Active now tab to check the names of available Network Interfaces. Copy the Name of the preferred interface and return to the Activated at Boot tab. | + | |
- | (Please note, there is a bug in Webmin not yet fixed in version 1.920 that affects this section, reade more about that [[https:// | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | At the Activated at Boot tab, select the Add a new interface option. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Paste your Network Interface name copied from the Active tab and setup you IP settings. In this case I selected the default Pixi Server ip settings. Click the Create and Apply to confirm. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | :!: If the server has several network connectors, now is a good time to label the physical ports on the server. | + | |
- | Assuming only one Ethernet Interface has been configured and made active you can do the following to find out which physical port we just added: plug in the network cable that is connected to a ethernet switch to one of the ports. If the status LEDs remain black move the cable to the next until you find the one that is active confirmed by the status LED become active. | + | |
- | + | ||
- | === Gateway === | + | |
- | + | ||
- | :!: Do not set the //gateway// parameters unless you have an actual gateway available and need outside network access via this gateway. Specifying a gateway when none exists may result network delays or timeouts while looking for the non-existing gateway. | + | |
- | + | ||
- | Click the Networking and select Network Configuration to open the open the configuration panel. | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Click the Routing and Gateways button. | + | |
- | + | ||
- | {{: | + | |
- | Select the Gateway radio button and enter your gateway ip adress and select the ethernet interface connected | + | Connect a network cable to the server. Connect |
- | * Click the green " | + | |
- | * Click the blue " | + | |
- | * Click the blue " | + | |
- | === Configure DNS === | + | The process of basic network settings is moving back to the GUI based Network Manager from being handled from Webmin in Pixilab blocks Linux images based on Ubuntu 18.04. It is still possible to use that method if one enables Netplan to handle network settings. |
- | :!: Only specify an upstream DNS if you need this to access external services | + | Open the settings drop down menu from the right-hand side of the top bar. |
- | From the Network configuration panel, click the " | + | {{: |
+ | Click the cog wheel to edit the wired connection settings. | ||
- | {{ :blocks:server:webmin_hostname_dns.png?1000; | + | {{:blocks:first-run:20_04lts: |
- | {{ : | + | Select the IPv4 tab, edit the settings and confirm with apply. |
- | Enter the IP-adress of your favorite DNS server(s) in the text boxes. | + | {{: |
- | | + | **IMPORTANT**: |
- | | + | |
- | * Click the blue "Apply configuration" to apply the settings | + | |
+ | {{: | ||
+ | === Configure DNS === | ||
+ | :!: Only specify an upstream DNS if you need this to access external services from your Blocks system. This is not required for a stand-alone system without internet access. | ||
+ | Use the same method as above and add your favorite DNS servers to the settings. | ||
+ | {{: | ||
===== First Access ===== | ===== First Access ===== | ||
Line 176: | Line 76: | ||
* Netmask: 255.255.0.0 | * Netmask: 255.255.0.0 | ||
- | Make sure the settings are applied. The address chosen here is arbitrary, and the last group of digits can be anything between 2 and 254, except 10 (which is the server | + | Make sure the settings are applied. The address chosen here is arbitrary, and the last group of digits can be anything between 2 and 254, except 10 (which is the server). Open a web browser on this other computer, and type // |
* Name: //admin// | * Name: //admin// | ||
Line 199: | Line 99: | ||
:!: Make a note of this password in a safe place. | :!: Make a note of this password in a safe place. | ||
- | After completing this basic set-up, you may want to continue with more [[Advanced Server | + | After completing this basic set-up, you may want to continue with more [[advanced_server_configuration| |