btrfs

On ubuntu, install it with

To format a partition in btrfs, run

To mount, use

Since we don’t create any partition inside /dev/sdc, we just use sdc instead of normal sdc1.

I tried with /dev/sdc1, but did not work.

MySQL

MySQL Installation

MySQL User Management

MySQL Optimize

MySQL Backup/Restore

MySQL GUI

MySQL Errors

Reset MySQL root Password

Reset MySQL 5.7 root password on Ubuntu 16.04

To reset MySQL root password, stop MySQL

Start MySQL with

Start another terminal, login to MySQL as root

Run following commands to change password.

Now you need to kill running MySQL processes and start MySQL as normal.

softaculous

To install softaculos, run

You need to enable ioncube, this can be done in WHM > Tweek Settings

Point Domain to Heroku App

To point a domain to heroku application, first add a domain to heroku application under Your Application > Settings.

Once domain is added, you will see DNS record like

You can login to your domain/DNS provider, add a CNAME record for www and point to the heroku domain provided.

Naked Domain

For domains with out www, you cant point to a CNAME. If your domain provider have option for URL forwarding, you need to forward the URL to http://www.yourdomain.com

If you don’t have one, you may need to get a cheap web hosting and set forwarding for naked domain using .htaccess

Cpanel Server

To update cpanel server license, run

Example

Cpanel New Server Setup

Cpanel Tips

Install Modules

Errors

See Hosting Control Panel

zypper install

zypper

zypper command is used for package management in OpenSUSE.

To update your system, run

Install a Software

Example

zypper install

Finding Package

To find package that provide the software need, you can use

Example

SUSE | openSUSE