Tag Archives: linux

Disable netplan on Ubuntu 17.10


Netpaln is default network configuration tool introduced in ubuntu 17.10 and if you want to disable this to go back to old ways of configuring network use the following procedure.

Netplan is a YAML network configuration abstraction for various backends (NetworkManager, networkd).

It is a utility for easily configuring networking on a system. It can be used by writing a YAML description of the required network interfaces with what they should be configured to do. From this description it will generate the required configuration for a chosen renderer tool.

Note:- This is not recommended and this is for advanced users only

Edit the /etc/default/grub file

sudo nano /etc/default/grub

Add the following line

GRUB_CMDLINE_LINUX=”netcfg/do_not_use_netplan=true”

Save and exit the file

Now update the grub using the following command

sudo update-grub

You need to install ifupdown package

sudo apt install ifupdown

Now you can add all the interface details in /etc/network/interfaces file and reboot the ubuntu PC/server.

Sponsored Link



Related posts


Linus Torvalds Rips Intel for Meltdown and Spec… » Linux Magazine


Linus Torvalds, the creator of the Linux kernel is not known for mincing words when it comes to core technology. The world is still recovering from the shockwaves of Meltdown and Spectre vulnerabilities, which affect almost every platform out there including Intel, AMD and ARM64. The news just broke that SPARC is also affected.

Out of all these companies, Intel gets the most criticism, for many reasons. They are the dominant player so their chips dominate the market, which means more affected users. The company knew about the vulnerabilities for months. More than one team of researchers found the flaw and informed Intel about it. What’s the possibility that it was also known to spy agencies and state sponsored hackers?

Intel is facing that wrath of the public as it’s CEO sold all of his stocks in the company (allowed by the bylaws), before the vulnerability went public.

However, Torvalds is concerned about only one thing: technology. Torvalds wrote in LKML:

“I think somebody inside of Intel needs to really take a long hard look at their CPU’s, and actually admit that they have issues instead of writing PR blurbs that say that everything works as designed.

.. and that really means that all these mitigation patches should be written with “not all CPU’s are crap” in mind.

Or is Intel basically saying “we are committed to selling you shit forever and ever, and never fixing anything”?

Because if that’s the case, maybe we should start looking towards the ARM64 people more.

Please talk to management. Because I really see exactly two possibilities:

– Intel never intends to fix anything

OR

– these workarounds should have a way to disable them.

Which of the two is it?”

It’s great to see Torvalds openly talking about it as most other developers refrain from publicly sharing their views as they either work for Intel or an Intel partner.



Source link

Linux Foundation LFCS and LFCE: Miltos Tsatsakis | Linux.com


The Linux Foundation offers many resources for developers, users, and administrators of Linux systems. One of the most important offerings is its Linux Certification Program, which is designed to give you a way to differentiate yourself in a job market that’s hungry for your skills.

How well does the certification prepare you for the real world? To illustrate that, we will be highlighting some of those who have recently passed the certification examinations. These testimonials should help you decide if either the Linux Foundation Certified System Administrator or the Linux Foundation Certified Engineer certification is right for you.

In this article, recently LFCS and LFCE Miltos Tsatsakis answers a few questions about his certification experience.

Linux.com: How did you become interested in Linux and open source?

Miltos Tsatsakis: My magic journey with Linux and open source software started about 10 years ago, as a hobby during my MSc studies. A friend of mine suggested I should join a large wireless community in Greece. I started to play with Linux-based wireless routers like OpenWrt, using distributions like Debian and Ubuntu, as well as open source software, such as Apache, Squid, Postfix, etc. I was fascinated with the freedom that Linux has to offer and, of course, the CLI terminal. At that time, I had no idea that my hobby would become my professional career in the near future.

Linux.com: What Linux Foundation course did you achieve certification in? Why did you select that particular course?

Tsatsakis: I completed the LFCS and the LFCE certification. I already hold Red Hat RHCSA and RHCE, but I wanted to update my knowledge on newer systemd-based systems like CentOs 7.

Linux.com: What are your career goals? How do you see Linux Foundation certification helping you achieve those goals?

Tsatsakis: My goals are to dive deeper into linux internals and gain more knowledge about automation tools like Ansible. Linux Foundation certification exams are performance-based, which very much benefits my career.

Linux.com: What are your hobbies or interests? Do you participate in any open source projects at this time?

Tsatsakis: I am using Ansible a lot lately to automate various tasks for my job as a system administrator. I am also interested in monitoring tools, such as Zabbix, Prometheus, and Grafana.

Linux.com: Do you plan to take future Linux Foundation courses? If so, which ones?

Tsatsakis: For now I don’t have any plans, but in the future I am certainly willing to learn more about microservices, and especially Kubernetes (Kubernetes Fundamentals certification is an excellent choice!).

Linux.com: In what ways do you think the certification will help you as a systems administrator in today’s market?

Tsatsakis: As I said before: Exams are performance-based, which is a major benefit for my career. This type of exam shows you have sufficient, practical knowledge on Linux systems!

Linux.com: What Linux distribution do you prefer and why?

Tsatsakis: When it comes to a production environment, CentOS is my first choice. Being a Red Hat fork, it gives you the confidence of an enterprise-ready OS. As for my desktop, I always used Ubuntu.

Linux.com: Are you currently working as a Linux systems administrator? If so, what role does Linux play?

Tsatsakis: Yes. I am currently working as a Linux systems administrator (mostly CentOS based systems), dealing with various open source software, such as Apache, NGINX, haproxy, and varnish.

Linux.com: Where do you see the Linux job market growing the most in the coming years?

Tsatsakis: Linux is everywhere, but Big Data and large distributed systems is currently the hottest market.

Linux.com: What advice would you give those considering certification for their preparation?

Tsatsakis: Practice a lot! Don’t memorize commands and config files; try to understand what you are doing! Use MAN pages, read sample config files under /usr/share/doc … you will definitely use them during exams!

Linux.com: If you have found employment in the IT industry, do you feel like your certification was crucial or beneficial?

Tsatsakis: I think it was as critical and beneficial, as organizations looking for qualified staff will be more apt to trust their systems to those who have proven they have practical knowledge. Certifications are beneficial, because they allow you to improve your skills everyday. Open source is evolving very fast, so it will help you to become more skilled as a professional.

Dell Kickstarts 2018 with a Brand New Linux Laptop » Linux Magazine


Dell is one of the (or one of the only) major PC vendors that sells Linux preloaded systems. The company has announced a brand new laptop from the XPS 13 family that runs Ubuntu Linux. The 7th generation XPS 13 Developer Edition (9370) is powered by Intel’s 8th generation Quad Core processor and features a brand new chassis, new display and an even smaller bazel’s than the previous edition.

These machines are a result of Project Sputnik that was founded by Barton George, founder and lead of the project. The project started back in 2012 and celebrated it’s 5th anniversary last year.

Dell XPS 13 Developer Edition features 8th Generation Intel Quad Core, i5 (US and Canada only) and i7 versions. It comes with three different configurations for memory – 4GB, 8GB or 16GB Dual Channel SDRAM. Users can get up to 1TB of storage. It comes with a choice of UltraSharp 4K Ultra HD (3840×2160) InfinityEdge touch display or FHD (1920 x 1080) InfinityEdge display. It comes with a USB Type C port for transfer and 2 Thunderbolt 3 ports with with PowerShare, DC-In & DisplayPort. It also has a built in SD card reader.

In an exclusive interview, George told us that Dell’s engineering teams work with partners to develop drivers for supported Linux distribution. These machines comes with LTS release of Ubuntu and offer a complete out of the box experience with full support for touch screen. While Ubuntu is the officially supported OS, users can wipe the hard drive and install any OS of their choice without worrying about hardware warranty. We tested a multitude of distros on it and they worked flawlessly. Barton said they try to use the hardware components that are natively supported on Linux.

He also said that there has been a massive demand for the system and now they are making it available in some European countries including the UK, Ireland, Germany, Austria, France, Italy, Spain, Switzerland (French and German), Belgium, Netherlands, Sweden, Norway and Denmark.



Source link

Install Munin (Monitoring Tool) on Ubuntu 17.10 (Artful Aardvark) Server


Sponsored Link

Munin the monitoring tool surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface. Its emphasis is on plug and play capabilities. After completing a installation a high number of monitoring plugins will be playing with no more effort.

Using Munin you can easily monitor the performance of your computers, networks, SANs, applications, weather measurements and whatever comes to mind. It makes it easy to determine “what’s different today” when a performance problem crops up. It makes it easy to see how you’re doing capacity-wise on any resources.

Munin uses the excellent RRDTool (written by Tobi Oetiker) and the framework is written in Perl, while plugins may be written in any language. Munin has a master/node architecture in which the master connects to all the nodes at regular intervals and asks them for data. It then stores the data in RRD files, and (if needed) updates the graphs. One of the main goals has been ease of creating new plugins (graphs).

Preparing Your system

Install apache web server using the following command

sudo apt-get install apache2

Now proceed with munin server installation using the following command from your terminal

sudo apt-get install munin

Once the package is installed, you only need to make a few changes to get your installation working.

Configuring Munin server

You need to edit the /etc/munin/munin.conf file

sudo vi /etc/munin/munin.conf

Change the following lines

Change 1

#dbdir /var/lib/munin
#htmldir /var/cache/munin/www
#logdir /var/log/munin
#rundir /var/run/munin

to

dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin

Change 2

#tmpldir /etc/munin/templates

to

tmpldir /etc/munin/templates

Change 3

the server name on the line localhost.localdomain should be updated to display the hostname, domain name, or other identifier you’d like to use for your monitoring server

# a simple host tree
[localhost.localdomain]
address 127.0.0.1
use_node_name yes

to

[MuninMonitor]
address 127.0.0.1
use_node_name yes

Change 4

You need to edit the munin apache configuration

sudo vi /etc/munin/apache.conf

Change the following line in the starting of the file

Alias /munin /var/cache/munin/www

to

Alias /munin /var/www/munin

and

We also need to allow connections from outside of the local computer for this do the following changes

<Directory /var/cache/munin/www>
Order allow,deny
Allow from localhost 127.0.0.0/8 ::1
Options None

to

<Directory /var/munin/www>
Order allow,deny
#Allow from localhost 127.0.0.0/8 ::1
Allow from all
Options None

you will need to create the directory path that you referenced in the munin.conf file and modify the ownership to allow munin to write to it:

sudo mkdir /var/www/munin

sudo chown munin:munin /var/www/munin

Now you need to restart the munin and apache services using the following commands

sudo service munin-node restart

sudo service apache2 restart

It might take a few minutes to generate the necessary graphs and html files. After about five minutes, your files should be created and you will be able to access your data. You should be able to access your munin details at:

http://yourserver_ip_address/munin

Screenshots

1

2

If you get an error message in your browser similar to the following, you need to wait longer for munin to create the files

Forbidden

You don’t have permission to access /munin/

Configure Remote Monitoring

Munin can easily monitor multiple servers at once.If you want to monitor remote servers you need to following this procedure.

First you need to install munin client package using the following commands

sudo apt-get install munin-node

Now you need to edit the munin-node.conf file to specify that your monitoring server is allowed to poll the client for information.

sudo vi /etc/munin/munin-node.conf

Search for the section that has the line “allow ^127.0.0.1$”. Modify the IP address to reflect your monitoring server’s IP address.If your server ip is 172.30.2.100

allow ^.172.30.2.100$

Save and exit the file

You need to restart the munin client using the following information

sudo service munin-node restart

Now you need to login in to your munin server and edit the munin.conf file

sudo vi /etc/munin/munin.conf

Copy the following section and change the ip address to your remote server client ip address

[MuninMonitor]
address 127.0.0.1
use_node_name yes

to

[MuninMonitor]
address 172.30.2.101
use_node_name yes

Finall you need to restart the apache server using the following command

sudo service apache2 restart

Additional Plugins

The munin-plugins-extra package contains performance checks additional services such as DNS, DHCP, Samba, etc. To install the package run the following command from the terminal

sudo apt-get install munin-plugins-extra

Make sure you have install this package on both the server and node machines.

Sponsored Link



Related posts