CodePre offers a wide variety of tutorials on the topic Ubuntu.

Installing iptables and disabling firewalld on Centos 7/8

Firewalld is the default firewall on Centos 7 and Centos 8, as well as RHEL 7 and RHEL 8. To start using iptables on Centos, you need to disable firewalld to avoid conflicts in firewall rules. Stop firewalld and remove it from startup $ sudo systemctl stop firewalld $ sudo systemctl disable firewalld We mask… read more »

Checking the availability of TCP / UDP ports on a remote machine

netcat – a Unix utility that allows you to establish TCP and UDP connections, receive data from there and transmit them. Despite its usefulness and simplicity, this utility is not included in any standard. To check the availability of TCP / UDP ports on a remote machine, we will use the Netcat utility Installation: ###… read more »

Expand a GPT disk using cfdisk in Linux

cfdisk – a system utility for managing hard disk partitions in the Linux operating system. Similar to fdisk, but with a friendly user interface Objective: you need to increase the size of the GPT disk / dev / sdb1 (file system type ext4) Turn off the virtual machine, We expand the required disk, Turn on… read more »

How to create an SSH tunnel with Putty / Kitty

An SSH tunnel is a tunnel created over an SSH connection and used to encrypt tunneled data. Used to secure data transmission on the Internet. Tunnel setup Launch Putty / Kitty In the Host Name field, enter the IP address of the server to which we will connect, in the Port field, enter the ssh… read more »

How to install Java with `apt` on Ubuntu 18.04

[*]Introduction Java and JVM (Java Virtual Machine) are required for many kinds of software, including Tomcat, Jetty, Glassfish, Cassandra, and Jenkins. In this tutorial, you will install various versions of the Java Runtime Environment (JRE) and Java Developer Kit (JDK) using apt. You will also be installing OpenJDK, and the official packages from Oracle. Then… read more »

How to install Joomla 3 on Ubuntu 16.04

In this article, we will explain how to install Joomla on Ubuntu 16.04 with MariaDB 10.2, PHP-FPM 7.1 and Nginx. Joomla is an open source content management system (CMS) for publishing web content written in PHP. Joomla is one of the most popular CMS and is used worldwide to power millions of websites of all… read more »

How to find packages by a specific file on Ubuntu

This guide will help you identify the package that owns / provides a particular file on your Ubuntu system. All commands in this article have been tested on Ubuntu 18.04 and Ubuntu 16.04 Desktop and Server edition. Sometimes it is necessary to know the package that adds files to your system, usually this is important… read more »

How to install OwnCloud 10 on Ubuntu 16.04

OwnCloud is a popular web application used for data synchronization and file sharing. It allows users to easily manage their files, contacts, calendars, to-do lists and more, making it a great alternative to the popular Google Drive, Dropbox, iCloud and other cloud platforms. OwnCloud is cross-platform and supports all popular operating systems, but this article… read more »