Change default language – Windows 10 Bash
sudo apt-get install language-pack-en language-pack-en-base manpages sudo update-locale LANG=en_US.UTF8
sudo apt-get install language-pack-en language-pack-en-base manpages sudo update-locale LANG=en_US.UTF8
Introduction This tutorial will show you how to set up a TLS/SSL certificate from Let’s Encrypt on an Ubuntu 14.04 server running Apache as a web server. We will also cover how to automate the certificate renewal process using a…
1. To uninstall the Linux SubSystem in Windows Right-click command prompt (admin) lxrun /uninstall /full type "y" to continue: y 2. To reinstall the Linux SubSystem in windows (Close command prompt, if open) Right-click command prompt (admin) lxrun /install /y
To rebuild your /etc/apt/sources.list go to https://repogen.simplylinux.ch/generate.php
Have you ever wanted to shrink an EC2 volume? I tried several ways and this is the only one worked for me. In my case, I wanted to shrink a 30GB volume down to 8GB. Make sure you have a…
I cannot find any Ubuntu PPA that has latest S3FS, so we will need to compile it from source to have latest version sudo apt-get install build-essential git libfuse-dev libcurl4-openssl-dev libxml2-dev mime-support automake libtool sudo apt-get install pkg-config libssl-dev git…
USE the SCP protocol Test connecting with WINSCP using using the SCP protocol and the bitnami (low priviledge user) and your private key. On the Advanced tab of WINSCP specify the Shell to be sudo su- Use the SFTP protocol…
https://docs.phpmyadmin.net/en/latest/setup.html#setup_script
You can check or run fsck on /dev/xvda1 using the following method on Ubuntu or Debian Linux based cloud server. The fsck command is used check and repair a Linux filesystem Step 1 – Force fsck Type the following command to…
Start an Ubuntu HVM linux, any version, new Start an Ubuntu / with my existing AMI / PVM linux, and install grub packages on them: apt-get install grub-pc grub-pc-bin grub-legacy-ec2 grub-gfxpayload-lists Stop PVM linux Detach root (/dev/sda1) partition at PVM…
Ever since WordPress version 2.6 you can actually move your wp-content directory to a different location. The wp-content directory will store all your theme files, plugin files and images. Why Move The wp-content Folder The best reason to move the…
Grunt is a Javascript task runner that can be used to compile Sass, run JSHint, or run many other plugins. It depends on theNode.js package manager, npm. If you use the standard Ubuntu Trusty Tahr repository to install nodejs/npm, you…
sudo apt-get install nodejs installs nodejs sudo apt-get install npm installs npm sudo npm install bower -g installs bower via npm
http://stackoverflow.com/questions/18236838/explain-htaccess-rules
Moving a Root install to its own directory The process to move WordPress into its own directory is as follows: Create the new location for the core WordPress files to be stored (we will use /wordpress in our examples). (On…
transfer files setup permissions as follows chown -R www-data:www-data /var/www/html find /var/www/html/ -type f -exec chmod 664 {} + find /var/www/html/ -type d -exec chmod 755 {} + transfer database confirm that wp-config.php hostname and database names are correct edit…
Recursively list all hidden files and directories on Linux/Unix The basic syntax is as follows: find /dir/to/search/ -name ".*" -print OR find /dir/to/search/ -name ".*" -ls OR search only hidden files: find /dir/to/search/ -type f -iname ".*" -ls OR search…
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu