Configurate HTTP Proxy Server for Ubuntu

Edit ~/.bashrc

http_proxy=http://yourproxyaddress:prosyport
export http_proxy

It the proxy server requires login, using the following configuration

http_proxy=http://username:password@yourproxyaddress:proxyprot
export http_proxy
Read More

Install Linux On A Chromebook

Create OS Recovery Media

  1. Insert a USB stick 4GB or greater
  2. Install Chromebook Recovery Utility extension for chrome browser
  3. Launch Chromebook Recovery Utility and follow the guide to create OS Recovery Media
Read More

Move Wordpress to new server with new domain

  1. Backup all file system
  2. Backup database
  3. Replace old domain to new domain in backup database file
  4. If the home directory is different on new server, we need to replace the home directory value in database file as well. Also we need to use grep to find hardcode in backup files and fix it.
Read More

Fix Github pages issues

  • Error: GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
    1. Create personal access token on Github
    2. Add the following code in .bash_profile
        export JEKYLL_GITHUB_TOKEN=<your token here>
      
    3. Run following commond or Logout and logon again.
        . ~/.bash_profile
      
Read More

NoSQL Databases

Types of NoSQL Databases

  • Document store types ( MongoDB and CouchDB)
  • Key-Value store types ( Redis and Volgemort)
  • Column store types ( Cassandra)
  • Graph store types ( Neo4j and Giraph)
Read More

Run Docker inside LXD

To run Docker inside LXD, we need to change the security.nesting as true.

lxc launch ubuntu-daily:16.04 docker -c security.nesting=true

or

lxc config set docker security.nesting true
lxc restart docker
Read More