Symptoms

The following error message appears after a paste attempt is made using middle mouse button:
 E353: Nothing in register "

Related sources.list repositories:
Wheezy, Jessie, Stretch, Buster

Security Updates

# /etc/apt/sources.list :
deb http://security.debian.org/ bullseye/updates main contrib non-free
deb-src http://security.debian.org/ bullseye/updates main contrib non-free

Australia Mirror

# /etc/apt/sources.list :
deb http://ftp.au.debian.org/debian/ bullseye main contrib non-free
deb-src http://ftp.au.debian.org/debian/ bullseye main contrib non-free

Related sources.list repositories:
Wheezy, Jessie, Stretch, Buster

Security Updates

# /etc/apt/sources.list :
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free

Australia Mirror

# /etc/apt/sources.list :
deb http://ftp.au.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.au.debian.org/debian/ buster main contrib non-free

check private and public network ip address

Your Local IP address is:

-

Above is your local/private IP address(es) assigned to your internal hardware or virtual network card on your computer. Depending on your LAN configuration the above IP addresses may be static or dynamic.

In case you can't find any address above, to check your internal IP address manually on Linux with ifconfig or ip command execute:
# ifconfig | grep -w inet | awk '{ print $2}'
OR
# ip a s | grep -w inet | awk '{ print $2}'

About

The automated build docker LEMP image linuxconfig/lemp-php7 can be used as a testing and also as a production environment for a dynamic PHP applications. It comprises of Debian GNU/Linux, lightweight and yet powerful Nginx webserver, MySQL relational database management system and PHP scripting language.

At the time of writing, Debian Linux does not come with PHP 7 as a part of a its standard repository. From this reason PHP 7 was compiled from the source code during docker image build using compile-php-debian script located at https://github.com/linuxconfig/compile-php-debian.

Furthermore, not all 3rd-party PHP modules are currently supported on PHP 7.

Deployment

The following section describes the deployment of linuxconfig/lemp-php7 docker on your docker host. Let' start by creating a sample PHP website with a MySQL connection handle. Alternatively add phpinfo(); into the mix to display current PHP information page:
<?php
$link = mysqli_connect("127.0.0.1", "admin", "pass");

if (!$link) {
    echo "Error: Unable to connect to MySQL." . PHP_EOL;
    echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL;
    echo "Debugging error: " . mysqli_connect_error() . PHP_EOL;
    exit;
}

echo "Success: A proper connection to MySQL was made!" . PHP_EOL;
echo "Host information: " . mysqli_get_host_info($link) . PHP_EOL;

mysqli_close($link);
?>

Introduction

As a Linux system administrator, you will sometimes have to add new user account to your system. To do so, adduser command is often used. When it comes to multiple users' creation, adduser command may become boring and time-consuming. This short article intends to provide the Linux system administrator with a simple and unattended way for bulk user creation. The newusers command will help you to create multiple users by getting their info from a prefilled file.

Requirements

Privileged access to your Linux machine

Conventions

# - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to proceed

Create a file containing the usernames

In this initial step, you need to create a file that will contain the list of the usernames that are to be created.
$ vi users-list.txt

Introduction

Netflix and Linux have a somewhat troubled past. For years, Netflix actively blocked Linux users. More recently, support for Google Chrome was added. Firefox users, however, have been out of luck until just recently. As of Firefox 49, the option of using Google's DRM from the Chrome browser to play DRM content has been made optionally available to Firefox users. This has made it possible to watch Netflix, and potentially other DRM streaming services, using Firefox and without installing Google Chrome. What's better, the DRM can be turned off when you're done watching.

Objective

If your intention is to use XenServer's virtual machine as a remote desktop, the default screen resolution may not be satisfactory for your purposes.
Default xenserver screen VM resolution

Introduction

If winecfg is a screwdriver, winetricks is a power drill. They both have their place, but winetricks is just a much more powerful tool. Actually, it even has the ability to launch winecfg.

While winecfg gives you the ability to change the settings of WINE itself, winetricks gives you the ability to modify the actual Windows layer. It allows you to install important components like .dlls and system fonts as well as giving you the capability to edit the Windows registry. It also has a task manager, an uninstall utility, and file browser.

Even though winetricks can do all of this, the majority of the time, you're going to be using it to manage dlls and Windows components.

Introduction

It's probably best to think of WINE prefixes sort of like virtual machines. They're not virtual machines, but they do behave somewhat similarly. A WINE prefix is a folder that contains all of the WINE configurations as well as all of the Windows pieces that WINE uses for compatibility, including libraries and a registry. The default WINE prefix is ~/.wine, but different and multiple prefixes can be used.

Introduction

Many programs work under WINE with absolutely no configuration. The second WINE is installed, it can flawlessly run them. Unfortunately, that isn't always the case, and applications are constantly being updated, so the list of flawless applications is always changing. It's a good thing that WINE can be configured to accommodate potentially troublesome programs.

There are two main utilities for doing so, winecfg and winetricks. This guide will cover the former, and a future guide will handle the latter. Most of the time, though, winecfg is enough to get an application running.

winecfg is a graphical utility. Different distributions and desktop environments handle WINE and WINE applications differently, so the easiest way to open it up on any distribution is to run winecfg in a terminal.

When the application opens, you will notice a plain window with seven or eight tabs, depending on which version of WINE you're running. The eighth tab is "Staging," and like the name suggests, is only available when the staging patches have been applied to WINE.

Intro

There are plenty of reasons why people would need to encrypt a partition. Whether they're rooted it privacy, security, or confidentiality, setting up a basic encrypted partition on a Linux system is fairly easy. This is especially true when using LUKS, since its functionality is built directly into the kernel.

Installing Cryptsetup

Debian/Ubuntu

On both Debian and Ubuntu, the cryptsetup utility is easily available in the repositories. The same should be true for Mint or any of their other derivatives.
$ sudo apt-get install cryptsetup

Git is a version control system which means that it allows you to keep track of your code or any kind of text throughout the development. Meaning, you can rewind back and forward to any stage of the code development. Without going into much detail, this is done mainly via few basic commands: clone, add,commit, push and pull.

Intro

NVIDA supports Linux with its proprietary drivers nearly as well as it does Windows. That said, it's no secret that NVIDIA has long been the go-to choice for gaming on Linux. Unfortunately, even though the drivers support Linux well, installing them can become more complicated when dealing with different distributions. In many cases, the process is very simple but not well documented. In others, it's a bit tougher, but there is no reason that you can't get the latest NVIDIA drivers for your graphics card working on most major distributions.

Objective

The objective is to first export XenServer's virtual machine into a regular backup file and later import a new virtual machine from the previously generated backup file.

Requirements

Privileged access to XenServer's command line.

Difficulty

EASY

Instructions

Identify VM's UUID

We start by identifying a virtual machine we would lake to export to as a regular backup file. Run xe vm-list to list all available virtual machines and take a note of the virtual machine in question:
# xe vm-list
uuid ( RO)           : 7371124f-7d4d-66b7-cbc7-a98b1457543e
     name-label ( RW): Debian Jessie 8.5
    power-state ( RO): halted


uuid ( RO)           : bad8e456-df88-435d-ba12-3f0f6e54b2c6
     name-label ( RW): Control domain on host: xenserver
    power-state ( RO): running

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: