How to Convert PPK to PEM File using Command

By following these simple 4 steps you will be able to convert ppk file into pem file using Ubuntu. Step 1 – First of all, install the putty tools on your Linux system using below command. sudo apt-get install putty-tools Step 2 – Now, convert the ppk file to pem file using puttygen command line tool. puttygen […]

Read More

PHPMYADMIN ./libraries/sql.lib.php#613 count(): bug

Phpmyadmin [sql.lib.php] BUG on Ubuntu 18.04 In most of phpmyadmin section you are experiencing the sql.lib.php line number 614. This error message shows everytime when you fetch data. It seems that there is some syntax error in phpmyadmin lib file. Here it is how can we remove it.   couse of phpmyadmin’s library try to […]

Read More

Add Database table on WordPress Activation

It is a good practice to create new table for your plugin when plugin is activated. register_activation_hook is used to fire a custom function when a plugin is acttivated. So here is a simple function which will trigger when plugin is get activated. function create_user_table() { global$wpdb; $charset_collate = $wpdb->get_charset_collate(); $table = $wpdb->prefix.’users’; $sql = […]

Read More

How to Install MongoDB on Ubuntu 18.04

Introduction MongoDB is a free and open-source NoSQL document database used commonly in modern web applications. In this tutorial you’ll install MongoDB, manage its service, and optionally enable remote access. Prerequisites To follow this tutorial, you will need: One Ubuntu 18.04 server set up   Step 1 — Installing MongoDB Ubuntu’s official package repositories include an […]

Read More