Friday, April 26
Shadow

Author: Boredadmin

Change upload file size in phpMyadmin on VestaCP.

Change upload file size in phpMyadmin on VestaCP.

Linux
Change upload file size in phpMyadmin on VestaCP. phpMyAdmin is an open-source and free database administration tool for MySQL and MariaDB. We can do much more database administration from MySQL commands than phpMyAdmin, but it requires advanced knowledge of systems and commands. So, phpMyAdmin is the first choice for database administration and VestaCP uses as a default. I have created the website in VestaCP. While trying to upload the database from phpMyAdmin for the created website, it says the limit is exceeded. I looked into it and the default max file upload size was 2 MiB (2048kiB). See in the image below. Let's change the file upload size or limits from the phpMyAdmin in VestaCP. Login to the VestaCP server, navigate to the Apache directory, and edit the php.ini fil...
Force redirect all websites to HTTPS in VestaCP

Force redirect all websites to HTTPS in VestaCP

Linux
Force redirect all websites to HTTPS in VestaCP Vestacp is one of the most popular, and free web hosting service provider. It uses Apache2 as a back-end and Nginx as a front-end web server. Let's Encrypt is a default SSL / HTTPS certificate provider for vestacp. It is installed as a default package. By default, Vestaacp provides the HTTP only. For the HTTPS, we need to browse manually. This is a step by step guide to solve this issue. Create an HTTPS template for Apache2 and Nginx and forcefully redirect websites to HTTPS. The below image is the default configuration of the vestacp. We can not select any HTTPS template in Nginx and Apache2. In this demo, I am using Ubuntu 18.04. Login to your server and update it. Navigate to the vestacp templates web directory. Download ...
No UEFI-Compatible file system was found (Hyper-V)

No UEFI-Compatible file system was found (Hyper-V)

Windows
No UEFI-Compatible file system was found (Hyper-V) No UEFI-Compatible file system was found. This is the error I have encountered in Hyper-V virtual machine. Legacy BIOS and UEFI are the two methods of the windows to boot. BIOS represents the generation 1 and UEFI represents the generation 2 virtual machines in Hyper-V. let's start to resolve this issue. in the first step, attach OS installation ISO file into the empty CD drive on the problematic virtual machine, click on apply and ok. Before that, if you want step by step video guide please flow this link of YouTube video. Turn on the virtual machine. It should boot from the attached OS installation ISO. If you have encountered a boot problem from the CD drive. Turn it off, move CD drive to the top in the firmware sectio...
Upgrade the Roundcube version to 1.4.4 in VestaCP (Ubuntu).

Upgrade the Roundcube version to 1.4.4 in VestaCP (Ubuntu).

General
Upgrade the Roundcube version to 1.4.4 in VestaCP Roundcube is a popular, free, and open-source web-based email client. Most of the hosting providers and, applications are using it as a default email client. VestaCP is also using the Roundcube as a default. In this post, I am going to show you how to upgrade the Roundcube to version 1.4.4 in VestaCP on Ubuntu OS. At first, Let's check which version of the roundcube is installed by default installation of VestaCP. Roundcube current version I have created the sample data in the roundcube version 1.3.6, to check that data is not corrupted or destroyed after the upgrading. There are some emails in the inbox and sent item. Roundcube inbox and sent item In the first step, Take a backup of the default installation directory ...
How to fix Hyper-V replica broker replication error?

How to fix Hyper-V replica broker replication error?

Windows
How to fix Hyper-V replica broker replication error? While I was testing the replication of the test VM on Hyper-V 2019. Encountered the error that says replication error critical. Then after, I went for the replication health report, I found the error message below. Replication error, critical replication error for the virtual machine 'VM-NAME', and replication is paused for virtual machines. In the next step, I analyzed the event log, from the event viewer, I found the below error message. Hyper-V could not find the virtual machine "VM-NAME" on Hyper-V Replication Broker. I found the solution. The solution is, do not create the additional folder in the root folder of the cluster shared. littleBits confused? Okay, let's go through the step by step to fix the Hyp...
VestaCP upgrade php7.3 in Ubuntu

VestaCP upgrade php7.3 in Ubuntu

Linux
VestaCP upgrade php7.3 in Ubuntu While writing this post VestaCP is using PHP 7.2 default installed. Running Apache2 and Nginx as back-end and frontend. In this post, I'm going to show you, how to upgrade Vestacp to php7.3 in ubuntu. First, Let's start by checking the current version of PHP in VestaCP. # php -v The output will look like this. In my environment, the PHP version is 7.2. PHP 7.2.24-0ubuntu0.18.04.6 (cli) (built: May 26 2020 13:09:11) ( NTS )Copyright (c) 1997-2018 The PHP GroupZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologieswith Zend OPcache v7.2.24-0ubuntu0.18.04.6, Copyright (c) 1999-2018, by Zend Technologies Second option to verify PHP version, Create phpinfo.php file in the root directory of the VestaCP hosted website. Now browse the site...
How to create a user, add a user to sudo group and run sudo command without password in Ubuntu

How to create a user, add a user to sudo group and run sudo command without password in Ubuntu

Linux
How to create a user, add a user to sudo group and run sudo command without password in Ubuntu More than one person should interact with the same system at the same time. As a system administrator, we have the responsibility to manage the system’s users and groups by creating and removing users and assign them to different groups.  In Linux, you should not run the system with root privileges. But, it can also be inconvenient to have to enter the password every time when using sudo. This is a step by step guide to creating users, add users to specific groups, and allow to run sudo command without password.   Create or add a user using adduser command $ sudo adduser demo OR # adduser demo You will be prompted to enter and confirm the password and user detail. create a strong password. It ...
How to configure OpenVPN in PFSense and export clients?

How to configure OpenVPN in PFSense and export clients?

Network
How to configure OpenVPN in PFSense and export clients? VPN is a private virtual network that allows you to create a secure connection network connect other networks over the internet or intranet using multi-layers encryption and certificates. This is a step by step guide to configure OpenVPN and export clients In PFSense. OpenVPN is an Open Source VPN server and client that is supported on a variety of platforms, including pfSense software. It can be used for Site-to-Site or Remote Access VPN configurations. OpenVPN can work with shared keys or with a PKI setup for SSL/TLS. Remote Access VPNs may be authenticated locally or using an external authentication source such as RADIUS or LDAP. In this step by step guide, I have divided into 7 parts of this configuration. 1- Install Configure ...