Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages

OpenSUSE 13.2 minimal server Installation


This is a detailed description about how to set up an OpenSUSE 13.2 64bit (x86_64) minimal server. This setup will be used as basis for various other OpenSuSE tutorials at kreationnext like our perfect server series.

1 Requirements

To install such a system you will need the following:

  • The OpenSUSE 13.2 DVD. You can download it here: http://mirror1.hs-esslingen.de/pub/Mirrors/ftp.opensuse.org/distribution/13.2/iso/openSUSE-13.2-DVD-x86_64.iso
  • A fast Internet connection…

 

2 Preliminary Note

In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100 and the gateway 192.168.0.1. These settings might differ for you, so you have to replace them where appropriate.

 

3 The Base System

Boot from your OpenSUSE 13.2 DVD and select Installation:

1

Select your language, keyboard layout and accept the licence terms and press Next:

2

The installer analyzes your hardware and builds the software repository cache:

3

Press Next here:

4

Select Edit Proposal Settings:

5

Click on Edit Partition Setup… to change the proposed partitions. As this is a server setup, we need a large /srv partition instead of the /home partition:

8

Change the Mount Point to /srv and click on Finish:

9

Click on Yes and then Accept:

11

Click on Next:

12

Check your Timezone and press Next:

13

Now do the Desktop selection as Minimal Server Selection(Text mode) and press Next:

14

Now I create a user named administrator. You may use any username you like. Make sure that you disable the Automatic Login checkbox for this user. The password that you enter here will be used as the root password:

15
Press Yes:

16

Click on Install to start the installation process & confirm that you want to start the installation::

17

18

The installer formats the hard disk, installs the software packages and prepares the system configuration for the first boot:

19

After the basic installation is finished, the system will do an automatic reboot

20

The automatic configuration starts right after the system has rebooted:

21

Now log in with the username root and the password that you selected during the installation.

4 Configure The Network Settings

We use Yast, the OpenSuSE system management tool to reconfigure the network card settings. After the first boot, the system is configured to get the IP address with DHCP. For a server we will switch it to a static IP address.

Run

yast2

Select Network Devices > Network Settings:

24

Select your network card and then Edit:

25

Select Statically assigned IP Address and enter the IP address, subnet mask and hostname and save the changes by selecting Next:

26

Now select Hostname/DNS and enter the hostname (e.g. server1.example.com) and nameservers (e.g. 8.8.4.4 and 8.8.8.8):

35

Now select Routing and enter the default gateway and hit OK:

36

Note: Below step is mandatory for ISPConfig only, you can skip disabling of firewall except for the Perfect Server guides.

36

I want to install ISPConfig at the end of this tutorial which comes with its own firewall. That’s why I disable the default OpenSUSE firewall now. Of course, you are free to leave it on and configure it to your needs (but then you shouldn’t use any other firewall later on as it will most probably interfere with the OpenSUSE firewall).

Select Disable Firewall Automatic Starting and Stop Firewall Now, then hit Next:

30

Hit Finish and leave Yast:

31

Afterwards, you should check with

ifconfig

if your network configuration is correct. If it isn’t (for example, if eth0 is missing), reboot the system…

reboot

… and check your network configuration again afterwards – it should now be correct.

 

5 Install Updates

Now we install the latest updates from the openSUSE repositories. Run

zypper update

And then reboot the server as you most likely installed some kernel updates, too:

reboot

 

  • OpenSuse : http://www.opensuse.org/en/

 

 

Comments

comments