Home

Installing Mapserver on Ubuntu

Created on: 8/30/17 Last update: 6/7/19 Installing from Package Install required packages: sudo apt-get install apache2 apache2-bin apache2-utils cgi-mapserver mapserver-bin mapserver-doc libmapscript-perl python-mapscript ruby-mapscript Check installation: mapserv -v Enable cgi and fastcgi: sudo a2enmod cgi fcgid Configure /etc/apac...

Read more

Installing ESMF on Ubuntu

Created on: 6/4/19 Last update: 6/4/19 Installing Dependencies Essential packages: sudo apt-get install openssh-client openssh-server OpenMPI Installing OpenMPI 1: sudo apt-get install openmpi-bin openmpi-common libopenmpi1.10 libopenmpi-dev GCC Install GNU C complier 2: sudo apt-get install build-essential Verify: whereis gcc ma...

Read more

Homebrew Cheatsheet

Created on: 5/12/19 Last update: 5/12/19 Installing Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Update brew: brew update Packages Install Packages Examples: brew install wget brew cask install iterm2 Install from Git: https://github.com/Homebrew/homebrew-core/tree/maste...

Read more

Deploying PyWPS on Linux

Created on: 4/18/19 Last update: 4/18/19 Clone the latest PyWPS repository: git clone https://github.com/geopython/pywps/ Install required packages: sudo apt-get install git python-gdal sudo pip install -e git+https://github.com/geopython/pywps.git@master#egg=pywps-dev Apache WSGI: sudo apt-get install libapache2-mod-wsgi sudo a2enmod w...

Read more

Cheatsheet of Git Commands

Created on: 4/14/19 Last update: 5/12/19 Commit Remove last commit Withdraw the last commit: git rebase -i HEAD~2 Branch Switch between branches List all branches: git branch -a Switch to the target branch: git checkout <BRANCH> Create new branch Create a branch on local host and switch to it: git pull git checkout -b <...

Read more

Installing QGIS on MacOS using Homebrew

Created on: 4/3/19 Last update: 4/3/19 Installing Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Check the latest installation command at: https://brew.sh/ Installing QGIS Add the OSGeo tap: brew tap osgeo/osgeo4mac Install the latest version or the LTR version of QGIS: brew ...

Read more

Frequently Used Linux Commands

Created on: 4/3/19 Last update: 4/3/19 Manage Users Add User Add a new user with username: adduser [USERNAME] Add the user to the sudo group: usermod -aG sudo [USERNAME] Verify: su - [USERNAME] sudo su Remove User userdel -r mynewuser Commands list List and sort by date: ll -halt List with file sizes in MB: ll --block-size=...

Read more