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 09:32] mattias [First Start] |
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 ===== | ||
- | + | Before you do anything else, you // | |
- | ===== Setting Passwords ===== | + | |
- | + | ||
- | 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. | + | |
- | + | ||
- | There are two users at the operating system level: | + | |
- | + | ||
- | * The account named // | + | |
- | * The account named // | + | |
- | + | ||
- | 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 " | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Click the "User Accounts" | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Click the padlock symbol in the top right hand corner of this window to allow for changes. This will prompt you for the admin user's password. If this is the first time you configure the server, type //pixi// into the password field. If you have already configured the server, type the appropriate administrator password instead. Then select the // | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | First type the old password for the // | + | |
- | + | ||
- | Repeat the procedure for the // | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | Click Change to apply the new password, then close the User Accounts window. | + | |
- | + | ||
- | ===== 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, | + | |
- | + | ||
- | 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 " | + | |
- | {{ :blocks:server: | + | :!: 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 |
- | 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. | + | There are two users at the operating system level: |
- | (Please note, there is a bug in Webmin not yet fixed in version 1.920 that affects this section, reade more about that [[https:// | + | |
- | {{ : | + | * The account named //pixi-server// is a limited account, used to run the server. |
- | At the Activated at Boot tab, select | + | * The account named // |
- | {{ :blocks:server: | + | Note that both these accounts are related only to the server's operating system. Neither of these passwords are needed for the day-to-day operation of Blocks. In addition to these two OS-level users, there' |
- | Paste your Network Interface name copied from the Active tab and setup you IP settings. In this case I selected | + | To change |
- | {{:blocks:server:editbootupinterface.png?nolink&1000|}} | + | {{:blocks:first-run:20_04lts: |
- | :!: If the server has several network connectors, now is a good time to label the physical ports on the server. | + | Click the " |
- | Assuming only one Ethernet Interface has been configured and made active | + | |
- | === Gateway === | + | {{: |
- | :!: Do not set the //gateway// parameters unless | + | First type the old password for the //pixi-server// user. If this is the first time you configure the server, type // |
- | Click the Networking | + | Repeat |
- | {{ :blocks:server:webmin_routing_gateways.png?1000; | + | {{:blocks:first-run:20_04lts: |
- | Click the Routing and Gateways button. | + | Click Change to apply the new password, then close the User Accounts window. |
- | {{: | + | ===== Basic Network Configuration ===== |
- | 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 143: | 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 166: | 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| |