How To Install Using NVM An alternative to installing Node.js through apt is to use a specially designed tool called nvm, which stands for “Node.js version manager”. Using nvm, you can install multiple, self-contained versions of Node.js which will allow … Continued
Here’s a list off all the Magento 2 extensions required for running PHP7.0 on Ubuntu / Debian (not including mysql or php7). sudo apt-get install php7.0-curl php7.0-gd php7.0-intl php7.0-mcrypt php7.0-soap php7.0-xml php7.0-zip php7.0-json php7.0-xsl php7.0-ImageMagick php7.0-mbstring openssl Assumptions: PHP 7.0 … Continued
How do I compress (tar, zip) a whole directory from the Ubuntu command line? The simplest approach is to use the tar command as follows (syntax of tar command): $ tar -zcvf archive-name.tar.gz directory-name Where, -z : Compress archive using … Continued
For Ubuntu 14.04.1 LTS Usage: usermod [options] LOGIN Options: -c, –comment COMMENT new value of the GECOS field -d, –home HOME_DIR new home directory for the user account -e, –expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE -f, –inactive INACTIVE set … Continued
Use Case Scenario You have just added a new user to your Ubuntu 14.04 web server, but you want to set a specific home directory for this user. For example, you have a contributing web developer and you only want … Continued
Quick Example Command: usermod -a -G group_name user_name Full Instructions How to add an existing user to existing group via ssh terminal on Ubuntu Linux. To add an existing user mike to www-data supplementary/secondary group with usermod command using -a option … Continued
Have you ever been working in terminal, made a typo on a commanded, hit return and got stuck? It’s ok it happens to everyone. If you are running Ubuntu, or really for most terminals and Linux based operating systems simply … Continued
Back up your database from the command line using mysqldump. This works in most Linux based terminals / SSH.
$ mysqldump --opt -u [uname] -p[pass] [dbname] > [backupfile.sql]
[uname] Your database username [pass] The password for your database (note there is no space between -p and the … Continued
Shutdown Ubuntu 12.10 Server from Linux Command Line sudo shutdown -h now The sudo halt command doesn’t work for Ubuntu Servers 12.04 and newer.
It’s very easy. From the terminal use the follwing apt-get command. Then restart apache or nginx, whichever you’re running. I also saw someone post on Stack Overflow that you can just use this command. However, I the first one I … Continued