About Ubuntu 18.04

About Ubuntu 18.04

We are going to see about Ubuntu 18.04 Operating system, which is going to release on 26th April 2018.

Features of Ubuntu 18.04:

GNOME 3.28 Desktop

Ubuntu 18.04 going to give us a new experience.

Kernel 4.15

Ubuntu has scheduled to come up with new kernel version for every 6 months. Now Kernel 14.5 going to give more power to Ubuntu.

Xorg

Xorg is the default one for Ubuntu and from next release, TLS will come with both traditional Xorg graphics and Way-land based stack. It will give better performance to software like Skype, hangout and it will recover better from the shell crashes.

Minimal installation method

From ubuntu 18.04 we have an option to install with minimal packages and it will give us a desktop environment.Note: This is not a replacement for existing Ubuntu minimal ISO.

Ubuntu will collect data

As per Ubuntu announcement, canonical will collect some user data like system configuration and installed packages and this option will be available in the installer.

New installer

Subiquity will be the default one in an upcoming release and this will give new look to server installation.

Color emojis

Its important in messaging and communication. It will display colorful emojis in all the apps.

Faster boot time

Using systemd it will speed up the booting time.

zstd compression algorithm

Using facebook’s zstd compression algorithm it speeds up the Ubuntu installation process.

refrence: Ubuntu wiki

Logrotate in Linux

Will see how to configure/ use logrotate in Linux

to compress, move, delete or mail log files at the periodic time. By doing this will keep away the filesystem from the filesystem full issue.

Setting up and Manage logrotate in Linux:

In Linux/ Unix, environment /var/log is most important directory and it keeps all the activities as a log.

System administrators will use the logs to analyze any issue’s.

/var/log keeps lots of log files and here is the list.

[root@localhost ~]# ls /var/log
anaconda boot.log cron dmesg.old lastlog messages rhsm spooler tuned wtmp
audit btmp dmesg firewalld maillog ppp secure tallylog vmware-vmsvc.log

Installing logrotate:

Here I am going to use the yum package manager to install the logrotate.

[root@localhost ~]# yum install logrotate
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Package logrotate-3.8.6-12.el7.x86_64 already installed and latest version
Nothing to do

look likes the package is already installed on my machine.

/etc/logrotate.conf is an important configuration file which contains all the configuration of log rotation and “include /etc/logrotate.d ” this line should be uncommented.

We have plenty of option in logrotate and below is that.

Will create /etc/logrotate.d/apache2.conf file and insert below content.

/var/log/apache/* {
weekly
rotate 5
size 25M
compress
delaycompress
}

Daily, Weekly, Monthly:  Based on this input the tool will rotate the logs.

rotate 5: This will keep the only 5 files and the old files will be removed.

size 25: log file minimum size for log rotation.

Compress & Delaycompress:  These are used to say that all are already rotated logs.

Now will do s test using the below command

[root@localhost ~]# logrotate -d /etc/logrotate.d/apache2.conf

 

 

Reference: Tecmint