KDE will automatically start from where the user left off in their previous session. KDE, for example, keeps track of open applications and their window positioning when a user …
Read More
Git is by far the most widely used distributed version control system while being free and open source. git client is not installed by default in the desktop variants …
Read More
Naked domain (also called bare or non-www domain) is a domain name without the preceding www. Non-www domain is usually preferred because it's shorter. However, the www domain is …
Read More
Hotlinking, often referred to as bandwidth theft, happens when other websites directly link to images or other media files hosted on your server. This can lead to increased server …
Read More
Hotlinking, often referred to as bandwidth theft, happens when other websites directly link to images or other media files hosted on your server. This can lead to increased server …
Read More
To extract a tar.gz file, the most basic syntax is as the following;
$ tar xvf filename.tar.gz
The command will extract the file to the current working directory. Current versions of the tar program doesn’t require the -z switch, as it auto detects the file format and extract accordingly.
To extract in verbose mode, and to a directory called /target, the following is the syntax;
$ tar xvf filename.tar.gz -C /target
Git
is a by far the most widely used distributed version control system while being free and open source.
Despite the popularity, it’s not installed by default in Ubuntu
. You can install the program by following these steps;
apt
‘s package list
$ sudo apt -y update
git-core
package
$ sudo apt -y install git-core
git
from the command line
$ git usage: git [--version] [--help] [-C <path>] [-c name=value] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p | --paginate | --no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] <command> [<args>] These are common Git commands used in various situations: start a working area (see also: git help tutorial) clone Clone a repository into a new directory init Create an empty Git repository or reinitialize an existing one ------ snipped ------
If you prefer to use GUI-based Git
client, you can choose any of the following packages to install via apt
;
You can add or remove passphrase for your SSH
private keys after creating your key pairs without creating a new key pair by using any of the following methods;
ssh-keygen
$ ssh-keygen -p Enter file in which the key is (/home/user/.ssh/id_rsa): Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved with the new passphrase.
ssh-keygen
$ ssh-keygen -p -P old_passphrase -N new_passphrase -f /home/user/.ssh/id_rsa Your identification has been saved with the new passphrase.
openssl
$ openssl rsa -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa_new Enter pass phrase for /home/user/.ssh/id_rsa: writing RSA key
You will get the below error when logging in to phpMyAdmin
without password even if your actual MySQL
account itself is passwordless. This is because phpMyAdmin
is normally configured to disable passwordless login due to security reasons.
Login without a password is forbidden by configuration (see AllowNoPassword)
To enable passwordless MySQL
login in phpMyAdmin
, you’ll need to set AllowNoPassword
option in phpMyAdmin
‘s configuration to TRUE
.
To enable the option, uncomment or add the following line;
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
Depending on distributions, there could be multiple occurrences of that particular line. Ubuntu
for example has the following 2 lines;
if (!empty($dbname)) { // other configuration options $cfg['Servers'][$i]['AllowNoPassword'] = TRUE; // it should be placed before the following line $i++; } // other configuration options $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
A virtual optical device is by default attached to the virtual machines in VirtualBox. You can insert a disk image into the optical drive to install an application or …
Read More