Category: Linux

Linux Server Managment

Ansible reboot Linux machine or server with playbooks nixCraft

I need to reboot the VM or bare metal Linux machine/server using Ansible and wait for it to come back, but it does not work with playbook as descried here. How to reboot Linux server

How to use Kolibri to access educational material offline

While the internet has thoroughly transformed the availability of educational content for much of the world, many people still live in places where online access is poor or even nonexistent. Kolibri is a great solution for these communities. It’s an app that creates an offline server to deliver high-quality educational resources to learners.

read more

How to 'Kubernetize' an OpenStack service

OpenStack

Kuryr-Kubernetes is an OpenStack project, written in Python, that serves as a container network interface (CNI) plugin that provides networking for Kubernetes pods by using OpenStack Neutron and Octavia.

read more

What we learned building a Zuul CI/CD cloud

clouds in the sky with blue pattern

Contributing to open source projects such as OpenStack traditionally involves individuals and companies providing code contributions that add new features and fix bugs. For nearly two years, I’ve been running one-off OpenStack clouds for demonstrations and labs at user group meetings across the US, using hardware donated from bare-metal service provider Packet.

read more

Check Debian/Ubuntu Linux package version using apt-get/aptitude command nixCraft Updated Tutorials/Posts

I am a new Debian / Ubuntu Linux sysadmin. I would like to find out what version I would install if I ran the apt-get command. How do I find out which versions of a

Linux Command To Find SATA Link Speed Such as 1.5 / 3.0 / 6.0 Gbps [ Hard Disk ] nixCraft Updated Tutorials/Posts

How do I find out my SATA link speed? How do I make sure my sata hard disk is working at 6Gbps speed and how do I verify this on a Linux server running on

Linux Delete All Files In Directory Using Command Line nixCraft Updated Tutorials/Posts

I want to remove all files from a directory. Can you tell me Linux command to delete all files in a directory?Introduction: You can remove all files in a directory using unlink command. Another option

Ubuntu Linux Install Nvidia Driver (Latest Proprietary Driver) nixCraft

I am a new Ubuntu Linux user. My laptop has Nvidia GPU. How do I install Nvidia drivers on Ubuntu Linux 16.04, 18.04, 18.10?Introduction: Nvidia graphics processing units (GPUs) used for gaming and professional use

A quick-start guide for the Raspberry Pi

Pie

Whether absolute beginner or seasoned programming novice, we all need a helping hand remembering those key commands. I use a Raspberry Pi every day, but I rely on sticky notes and web searches to get by, so I put together this handy cheat sheet on the basics.
 
This Raspberry Pi cheat sheet covers what you need to boot your Pi, how to install the operating system, how to enable SSH and connect to WiFi, how to install software and update your system, and includes links for where to get further help.
 

read more

16 iptables tips and tricks for sysadmins

Modern Linux kernels come with a packet-filtering framework named Netfilter. Netfilter enables you to allow, drop, and modify traffic coming in and going out of a system. The iptables userspace command-line tool builds upon this

Scaling your developer community with plugins

shapes of women and men illustration

Community managers care about growth in their community, but growing development communities is hard work. It’s rare for developers to start contributing code to projects they’ve never worked with before—it’s far more likely that your developers were (or still are) users of the project, too.

read more

CentOS 7.0 Set Up OpenVPN Server In 5 Minutes nixCraft

I am a new CentOS Linux 7.0 server user. How do I set up an OpenVPN Server on CentOS Linux version 7.0 server to shield my browsing activity from bad guys on public Wi-Fi, and

CentOS 7 dig command not found – How to install dig on CentOS nixCraft

I deployed CentOS 7 Linux minimal deployed in the cloud. However, I am unable to find the dig command on my newly created CentOS 7 server. It says ‘-bash: dig: command not found‘ I tried

10 handy Bash aliases for Linux

bash logo on green background

How many times have you repeatedly typed out a long command on the command line and wished there was a way to save it for later? This is where Bash aliases come in handy. They allow you to condense long, cryptic commands down to something easy to remember and use. Need some examples to get you started? No problem!

To use a Bash alias you’ve created, you need to add it to your .bash_profile file, which is located in your home folder. Note that this file is hidden and accessible only from the command line. The easiest way to work with this file is to use something like Vi or Nano.

read more

Ubuntu 18.04 LTS Set Up OpenVPN Server In 5 Minutes nixCraft

I am a new Ubuntu Linux 18.04 LTS server user. How do I set up an OpenVPN Server on Ubuntu Linux version 18.04 LTS server to shield my browsing activity from bad guys on public

AWS Lightsail upgrade Ubuntu 16.04 LTS to 18.04 LTS nixCraft

By default, Lightsail will install Ubuntu 16.04 LTS. How do I upgrade to Ubuntu Linux 18.04 LTS when using AWS Lightsail cloud server? How do I upgrade to a newer version of Ubuntu such as

An introduction to swap space on Linux systems

arrows cycle symbol for failing faster

Swap space is a common aspect of computing today, regardless of operating system. Linux uses swap space to increase the amount of virtual memory available to a host. It can use one or more dedicated swap partitions or a swap file on a regular filesystem or logical volume.

read more

FreeBSD add a user to group nixCraft Updated Tutorials/Posts

How do I add a user to group under FreeBSD operating system? How can I add a user named top to existing group on a FreeBSD? How do I add a user to a group

FreeBSD Install Nginx Webserver Tutorial nixCraft Updated Tutorials/Posts

How do I install an Nginx webserver under a FreeBSD Unix operating system? How can I install Nginx web server on FreeBSD?nginx [engine x] is a HTTP server, reverse proxy and mail proxy server written

FreeBSD install PHP 7.2 with FPM for Nginx nixCraft

How do I install install PHP 7.2 with FPM for Nginx web server running on FreeBSD operating system?Introduction: PHP is an acronym for “PHP: Hypertext Preprocessor.” It is an open source general-purpose scripting language. PHP