CDLab Technology · Providing professional DevOps practice and tools

Blog

Update debian 9 to 10

1. Change repo os-release sed -i 's/stretch/buster/g' /etc/apt/sources.list sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* 2. Update packages apt update 3. Upgrade system apt dist-upgrade -y 4. reboot 5. Remove old files apt autoremove -y   ... See more

Create date 30.08.2021

How to install OpenVPN server on Ubuntu 20.04

  OpenVPN is a full-featured SSL VPN that implements OSI layer 2 or 3 secure network extension using the industry-standard SSL/TLS protocol, supports flexible client authentication methods based on certificates, smart cards, and/or username/password credentials, and allows user or group-specific access control policies using firewall rules applied to the VPN virtual interface. OpenVPN is not a web application proxy and does not operate through a web browser.   So, for now, we will install and set up the OpenVPN server on ubuntu 20.04 or familiar. Let's start !!! All commands are executed in privileged mode. To enter it, you need to execute the command sudo -s Step 1 - Update your server’s package index and install the last upgrade Update the local ... See more

Create date 16.12.2020

How to setup MySQL server 8.0 on Debian based systems

  MySQL is an open-source relational database management system (RDBMS) with a client-server model.   In Debian 10, MariaDB, a community fork of the MySQL project, is packaged as the default MySQL variant. Although MariaDB works well in most cases, if you want features that are only available in Oracle MySQL, you can install and use packages from the repository maintained by the MySQL developers.   To install the latest version of MySQL, we will add this repository, install the MySQL software itself, secure the installation, and finally verify that MySQL is running and responding to commands.   We will show you how to install MySQL-server on Debian-like operating systems such as Debian 9/10, Ubuntu 18/19/20.   !!! All commands are executed in privileged mode. To enter it, you ... See more

Create date 27.11.2020

Proxmox VE overview

  Proxmox Server Solutions GmbH has released a new version of the hyper-converged, open-source virtualization platform, Proxmox Virtual Environment (VE), for managing LXC containers and KVM virtual machines on the same host, allowing the creation of high-performance clusters from the web administration panel. The new version marked 6.2 is based on Debian Buster (10.4) and Linux kernel 5.4 with long term support.   Proxmox VE is a specialized Linux distribution developed since 2007 on an open-source basis, improving VPS servers' management. The system built based on Debian Linux uses the latest virtualization and containerization technologies and is a highly scalable solution that offers HA support (High Availability).   This release of the software-defined data center (SDDC) solution also introduces updates to the latest versions ... See more

Create date 15.12.2020

Linux - disk reseize on the fly

  Expansion of disk space "on the fly" in Linux-systems is possible both when using LVM and using ext3 / ext4 file systems.   When using LVM on the system We run the fdisk -l command in order to make sure that the volume of the disk (virtual or physical, it does not matter) has increased. fdisk -l Disk /dev/vda: 300 GiB, 322122547200 bytes, 629145600 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xf8e4f5ceDevice Boot Start End Sectors Size Id Type/dev/vda1 * 2048 499711 497664 243M 83 Linux/dev/vda2 501758 629145599 628643842 30G 5 Extended/dev/vda5 501760 629145599 6286 ... See more

Create date 11.11.2020