DeveloperBreeze

Server Development Tutorials, Guides & Insights

Unlock 4+ expert-curated server tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your server skills on DeveloperBreeze.

How to Reset the MySQL Root Password Using DROP USER

Tutorial October 03, 2024
bash

  • You need root (superuser) access to your VPS.
  • You must be able to access your server via SSH.

Before proceeding, you need to stop the MySQL service to prevent any conflicts while resetting the password.

How to view free space on a Linux server

Code August 11, 2024
bash

  • df: This command stands for "disk free" and reports the amount of disk space used and available on Linux filesystems.
  • -h: This option stands for "human-readable" format, which makes the output easier to read by showing sizes in KB, MB, GB, etc.

When you run the df -h command, you might see output similar to the following:

Finding the Top 10 Biggest Files on an Ubuntu Server

Tutorial August 11, 2024
bash

sudo du -ah /path/to/directory | sort -rh | head -n 10

This command lists the largest files and directories in the specified path.

Simple WebSocket Server using 'ws' library

Code January 26, 2024
javascript

No preview available for this content.