If you are on Debian or Ubuntu and using Google official repositories for Google Chrome Remote Desktop, you might have received the following error while updating your system.
E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
sudo apt update
And you will be prompted to accept the new Origin of the repository
Do you want to accept these changes and continue updating from this repository? [y/N]
And that’s it.
Working with the terminal using a command interface is very fast and effective way of doing stuff. But have you tried working with the terminal, listening to a music via headphones and having a terminal warning or tab-completion beep / bell turned ON at the same time? Well it can be very annoying. Listening to the PC Speaker beeps via headphones is very close to a feeling of hitting your head with a hammer. Even without headphones this beeping bell sound is very annoying.
Continue reading “Turn off beep / bell on linux terminal”
Posting the Debian answer for posterity…
sudo su \
&& rm -rf /dev/null \
&& mknod /dev/null c 3 2 \
&& chmod 666 /dev/null
Although you’ve got the errors you’re still able to connect to the machine:
and install the ifupdown package
apt-get install ifupdown
and reload the machine.
The PHP development team announces the immediate availability of PHP 5.6.37. This is a security release. Several security bugs have been fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.0.31. This is a security release. Several security bugs have been fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.1.20. This is a security release. Several security bugs have been fixed in this release. All PHP 7.1 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.2.8. This is a security release which also contains several minor bug fixes.
All PHP 7.2 users are encouraged to upgrade to this version.
DirectAdmin pleased to announce the release of DirectAdmin 1.53.2.
This is mainly a bug-fix release, with a few extra features.
All changes can be found here:
ClamAV 0.100.1 is now available with a few CVE fixes;
The MariaDB Foundation is pleased to announce the availability of MariaDB 10.3.8, the latest stable release in the MariaDB 10.3 series. See the release notes and changelogs for details.
Continue reading “MariaDB 10.3.8 now available”
There are several reasons to restrict a SSH user session to a particular directory, especially on web servers, but the obvious one is a system security. In order to lock SSH users in a certain directory, we can use chroot mechanism.
Continue reading “Restrict SSH user access to certain directory using chrooted jail on Debian 9”
Here I explain how to fix Python SSL errors when trying to access DirectAdmin API using the https protocol in Python (e.g. by using the urllib, urllib2. httplib or requests). This error looks like:
raise ApiError("HTTP Error: %s" % e.reason)
directadmin.api.ApiError: HTTP Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
Server certificate verification by default has been introduced to Python recently in 2.7.9. This protects against man-in-the-middle attacks, and it makes the client sure that the server is indeed who it claims to be.
As a quick (and insecure) fix, you can turn certificate verification off, by:
1. Set PYTHONHTTPSVERIFY environment variable to 0. For example, run
PYTHONHTTPSVERIFY=0 python your_script
2. Alternatively, you can add this to your code before doing the https request
import os, ssl
if (not os.environ.get('PYTHONHTTPSVERIFY', '') and
getattr(ssl, '_create_unverified_context', None)):
ssl._create_default_https_context = ssl._create_unverified_context