Differences
This shows you the differences between two versions of the page.
— |
blocks:archive:server:first_start [2020-05-12 08:28] (current) mattias created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== First Start ====== | ||
+ | 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. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | This message indicates that there' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ===== 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 " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | 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 to the network with the gateway. | ||
+ | * Click the green " | ||
+ | * Click the blue " | ||
+ | * Click the blue "Click to apply Configuration" | ||
+ | |||
+ | === 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. | ||
+ | |||
+ | From the Network configuration panel, click the " | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Enter the IP-adress of your favorite DNS server(s) in the text boxes. | ||
+ | |||
+ | * Click the green " | ||
+ | * Click the blue " | ||
+ | * Click the blue "Apply configuration" | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== First Access ===== | ||
+ | |||
+ | Connect another computer to the same network. If there' | ||
+ | |||
+ | * Address: 10.2.0.73 | ||
+ | * 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 already connected to the same network). Open a web browser on this other computer, and type // | ||
+ | |||
+ | * Name: //admin// | ||
+ | * Password: //pixi// | ||
+ | |||
+ | The password indicated above assumes this is the first time you access a newly created server. You will learn how to change this password below. If you have already done so, type the chosen password instead. The DISPLAY page should appear. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | This page allows you to add and edit Spots and Blocks. Before doing so, you **// | ||
+ | |||
+ | ===== Changing the admin user's password ===== | ||
+ | |||
+ | :!: It is **very important** that you perform this steps, choosing a good, strong password, before proceeding with adding Spots and Blocks. If you don't do this, you leave your BLOCKS server open to anyone that knows the default passwords. | ||
+ | |||
+ | Chose MANAGE on the main menu, select //Users// in the column on the left hand side, then click the //admin// user. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Change the First Name, Last Name and Email fields as appropriate for the administrator, | ||
+ | |||
+ | :!: 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 Configuration]]. |