Server

Dedicated Server Cpanel Server Setup Dedicated Server Providers Unmetered Dedicated Server Providers Server Monitoring Server Benchmark Server Load Info Adding Backup Disk on a Linux Server How to find CPU of a Linux Server Local and remote exploit How to find Memory (RAM) available on a Linux Server […]

Read More…

Apache Location

To only allow requests from a specific IP to a location, use

Add custom headers based on location

[…]

Read More…

Apache Proxy

To proxy request in Apache

[…]

Read More…

How to Delete Website (Virtual Server) in Virtualmin

Delete website in virtualmin

In the Virtualmin Hosting control panel, websites are called Virtual Server. To delete a website, click on the Virtualmin tab. From the dropdown menu, select the website you need to delete. On the left menu, click on “Disable and Delete’. Then click on “Delete Virtual Server” Link.

It will ask for confirmation. Click on […]

Read More…

MySQL ERROR 1114 (HY000) at line 2137: The table ‘X’ is full

MySQL MariaDB

When restoring a MySQL database, I get the following error

How to fix ERROR 1114 (HY000) table is full? First, check if the disk on the server is full.

In my case server disk was not full. Next try increasing the value for variables tmp_table_size and max_heap_table_size. Edit file

Under [mysqld] section, […]

Read More…

PHP Script to verify private key matches SSL certificate?

OpenSSL command can be used to verify if an SSL certificate matches a private key file. You need to find the checksum for the SSL certificate and Private key, if both checksums are the same, then the key matches. To make this process easier, I created a PHP script to verify if the SSL certificate […]

Read More…

How to display /proc/*/environ file in separate lines?

Linux

environ is a file located in /proc/PID/environ, it shows environment variables for a process. If you run “cat environ”, you will get a long string. To make it readable, you can use sed command.

Example […]

Read More…

How to enable SSL/TLS for Express.js application

For node.js applications, you can enable SSL on the application side or using Nginx or Apache running as a reverse proxy. To enable SSL for a node.js express application, use the following code.

See node.js […]

Read More…

Watermark video using ffmpeg

To watermark video using FFmpeg, run

In the above command replace

See ffmpeg […]

Read More…

Lego – LetsEncrypt client

Lego is a Let’s Encrypt client and ACME library written in Go. https://github.com/go-acme/lego Install Lego To install go to the release page, download the latest version.

Create SSL certificate To create an SSL certificate, run

Renew SSL certificate To renew the SSL certificate, stop the webserver

Now run

Start webserver after […]

Read More…