SLES – SUSE Linux Enterprise Server

SLES is a Linux based server that uses SUSE as Operating System.

The first SUSE Linux Enterprise was first released in 2006, SUSE Linux Enterprise Server 11 in 2009 and SUSE Linux Enterprise Server 12 in 2014.

In this blog, I will try to give you all a brief idea on the differences between these versions, package manager, networking etc.

The below diagram will give you all a brief idea about the difference between the released versions of SUSE Linux Enterprises.

Package Manager

We are familiar with yum and apt-get commands which we commonly used to install packages in RHEL/CentOS and Ubuntu versions.

For SUSE Linux, we are using “Zypper and YaST”.

YAST – Yet another Setup Tool.
Zypper – Is a command line interface of ZYpp package manager for installing, removing and updating SUSE.

Commonly used Zypper commands

zypper – zypper without any options will give you a list of options and commands.
zypper install or zypper in – To install packages.
zypper repos or zypper lr – Used to list all the predefined repositories.
zypper refresh or zypper ref – used to refresh zypper repositories.
zypper modifyrepo or zypper mr – To modify repositories.
zypper addrepo or zypper ar – To add repositories.
(Eg : zypper ar http://download.opensuse.org/update/11.1/ update )
zypper removerepo or zypper rr – To remove repositories.

Configure Network in SUSE Linux

If we are trying to configure Network on a SUSE Linux server, we need to find out the configuration file.
The configuration file is /etc/sysconfig/network/ifcfg-ethX

We have to give the details of the IP to be configured on the server.
Below is a small snippet for the Network configuration entry.

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.0.0.150/24'
MTU=''
NAME='ethX'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'

Apart from this file, we need to give the gateway IP on a different file.
” /etc/sysconfig/network/routes ”
Add ” default 10.X.X.X ” on the above mentioned file.

The DNS needs to be configured on /etc/resolv.conf file.

File System

SLES ( SUSE Linux Enterprise Server ) has a number of different file systems.
Btrfs, Ext3, Ext2, ReiserFS, and XFS.

SUSE Linux Enterprise 12 – Btrfs is the default file system for the operating system and XFS for all other cases.

SUSE also supports EXT family of file systems. Mount commands are as the same that we use for other Linux distros.

[tagline_box backgroundcolor=”description=” shadow=”no” shadowopacity=”0.7″ border=”1px” bordercolor=”” highlightposition=”top” content_alignment=”left” link=”” linktarget=”_self” modal=”” button_size=”” button_shape=”” button_type=”” buttoncolor=”” button=”” title=”” description=”If you have any queries on What Is SUSE Linux Enterprise Server? feel free to leave us a message and our representative will get back to you.

” margin_top=”50px” margin_bottom=”” animation_type=”slide” animation_direction=”left” animation_speed=”0.3″ class=”” id=””]

[/tagline_box]