Home Blog Page 915

3 Open Source Tools for Supply Chain Management

BIZ Maze2If you manage a business which deals with physical goods, supply chain management is an important part of your business process. Whether you’re running a tiny Etsy store with just a few customers, or a Fortune 500 manufacturer or retailer with thousands of products and millions of customers worldwide, it’s important for you to have a close understanding of your inventory and the parts and raw materials you need to make your products.

Read more at OpenSource.com

Seagate Launches Its First 10TB Helium-Filled Hard Drive

The new HDD uses advanced caching algorithms to help cloud data center managers manage the increasing volume of data more quickly.

Read more at eWeek

Zero-Day FFmpeg Vulnerability Lets Anyone Steal Files from Remote Machines

A zero-day vulnerability in the FFmpeg open-source multimedia framework, which is currently used in numerous Linux kernel-based operating systems and software applications, also for the Mac OS X and Windows platforms, has been discovered recently.

The vulnerability was discovered on January 12, 2016, by Russian programmer Maxim Andreev in the current stable builds of the FFmpeg software, and it would appear that it allows anyone who has the necessary skills to hack a computer to read local files on a remote machine and send them

How to search multiple pdf documents for words on Linux

When it comes to searching text within a PDF document, pretty much every PDF reader software supports it. However, it becomes tricky when there are more than one PDF document to search. While the official Adobe Reader offers multiple PDF search functionality (i.e., searching all PDF files in a directory), it has discontinued on Linux. […]
Continue reading…

The post How to search multiple pdf documents for words on Linux appeared first on Xmodulo.

Read more at Xmodulo

How to Install Drupal 8 with Apache, MySQL and SSL on Ubuntu 15.10

In this tutorial, I will show you how to install Drupal 8 on Ubuntu 15.10 with Apache as web server, MySQL as database backend and how to secure the website with SSL. Drupal is a open-source content management system based on PHP and distributed under the GNU General Public License. Drupal is a scalable and open platform for web content management, it’s community provides more than 31,000 modules to extend the core functions and Drupal is used by at least 2.1% of all website on the internet.

Read more at HowtoForge

Tools for Managing OpenStack

This is the second article in our Test Driving OpenStack series. To accelerate your knowledge with professional training, take some OpenStack training from The Linux Foundation.

openstack-cloud-software-vertical-smallAs I mentioned in the previous article in this series, at its most basic level, OpenStack consists of an API. The group heading up OpenStack has created developer software that implements OpenStack called DevStack. DevStack is meant for testing and development but not for running an actual data center. Various companies and organizations have created their own implementations of OpenStack that are intended for production.

Although these are all separate software products, they all share the fact that they expose an API consisted with the OpenStack specification. That API allows you to control the OpenStack software programmatically, which opens up a whole world of possibilities. Furthermore, the API is RESTful, allowing you to use it in a browser, or through any programming platform that allows you to make HTTP calls.

As a developer, this design allows you to take a couple approaches to manage an OpenStack infrastructure. For one, you could make calls to the API through your browser. Or, you can write scripts and programs that run from the command-line or desktop and make the calls. The scripts can be run using various automation tools.

First, let’s consider the browser apps. Remember that a browser app lives on two ends: The server side serving out the HTML and JavaScript and so on, and the app in the browser running said HTML and JavaScript. The code running in the browser is easily viewable and debuggable in the browser itself by an experienced developer. What this means is that you do not want to put any security code in the browser. That, in turn, means you typically wouldn’t make calls from the browser directly to the OpenStack API unless you’re operating in a strictly trusted development and testing environment.

The main reason for this is you don’t want to be sending private keys down to the browser that anyone could then access and pass around. Instead, you would follow best practices of web development and implement a security system between the browser and your server, and then have the server make the calls RESTful calls to the OpenStack API.

For the other case of scripts and programs outside of the browser, you have several options. You can make the RESTful calls yourself, or you can use a third-party library that understands OpenStack. These scripts and apps could manage your infrastructure by making the OpenStack API calls.

But, there’s yet another possibility. Various management tools allow you to manage an OpenStack environment using modules built specifically for OpenStack. Two such management tools are Puppet and Chef.

Puppet

With Puppet, you first define the state of your IT infrastructure, and Puppet automatically enforces the desired state. So, to get started using Puppet, you need to create some configuration files. You can use these files in a descriptive sense, essentially describing the state of your system. However, the configuration language also includes procedural constructs such as loops, along with support for such constructs such as variables.

Puppet provides full support for OpenStack, and the OpenStack organization has even devoted a page to Puppet’s support. The modules described on this page are created by the OpenStack community for Puppet and as such reside on OpenStack’s own Git repository system.

puppet search

Additionally, the Puppet community has contributed modules that support OpenStack. If you head over to the Puppet Forge site, you can search by simply entering OpenStack into the search box. This brings up a few dozen modules (see Figure 1). Some are created by members of the community. The ones that are on OpenStack’s Git repository are also here as well. (Just a quick note here; in the list shown in the image, make sure you click on the module name — the word after the slash — not the username, which is the word before the slash. Clicking on the username takes you to a list of all modules by that user.)

Installing the modules for Puppet takes a quick and easy command, like so:

puppet module install openstack-keystone

This step installs the keystone module that’s created by the OpenStack organization. (Keystone is the name of OpenStack’s identity service.)

The modules come with examples, which you’ll want to study carefully. The openstack-keystone includes four examples, one of which is for a basic LDAP testing. Take a look at the file called ldap_identity.pp. It creates a class called keystone::roles::admin, which includes a username and password member.

Because this module is just for testing, the username and password are hardcoded in it. Then, it creates a class called keystone::ldap that contains information for connecting to LDAP, such as the following familiar-looking user string:

uid=bind,cn=users,cn=accounts,dc=example,dc=com

and other such members. The best way to become familiar with managing OpenStack through Puppet is to play with the examples and use them with a small OpenStack setup.

Chef

Chef offers similar tools for automating the provisioning and configuration of your infrastructure.

Chef uses cooking metaphors for its names. For example, a small piece of code is called a recipe, and a set of recipes is a cookbook. Here’s a page from the Chef documentation about working with OpenStack. If you’re planning to use Chef, this page includes a series of examples and explanations that will give you exactly what you need to get started (Figure 2).

Chef-diagram

Like Puppet, Chef includes cookbooks for working with the different aspects of OpenStack, such as Keystone. Unlike Puppet, Chef doesn’t use an original scripting language. Instead, it uses Ruby. To use Chef, you don’t need to be a Ruby programming expert, however. In many cases, you can get by just knowing enough Ruby to configure your system. But, if you need to perform advanced tasks, because it’s Ruby, you can use other aspects of the language such as its procedural constructs.

Also like Puppet, Chef includes a searchable portal where you can find community-contributed recipes and cookbooks. Staying with the cooking metaphor, the portal is called the Supermarket. Note, however, that searching the Supermarket for OpenStack doesn’t provide as many libraries as with Puppet. Although I encourage you to browse through the Supermarket, you’ll want to pay close attention to Chef’s own documentation regarding OpenStack that I mentioned earlier.

You’ll also want to install the OpenStack Chef repo found on GitHub. This page contains the repo itself and shows a README page that also contains some great step-by-step information.

Conclusion

OpenStack is not small. Although you can control it programmatically from a browser or using HTTP calls within your own programming language of choice, you can also greatly simplify your life by embracing either Puppet or Chef. Which one should you choose? I suggest trying out both to see what works for you. Be forewarned that, in either case, you’ll need to learn some syntax of the files — especially in the case of Chef, if you’re not already familiar with Ruby. Take some time to work through the examples. Install OpenStack on your own virtual machine, and go for it. You’ll be up to speed in no time.

Learn more about OpenStack. Download a free 26-page ebook, “IaaS and OpenStack – How to Get Started” from Linux Foundation Training. The ebook gives you an overview of the concepts and technologies involved in IaaS, as well as a practical guide for trying OpenStack yourself.

Read more on Linux.com:

Go Language Expands to IBM Mainframes

z13-100580341-primary.idgeIBM hopes that Google’s language, already in use by Docker and Kubernates, will stretch the open source ecosystem for its mainframes. 

Google’s Go, considered an up-and-coming language with usage in projects like Docker and Kubernetes, has netted another feather in its cap: a port to IBM’s z Systems mainframe platform.

The port was cited on a GitHub list of repositories from the Linux on IBM z Systems Open Source Team.

Read more at InfoWorld

Pivot Project Offers Free Cybersecurity Challenges to Clubs

The PIVOT project for high school and collegiate cyber clubs launched yesterday. Founded by SANS Director Alan Paller, PIVOT offers cybersecurity challenges and labs that build real-world skills and ensure mastery across multiple domains. 

If you have tried to hire cybersecurity people with solid hands-on skills you know how hard that is. Club programs are effective when they have regular meetings where participants learn about a tool or technique and then have an hour or more of hands-on exercise. PIVOT is a growing collection of short briefings with fun and challenging on-line or downloadable exercises… 

Read more at Pivot project

Slackware 14.2 Beta Released, Now Uses PulseAudio

Patrick Volkerding is kicking off 2016 by announcing the first beta release of Slackware 14.2. 

First off, Slackware 14.2 has finally begun using PulseAudio. Years after other Linux distributions switched to PulseAudio, the day has come for Slackware since they upgraded to BlueZ 5. 

Read more at Phoronix

Remix OS EULA Asks to Waive Rights to All User Content

remix-os-eulaRemix OS, a new desktop OS based on Android-x86 landed yesterday, but it comes with a pretty nasty EULA that should definitely be read by its users. Many people don’t bother to read the EULA for a new operating system or application, but that is always a good idea. Unfortunately, the EULA is a huge document and most of the time you need to be a lawyer to get the finer points.

It turns out that Remix OS has a user agreement that is clearly shown before launching the OS, and it’s written in a human language that’s easy to comprehend. …