1. Delete Journal records: journalctl –disk-usage sudo journalctl –rotate sudo journalctl –vacuum-time=2days sudo journalctl –vacuum-size=100M sudo journalctl –vacuum-files=5 sudo -H gedit /etc/systemd/journald.conf systemctl daemon-reload 2. Check for heavy files and then clean: sudo du -a / 2>/dev/null | sort -n -r | head -n 20 sudo apt-get autoremove sudo du -sh /var/cache/apt sudo apt-get autoclean ..
Category : Ubuntu Server
If you have a query that “How to reduce memory usage of MySQL Ubuntu Server” then don’t worry! In just 5 simple steps, you will be able to reduce your Mysql memory usage significantly. Step 1: Open file: /etc/mysql/mysql.conf.d/mysqld.cnf Step 2: Find [mysqld] and just under it, write: performance_schema = 0 Step 3: Restart Mysql ..
sudo apt install git dkms git clone https://github.com/aircrack-ng/rtl8812au.git cd rtl8812au sudo make dkms_inst..
Step 1: Open this file: /etc/php/8.1/fpm/php.ini and make the required changes in it. Step 2: Restart the server: sudo systemctl restart php8.1-f..
While having an online meeting on platforms like Skype, Google Meet, and Zoom, whenever we share our screens it always shows as a black screen with a mouse cursor to other people in the meeting. This is a standard problem with Ubuntu PCs. To fix this problem, open the following file: /etc/gdm3/custom.conf And then simply ..
Case 1: Normal WordPress setup in the root and multisite setup inside a directory in it. For more clarity, https://domain.com => WordPress Single Site Setup https://domain.com/demo => Demo is a folder (subdirectory) and has WordPress multisite setup. For this case, below is the NGINX config file: server { listen 443; server_name domain.com www.domain.com; root /var/www/html; ..
A very simple and straightforward way that worked for me is as follows: Stop apache2. sudo service apache2 stop Uninstall Apache2 and its dependent packages. sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common //or sudo apt-get purge apache2 apache2-utils apache2-bin apache2.2-common Use autoremove option to get rid of other dependencies. sudo apt-get autoremove Check whether there are any configuration ..
Introduction – Install Nginx PHP MySQL on Ubuntu 22.04 “LEMP” stack is a very popular word nowadays and it just means – Linux (Ubuntu comes under this), pronounced as engine-x, hence the E in the acronym NGNIX, MySQL, and PHP. All of these are open-source software and are installed together in order to enable a ..
Introduction – Install Apache PHP MySQL on Ubuntu 22.04 “LAMP” stack is a very popular word nowadays and it just means – Linux (Ubuntu comes under this), Apache, MySQL, and PHP. All of these are open-source software and are installed together in order to enable a web server to host PHP-based web applications and dynamic ..