The full form of ZFS is Zettabyte File System. The ZFS filesystem is a 128-bit filesystem. The ZFS supported filesystem size is 3×10(to the poer 24) TB. You may never encounter such a big filesystem in real life. The ZFS filesystem was designed to keep and access an insane amount of data.
Enabling Debian contrib Package Repository:
The ZFS filesystem packages are available in the official Debian 11 contrib package repository. The contrib package repository is not enabled on Debian 11 by default. But you can easily enable it from the command-line.
To enable the contrib package repository, open a Terminal and run the following command:
$ sudo apt-add-repository contrib
The official Debian contrib repository should be enabled.
$ sudo apt-get update
Installing ZFS Filesystem Dependencies:
You must install the libraries that the ZFS filesystem kernel module depends on before installing the ZFS filesystem on Debian 11. Continue reading “Install and Setup ZFS on Debian 11” »
The next logical step after creating a new image from an existing image is to share it with a select few of your friends, the whole world on Docker Hub, or other Docker registry that you have access to. To push an image to Docker Hub or any other Docker registry, you must have an account there.
This section shows you how to push a Docker image to Docker Hub. To learn how to create your own private Docker registry, check out How To Set Up a Private Docker Registry on Ubuntu 14.04.
To push your image, first log into Docker Hub.
docker login -u docker-registry-username
You’ll be prompted to authenticate using your Docker Hub password. If you specified the correct password, authentication should succeed. Continue reading “Pushing Docker Images to a Docker Repository” »
Working with Docker Images
Docker containers are built from Docker images. By default, Docker pulls these images from Docker Hub, a Docker registry managed by Docker, the company behind the Docker project. Anyone can host their Docker images on Docker Hub, so most applications and Linux distributions you’ll need will have images hosted there.
To check whether you can access and download images from Docker Hub, type:
docker run hello-world
The output will indicate that Docker in working correctly:
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
1b930d010525: Pull complete
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
Docker was initially unable to find the hello-world image locally, so it downloaded the image from Docker Hub, which is the default repository. Once the image downloaded, Docker created a container from the image and the application within the container executed, displaying the message. You can search for images available on Docker Hub by using the docker command with the search subcommand. For example, to search for the Ubuntu image, type: Continue reading “Docker Commands” »
The Docker installation package available in the official Debian repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure the downloads are valid, and then install the package.
First, update your existing list of packages:
sudo apt update
Next, install a few prerequisite packages which let apt use packages over HTTPS:
sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
Then add the GPG key for the official Docker repository to your system: Continue reading “Install Docker on Debain 10” »
Perform normal installation process up to the disk partitioning menu.
Select manual partitioning method in the disk partitioning menu.
Create empty partition table on each disk used to create RAID1 array. Continue reading “Configure Debian Software RAID 1 during installation” »
Installing wkhtmltopdf on Debian 7.8 to dynamically create PDF documents from HTML.
aptitude install xfonts-base xfonts-75dpi fontconfig
mkdir ~/src/wkhtmltopdf -p
dpkg -i wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb
If you’d like to disable webgui mode of Debian wheey, run the commands in the terminal as root-
update-rc.d -f gdm remove
update-rc.d -f gdm3 remove
update-rc.d -f wdm remove
Install Easyengine WordPress on a Debian 10 VM (mine was a KVM).
The following procedure will install EE with following components;
- WordPress Core
- Nginx Server PHP-FPM
- Redis Cache
- Let’s encrypt SSL
Install EasyEngine on Linux
wget -qO ee rt.cx/ee4 && sudo bash ee
ee site create your_domain --type=wp --ssl=le --cache
For detailed installation or customizing your requirement, you may visit- https://easyengine.io/commands/site/create/ Continue reading “Easyengine installaiton on Debian 10” »
To follow this tutorial, you will need one Debian 10 server with a sudo non-root user, which you can set up by following Steps 1-3 in the Initial Server Setup with Debian 10 tutorial.
Step 1 – Installing UFW
Debian does not install UFW by default. If you followed the entire Initial Server Setup tutorial, you will have installed and enabled UFW. If not, install it now using apt:
sudo apt install ufw
We will set up UFW and enable it in the following steps.
Step 2 — Using IPv6 with UFW (Optional)
This tutorial is written with IPv4 in mind, but will work for IPv6 as long as you enable it. If your Debian server has IPv6 enabled, you will want to ensure that UFW is configured to support IPv6; this will ensure that UFW will manage firewall rules for IPv6 in addition to IPv4. To configure this, open the UFW configuration file /etc/default/ufw with nano or your favorite editor:
sudo nano /etc/default/ufw
Then make sure the value of IPV6 is yes. It should look like this:
Continue reading “Ubuntu Firewall – UFW useful commands” »
MySQL multi-master replication is an excellent feature within MySQL. However, there is only one problem; standard multi-master replication seems to never be as stable as something like master-slave replication. It is always in need of attention. That is where Percona comes into play. The Percona team has developed an amazing product dubbed Percona XtraDB cluster. XtraDB features world class multi-master replication powered by Galera. So, what are we waiting for? Let’s get started.
A Linux distro of your choice. In this guide, we will be using Debian 7. You can use a different distro if you would like. (Note that you may need to adapt this guide to work with the distro of your choice)
Two nodes running the same OS. Basic knowledge of the command line and SSH.
SSH into your virtual machines.
Add Percona’s repositories.
On both nodes, execute the following command:
echo -e "deb http://repo.percona.com/apt wheezy main\ndeb-src http://repo.percona.com/apt wheezy main" >> /etc/apt/sources.list.d/percona.list && apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
Now we need to update the sources:
Install Percona-XtraDB Cluster
The installation is straightforward: Continue reading “Setup Percona on Debian 7” »