Get an Introduction to Open Source, Git, and Linux with New Training Course | Linux.com

Open source software has become the dominant model for how technology infrastructure operates all around the world, impacting organizations of all sizes. Use of open source software leads to better and faster development, and wider collaboration, and open source skills are an ever more valuable form of currency in the job market. In this article series, we’ll take a closer look at one of the best new ways to gain open source fluency: the Introduction to Open Source Software Development, Git and Linux training course from The Linux Foundation.

Some development experience, as well as some command-line experience, are ideal prerequisites for taking the course, but are not required. The course presents a comprehensive learning path focused on development, Linux systems, and Git, the revision control system. The $299 course is self-paced and comes with extensive and easily referenced learning materials. Organizations interested in training more than five people through the course can get a quote on possible discounts here.

This story is the first in a four-part article series that highlights the major aspects of the training course. The course begins with a general introduction to working with open source software, and explores project collaboration, licensing and legal issues. On the topic of collaboration, the curriculum emphasizes that project collaboration offers some distinct advantages over other kinds of developments models:

  • When progress is shared not everyone has to solve the same problems and make the same mistakes. Thus, progress can be much faster, and costs can be reduced.

  • Having more eyeballs viewing code and more groups testing it also leads to stronger and more secure code.

  • It is often hard for competitors to get used to the idea of sharing, and grasping that the benefits can be greater than the costs. But experience has shown this to be true again and again.

  • Competitors can compete on user-facing interfaces, for example, instead of internal plumbing that everyone needs, so that end users still see plenty of product differentiation and have varying experiences.

The course’s discussion of licensing is comprehensive and explains clearly how some open source licenses are highly restrictive, while others are permissive. The discussion also delves into how differing project needs and philosophies can dictate how permissive or restrictive a license should be. Permissive licenses do not require modifications and enhancements be made generally available, as is noted in the the course materials. Prominent permissive licensing examples include the BSD and Apache licenses.

Before launching into some of the Linux- and Git-specific curriculum, the course presents other guidance that is important to observe when working with open source projects The downstream impact of leadership and control decisions is one of these topics. “If the controllers of a project take and do not give back by mentoring and moderating they are limiting what a project can accomplish,” the course materials state. “A good leader listens. Good ideas can originate from many different contributors, even recent entrants into a project. Even though leadership paradigms such as BDFL (Benevolent Dictator for Life) are popular, note the use of the word benevolent.”

Additionally, the course covers the extremely important topic of getting help. This includes how to get help from others and how to access and work with documentation. First, the course considers how to view Linux man pages and then delves into how to use the info utility. Next, it examines how to use the built-in help facilities in many commands. Finally, it offers comprehensive coverage of graphical help interfaces.

Are you unfamiliar with some of these sources of help? The course explains them from the ground up:

  • man is the workhorse of Linux documentation as it has been on all UNIX-like operating systems since their inception. Its name is short for manual.

  • Info is a simple-to-use documentation system, hypertextual in nature, although it does not require a graphical browser. The documentation is built using the Texinfo system, which as a reader you need know nothing about.

  • Whatever Linux distribution you are running, there should be a graphical interface to the online documentation. Exactly how you can invoke it from the menus on your taskbar will vary, but with a little bit of searching, you should find it.

With the groundwork laid for working with open source tools and platforms and comprehensive guidance for getting help, the course then delves into hands-on instruction on topics including working with shells, bash and the command line, and Command Details. We will cover the course’s approach to these important topics in coming installments of this series.

Learn more about Introduction to Open Source Development, Git, and Linux (LFD201) and sign up now to start your open source journey.

Source

Kid’s Day at Open Source Summit

For Kid’s Day at Open Source Summit, Banks Family Tech organized a 4-hour long workshop to introduce children to coding. (Image courtesy: S. Bhartiya)

The Linux Foundation strives to make Open Source Summit one of the most inclusive tech events in a variety of ways, offering activities such as the “Women in Open Source” lunch, a diversity social, a first-time attendees get-together, and more. They have activities focused on children, too. Not only does Open Source Summit offer free on-site childcare for attendees’ children, they also sponsor a Kid’s Day.

At this year’s Kid’s Day in Vancouver, the primary goal was to introduce the kids to coding via HTML, and very little computer knowledge or experience was required to participate. “The basics, typing, browsing the Internet and minor computer operation, are all your child needs to participate,” according to the website.

For this event, The Linux Foundation collaborated with Banks Family Tech, who organized the 4-hour long workshop. This workshop was geared toward children ages 9–18 and was open to children from the community as well as those of event attendees. The kids that participated actually ranged in age from 5-13 years of age, and, many already had some coding experience. Some had tried Scratch, and others had written scripts for games.

“We are going to teach how to go from nothing and become coders,” said Phillip Banks, founder of Banks Family Tech.

HTML workshop

The workshop focused squarely on HTML, one of the easiest computing languages. “It’s close to English and it’s not hard text and syntax to learn. It allows us to squeeze a lot of things into a day and get them excited so that they can go home and learn more,” said Banks. “After that, maybe, you can go to Python but HTML is so easy as they get a quick return by manipulating objects, text color and other things on a web-page immediately.”

This Kid’s Day event had a great mix of participants. While some of the kids accompanied their parents who were attending the conference, the majority were from the local community, whose parents learned about the workshop from social networks like Facebook. Khristine Carino, Director for Communications of SCWIST (Society for Canadian Women In Science and Technology), not only brought her own kids but also invited families from underrepresented minorities in Vancouver.

In the workshop, the children learned HTML basics like font tags, how to use fonts and colors, how to add images and videos, and how choose a background for their website. They also had the opportunity to share what they created with the whole group and learn from each other.

“It’s not so much about learning to code, just to be a coder; it’s learning to understand how things work,” said Banks. You can hear more in the video below.

Check out the full list of activities coming up at Open Source Summit in Europe and sign up to receive updates:

Source

MINIX 3.4 Installation and Configuration on Oracle VirtualBox

MINIX 3.4 Installation
MINIX 3.4 Installation on Oracle VirtualBox

This video tutorial shows

MINIX 3.4 Installation and Configuration

on Oracle

VirtualBox

step by step. This tutorial is also helpful to install MINIX 3 on physical computer or laptop hardware. We also perform MINIX3 post installation setup tasks: Check network connection, set password for root, set time zone, install basic applications and common packages.

MINIX 3.4 Installation Steps:

  1. Create Virtual Machine on Oracle VirtualBox
  2. Start MINIX 3.4 Installation
  3. MINIX 3 Post Installation Setup
  4. Install and Configure OpenSSH Server Service
  5. Install Common Packages via pkgin_sets

Installing MINIX 3.4 on Oracle VirtualBox

What is MINIX 3?

MINIX 3

is a free, open-source, operating system designed to be highly reliable, flexible, and secure. It is based on a tiny microkernel running in kernel mode with the rest of the operating system running as a number of isolated, protected, processes in user mode. It runs on x86 and ARM CPUs, is compatible with NetBSD, and runs thousands of NetBSD packages.

MINIX 3 is extremely small, with the part that runs in kernel mode in about 5,000 lines of source code, while the parts that run in user mode are divided into small, insulated modules which enhance system reliability. Originally designed as an educational tool, the latest versions of MINIX are also targetted at embedded systems and low-power laptops. By the project’s own admission, MINIX is work in progress and is nowhere near as mature as BSD or Linux. It is released under a BSD-type licence.

MINIX 3 Website:

http://www.minix3.org/

Hope you found this MINIX 3.4 Installation and Configuration on Oracle VirtualBox tutorial helpful and informative. Please consider sharing it. Your feedback and questions are welcome!

Source

Beta: MySQL for MySQL Governor updated

Beta: MySQL for MySQL Governor updated

A new updated MySQL 5.7 package for MySQL Governor is now available for download from our updates-testing repository.

Changelog:

cl-MySQL 5.7.23-2

  • MYSQLG-284: changed LVE patch.

To update MySQL 5.7 run:

# yum update cl-MySQL-meta-client cl-MySQL-meta-devel cl-MySQL-meta cl-MySQL* –enablerepo=cloudlinux-updates-testing

# service mysql restart

# service db_governor restart

To install MySQL 5.7.23-2 on a new server run:

# yum install governor-mysql

# /usr/share/lve/dbgovernor/mysqlgovernor.py –mysql-version=mysql57

# /usr/share/lve/dbgovernor/mysqlgovernor.py –install-beta

163 people viewed this

Source

Download Ubuntu Linux 18.04 LTS (Bionic Beaver) CD/DVD

Ubuntu Linux version 18.04 LTS (codenamed “Bionic Beaver”) has been released and available for download. Ubuntu Linux is a community-based Linux distribution, and you can download Ubuntu Linux 18.04 LTS version today. The latest release of Ubuntu brings the best open source technologies together on one platform, with the benefit of free updates for five years. This newest release of Ubuntu Server and desktop heavily focused on supporting cloud computing, IoT, AI, machine learning, 64-bit ARM-based server, and more.

What’s new in Ubuntu Linux 18.04 LTS (“Bionic Beaver”)?

The gcc is now set to default to compile applications as position independent executables (PIE). It makes more effective use of Address Space Layout Randomization (ASLR).

Ubuntu Linux 18.04 LTS Desktop

Mitigations are in place to protect against Spectre and Meltdown. Ubuntu Linux 18.04 LTS includes the latest OpenStack release.

Server apps with version numbers

  1. Linux kernel 4.15.0
  2. PHP 7.2.3
  3. Perl 5.26.1
  4. Python3 3.6.5 (“Python2 no longer installed by default”)
  5. LibreOffice 6.0.3.2
  6. snap/snapd 2.32.5
  7. LXD (“Linux containers”) 3.0.0
  8. MariaDB server 10.1
  9. MySQL server 5.7
  10. Apache HTTP Server 2.4
  11. nginx 1.14
  12. QEMU 2.11.1
  13. libvirt 4.0
  14. Open vSwitch 2.9

Download Ubuntu Linux 18.04 LTS (Bionic Beaver) CD/DVD now

You can get Ubuntu Linux 18.04 LTS CD/DVD iso images directly from Ubuntu servers as follows:

You can use the curl command or wget command to download Ubuntu Linux 18.04 LTS server as follows:

$ wget http://releases.ubuntu.com/18.04/ubuntu-18.04-desktop-amd64.iso
$ wget http://releases.ubuntu.com/18.04/SHA256SUMS
$ sha256sum ubuntu-18.04-desktop-amd64.iso
$ cat SHA256SUMS Sample session:

Verify download Ubuntu Linux 18.04 LTS commands

Download Ubuntu official flavors

  1. Kubuntu
  2. Lubuntu
  3. Budgie
  4. Kylin
  5. MATE
  6. Studio
  7. Xubuntu

How long will I get support for Ubuntu 18.04 LTS?

Ubuntu Linux 18.04 LTS desktop/server/core will get support and updates for five years i.e., until April 2023. All other flavors will get support for three years only.

How to upgrade from Ubuntu 16.04 LTS or 17.10

At the movement, you can’t upgrade. Upgrades from 17.10 will not be available until a few days after 18.04’s release. Upgrades from 16.04 LTS will not be available until a few days after the 18.04.1 release expected in late July.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Source

Linux Accessibility For The Visually Impaired – For The Record

Linux Accessibility For The Visually Impaired – For The Record Posted on September 16, 2018

Matt Hartley

Datamation.com

and OpenLogic.com/wazi, Matt also once served as a co-host for a popular Linux-centric podcast. Matt has written about various software titles, such as Moodle, Joomla, WordPress, openCRX, Alfresco, Liferay and more. He also has additional Linux experience working with Debian based distributions, openSUSE, CentOS, and Arch Linux.

(Last Updated On: September 16, 2018)

Linux Accessibility For The Visually Impaired. I received a comment from Milton asking me about text to speech options in Linux. He also wanted to know what I recommended for audio dictation under Linux. The first option is indeed, using FoSS awesomeness. However the later relies on Google’s Web Speech API. Also, here is that article on controlling your mouse cursor with your webcam and no hands.

sudo apt install festlex-cmu festival xselcd /usr/share/festival/voices/english/sudo wget -c http://www.speech.cs.cmu.edu/cmu_arctic/packed/cmu_us_clb_arctic-0.95-release.tar.bz2sudo tar jxf cmu_us_clb_arctic-0.95-release.tar.bz2sudo ln -s cmu_us_clb_arctic cmu_us_clb_arctic_clunitssudo cp /etc/festival.scm /etc/festival.scm.backupsudo echo “(set! voice_default ‘voice_cmu_us_clb_arctic_clunits)” >> /etc/festival.scmecho “This is a test.” | festival –tts

To create the script that you will map in your keyboard settings (see video):

#/bin/bash
xsel | festival –tts –pipe

Support the Show

Matt HartleyDatamation.com

and OpenLogic.com/wazi, Matt also once served as a co-host for a popular Linux-centric podcast.

Matt has written about various software titles, such as Moodle, Joomla, WordPress, openCRX, Alfresco, Liferay and more. He also has additional Linux experience working with Debian based distributions, openSUSE, CentOS, and Arch Linux.

Source

Windows 10 October 2018 Update Performance Against Ubuntu 18.10, Fedora 29

As the latest of our benchmarks using the newly re-released Microsoft Windows 10 October 2018 Update, here are benchmarks of this latest Windows 10 build against seven different Linux distributions on the same hardware for checking out the current performance of these operating systems.

For this latest Linux OS benchmarking comparison against Windows, the following platforms were tested:

– The Windows 10 April 2018 release as the previous major milestone of Windows 10.

– The newest Windows 10 October 2018 build as the latest Windows 10 build from Microsoft.

– OpenSUSE Tumbleweed as the openSUSE rolling-release distribution that as of testing was on the Linux 4.18.12 kernel, KDE Plasma 5.14, Mesa 18.1.7, and GCC 8.2.1 atop an XFS home file-system with Btrfs root file-system (the default partitioning scheme).

– Ubuntu 18.10 in its near-final form with the Linux 4.18 kernel, GNOME Shell 3.30.1, X.Org Server 1.20.1, Mesa 18.2.1, GCC 8.2.0, and an EXT4 file-system.

– Ubuntu 18.04.1 LTS as the current long-term supported flavor of Ubuntu with the Linux 4.15 kernel, GNOME Shell 3.28.2 on X.Org Server 1.19.6, Mesa 18.0.5, GCC 7.3.0, and an EXT4 file-system.

– The Manjaro 18.0 release candidate for this Arch-based distribution. The Manjaro 18.0 stack was providing the Linux 4.14 LTS kernel, Xfce 4.12, X.Org Server 1.20.1, Mesa 18.2.2, GCC 8.2.1, and an EXT4 file-system.

– The near-final Fedora 29 release with the Linux 4.18 kernel, GNOME Shell 3.03.1 with Wayland, Mesa 18.2.2, GCC 8.2.1, and an EXT4 file-system.

– The current stable Debian 9.5 release with the Linux 4.9 kernel, GNOME Shell 3.22.3 with X.Org Server 1.19.2, Mesa 13.0.6, GCC 6.3.0, and an EXT4 file-system.

– Clear Linux 25550 as Intel’s rolling-release distribution that is currently shipping with the Linux 4.18 kernel, GNOME Shell 3.30.1 on X.Org Server 1.20.1, GCC 8.2.1, and an EXT4 file-system.

Across the seven tested Linux distributions and two Windows 10 builds, the same system was used for testing. This system consisted of the Intel Core i7 8086K processor, MSI Z370-A motherboard, 16GB DDR4-3000 memory, 120GB Intel 760p NVMe SSD, and an AMD Radeon RX 580 graphics card.

Via the Phoronix Test Suite a range of benchmarks were run. This is quite an exciting time for operating system releases given the new Windows 10 build and the Fedora 29, Manjaro 18.0, and Ubuntu 18.10 releases coming up shortly, among other Linux distributions working on their Q4-2018 updates.



Source

So hot it hurts | Linux Format

Buy it now!

Read a sample

This issue is a celebration of the best open source distros. We’re recognising the achievements of thousands of unsung developers, coders, testers, organisers and documentation writers. Day in, day out, they’re working on open source projects, making git commits, filing bug reports and packaging tirelessly to bring us a bounty of free and open source software to choose from.

I think it’s far too easy to take that for granted. So this issue we’re taking a while to stop and appreciate the best distros that have arrived in 2018. The sheer diversity that Linux and the GPL offer is staggering. It enables the same kernel to have software wrapped around it to specialise in every area of computing: cloud servers, security and penetration testing, NAS devices, IoT devices, scientific research, super-computing development and coding.

Not to forget everyday desktop use and beyond! Instead of just pontificating about the merits of each distro, we’ve decided to take another approach. We’ll be showing you how you can build and package your own distro, too. So you can appreciated just how involved a job it is. This has some genuine uses: if you’re deploying the same image over a host of systems then having the same software and configuration across them all is ideal. So as well as being hopefully interesting, it’s also useful to know. We’re big fans of win-win situations! It’s not just diversity that open source helps prevail.

We’re looking at how abandoned games can be given a second life using open source engines. Open Morrowind is an amazing example of how the spirit of a game can be kept alive, enhanced and extended for decades after its original release, through the combined efforts of a community. I say it every issue, but we’ve got another amazing mix of content, so enjoy!

Write in now, we want to hear from you!
lxf.letters@futurenet.com

Send your problems and solutions to:

lxf.answers@futurenet.com

Catch all the FLOSS news at our

evil Facebook page

or follow us on the

Twitters

.

Source

Katello: Security Compliance Management with OpenSCAP | Lisenet.com :: Linux | Security

Working with Katello – part 6. We will configure OpenSCAP plugin to receive automated vulnerability assessment and security compliance audits from Foreman hosts.

This article is part of the Homelab Project with KVM, Katello and Puppet series.

Homelab

We have Katello installed on a CentOS 7 server:

katello.hl.local (10.11.1.4) – see here for installation instructions

See the image below to identify the homelab part this article applies to.

OpenSCAP

The Security Content Automation Protocol (SCAP) enables the definition of configuration and security policies, also the means of auditing for compliance with those policies. In Foreman, SCAP is implemented with the tools provided by the OpenSCAP project.

The OpenSCAP plugin enables Foreman to receive automated vulnerability assessment and security compliance audits from Foreman hosts. We can upload SCAP compliance contents, create compliance policies out of them and assign the policies to hosts or hostgroups.

Installation

Detailed installation instructions can be found on the Foreman website. See references for a weblink.

We need to install the following:

  1. Foreman OpenSCAP (foreman_openscap).
  2. Smart Proxy OpenSCAP (smart_proxy_openscap).
  3. foreman_scap_client.
  4. puppet-foreman_scap_client.

Install foreman_openscap

# foreman-installer –enable-foreman-plugin-openscap

Install smart_proxy_openscap

# foreman-installer –enable-foreman-proxy-plugin-openscap

If you want to, you can modify /etc/foreman-proxy/settings.d/openscap.yml with custom settings.

After installing smart_proxy_openscap on the proxy, refresh features of the proxy so it will register with OpenSCAP feature on the Foreman.

Install Puppet Module puppet-foreman_scap_client

This puppet module will automatically install foreman_scap_client and configure the client with all parameters needed for the operation of foreman_scap_client.

# puppet module install theforeman-foreman_scap_client –environment homelab
Notice: Preparing to install into /etc/puppetlabs/code/environments/homelab/modules …
Notice: Downloading from https://forgeapi.puppet.com …
Notice: Installing — do not interrupt …
/etc/puppetlabs/code/environments/homelab/modules
└─┬ theforeman-foreman_scap_client (v0.3.18)
└── puppetlabs-stdlib (v4.24.0)

After installing the module, import new Puppet classes via Katello WebUI:

Configure > Puppet Classes > Import environments from katello.hl.local

Setup Foreman Plugins Repository

Starting with puppet-foreman_scap_client 0.3.14 shipped with Foreman 1.14 the Foreman plugins yum repo can be set up if you define at least Foreman’s major release version. This repository is needed to install foreman_scap_client, which will fail otherwise.

Note that packages are not signed.

Create a new repository and sync it:

# hammer repository create
–product “el7_repos”
–name “foreman-plugins-117”
–label “foreman-plugins-117”
–content-type “yum”
–download-policy “on_demand”
–url “https://yum.theforeman.org/plugins/1.17/el7/x86_64/”
# hammer repository synchronize
–name “foreman-plugins-117”
–product “el7_repos”

Add the new repository to the content view:

# hammer content-view add-repository
–name “el7_content”
–product “el7_repos”
–repository “foreman-plugins-117”

Publish a new version of the content view that includes the Foreman plugins repository:

# hammer content-view publish
–name “el7_content”
–description “Publishing foreman plugins 1.17”

Let us see the version number that we want to promote:

# hammer content-view version list

Promote content view version to our “stable” lifecycle environment:

# hammer content-view version promote
–content-view “el7_content”
–version “11.0”
–to-lifecycle-environment “stable”
–description “Publishing foreman plugins 1.17”

At this point the new repository should be available to clients.

Usage

Create Default SCAP Content

This following will search for scap-security-guide SCAP contents and create SCAP content on the Foreman.

# foreman-rake foreman_openscap:bulk_upload:default
Saved /usr/share/xml/scap/ssg/content/ssg-centos6-ds.xml as Red Hat centos6 default content
Saved /usr/share/xml/scap/ssg/content/ssg-centos7-ds.xml as Red Hat centos7 default content
Saved /usr/share/xml/scap/ssg/content/ssg-firefox-ds.xml as Red Hat firefox default content
Saved /usr/share/xml/scap/ssg/content/ssg-jre-ds.xml as Red Hat jre default content
Saved /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml as Red Hat rhel6 default content
Saved /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml as Red Hat rhel7 default content

Create Policy Wizard

Open Katello WebUI and navigate to the following:

Hosts > Compliance > Policies > New Compliance Policy

Create a new policy and provide the following details:

  1. Name of the policy (e.g. homelab).
  2. Choose which SCAP content and SCAP profile to apply (e.g. STIG).
  3. Choose schedule when to run this policy (e.g. weekly on Sundays).
  4. Select which location / organization thes policy belongs to (e.g. Lisenet / HomeLab).
  5. Choose which hostgroups you wish to pply this policy to (e.g. el7_group).

The result should look something like this:

This will assign the policy to the specified hostgroup. All hosts which belong to the hostgroup will automatically be assigned to the policy, and the Puppet class will be included.

Open Katello WebUI, edit Host Group and specify OpenSCAP Proxy:

Make sure that all hosts that are assigned to the hostgroup have OpenSCAP Proxy assigned.

Hosts will get foreman_scap_client automatically installed and configured on the next Puppet agent run. There will be a cron file created /etc/cron.d/foreman_scap_client_cron that runs according to the schedule that was chosen when creating the policy.

How to Run foreman_scap_client Manually

Check the content of the cron file on a host you want to run the client on (we use db1.hl.local):

[db1]# cat /etc/cron.d/foreman_scap_client_cron
# DO NOT EDIT THIS FILE MANUALLY
# IT IS MANAGED BY PUPPET

# foreman_scap_client cron job

# Runs foreman_scap_client 1
0 1 * * 0 root /usr/bin/foreman_scap_client 1 > /dev/null

Copy the line from the file and run:

[db1]# /usr/bin/foreman_scap_client 1
[…]
Uploading results to https://katello.hl.local:9090/compliance/arf/1

Reports can be found here: Hosts > Compliance > Reports

SCAP Workbench and Tailoring Files

Default SCAP policies may not suit your needs and can therefore be edited. SCAP Workbench is a graphical utility that offers an easy way of doing that.

Workbench allows you to modify an XCCDF profile in an easy way without changing the respective XCCDF file. The tool provides a graphical way to enable or disable XCCDF elements. Your changes can be stored as an XCCDF tailoring file.

References

https://www.theforeman.org/plugins/foreman_openscap/0.8/index.html

https://www.open-scap.org/tools/scap-workbench/

Source

WP2Social Auto Publish Powered By : XYZScripts.com