Snippets

How To Troubleshoot Socket Errors in MySQL – Ubuntu

MySQL manages connections to the database server through the use of a socket file, a special kind of file that facilitates…

5 years ago

How to remove .html, .php, etc (extension) from URL?

To remove the .html extension from your urls, you can use the following code in root/htaccess : [crayon-662eff6c52e98742485022/] NOTE: If…

5 years ago

Ubuntu with Apache2: Installing and Configuring Your SSL Certificate

Use free/paid SSL certificates https://www.sslforfree.com Enable SSL Module Replace 'default-ssl' with the real site name you set up in /etc/apache2/sites-available/. sudo…

5 years ago

Create zip archive excluding specific Files & Directories

Create archive of all files under public_html directory ignoring all files and folders including text backup in there named [crayon-662eff6c5318c911822184/]…

6 years ago

how to use sudo command to install .tar.gz?

To install some file *.tar.gz, you basically would do: Open a console, and go to the directory where the file…

6 years ago

Change ownership of the directory in ubuntu

The chown command has the following syntax: [crayon-662eff6c533cd254620808/] So in your example command it is your primary group name you need to…

6 years ago

failed to retrieve share list from server connection refused ubuntu 18.04

How to Save: To save in nano use "CTRL-O", then "CTRL-X". Tip: Replacing sudo nano with gksudo gedit gives you a nice graphical editor. [crayon-662eff6c53539766121932/] And…

6 years ago

How to Fix ‘Failed to Retrieve Share List from Server’ in Ubuntu 12.04 / 11.10 when File Sharing with Windows

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below…

6 years ago

How To Change Your PHP Settings on Ubuntu 14.04 (Increase upload size in your php.ini)

You can review the live PHP configuration by placing a page with a phpinfo function along with your website files. To create…

6 years ago

MySQL Server Installed Without Password For Root On Ubuntu 17.10 / 18.04

Have you noticed MySQL server is now installed on Ubuntu 17.10 and 18.04 without root passwords? The root user can…

6 years ago