Posts by ServerOk

openssl

openssl

Check Mail Server Support SSL/TLS Encrypting a file using OpenSSL Convert PFX SSL Certificate Remove SSL private key password Find

Check Mail Server Support SSL/TLS

Check Mail Server Support SSL/TLS

To check if a mail server support SSL/TLS, run Example mail openssl

Allow Passive FTP in Cpanel Server with CSF

Allow Passive FTP in Cpanel Server with CSF

To enable Passive FTP in Cpanel Server running CSF firewall, check the passive ports used in /etc/pure-ftpd.conf As you can

Dedicated Server Providers

Dedicated Server Providers

Here are some dedicated server providers. If you need any recommendations or found a service provider that you think useful,

Call to undefined method mysqli_stmt::get_result()

Call to undefined method mysqli_stmt::get_result()

On a PHP Script i get error It was on a Cpanel Server with PHP mysqli and mysqlnd module enabled.

PostgreSQL

PostgreSQL

PostgreSQL connect to database using psql List all databases in PostgreSQL pg_ctl Creating user in PostgreSQL PostgreSQL Create Database PostgreSQL

docker images

docker images

docker images command list all docker images (blueprints) available on your server.

docker-compose

docker-compose

To run a project Rebuild project and run To stop all containers in the project To see list of containers

Ruby On Rails

Ruby On Rails

To create a ruby on rails project, run Nginx Rails Origin header didn’t match request.base_url

Docker Delete all images

Docker Delete all images

Before you can delete a docker image, you need to delete any container that is based on this image. So

Delete all docker containers

Delete all docker containers

We need to use diff commands to to do this. First lets get list of all containers. This will list

Backup and Restore Docker Image

Backup and Restore Docker Image

To backup docker image, run To restore a container, run Backup and Restore a Docker Container To backup, run To