This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Steps to Install PostgresSQL 12 with PostGIS 3.1.5 on AmazonLinux2 ##### | |
# Install packages # | |
#################### | |
$> sudo amazon-linux-extras install -y postgresql12 vim epel | |
$> sudo yum-config-manager --enable epel -y | |
$> sudo yum update -y | |
$> sudo yum install -y make automake gcc gcc-c++ libcurl-devel proj-devel pcre-devel autoconf automake libxml2-devel git cmake libtool libtiff-devel | |
$> sudo yum install -y postgresql-server postgresql-devel postgresql-server-devel postgresql-contrib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. $> brew install python3 | |
2. add to .zshrc and/or .bashrc: | |
export PATH=$HOME/Library/Python/3.7/bin:$PATH | |
3. $> pip3 install --user pipenv | |
4. $> pip3 install virtualenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install build-essential module-assistant | |
sudo m-a prepare | |
cd /media/<username>/VBOXADDITIONS_5.0.6_103037/ | |
sudo ./VBoxLinuxAdditions.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If builds of PostgreSQL 9 are failing and you have version 8.x installed, | |
you may need to remove the previous version first. See: | |
https://github.com/Homebrew/homebrew/issues/2510 | |
To migrate existing data from a previous major version (pre-9.4) of PostgreSQL, see: | |
https://www.postgresql.org/docs/9.4/static/upgrading.html | |
To have launchd start postgresql at login: | |
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents | |
Then to load postgresql now: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A CA file has been bootstrapped using certificates from the system | |
keychain. To add additional certificates, place .pem files in | |
/usr/local/etc/openssl/certs | |
and run | |
/usr/local/opt/openssl/bin/c_rehash | |
This formula is keg-only, which means it was not symlinked into /usr/local. | |
Mac OS X already provides this software and installing another version in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System -> Preferences -> Keyboard | |
Under Layouts tab, choose the appropriate Keyboard model | |
Click 'Layout Options...' button | |
Expand Alt/Win key behavior | |
Choose "Control is mapped to Win keys (and the usual Ctrl keys) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec su - <username> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ubuntu: | |
1) wget https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.1.3-1_amd64.deb | |
2) dpkg -i chef-server*.deb | |
3) sudo chef-server-ctl reconfigure | |
4) sudo chef-server-ctl test | |
CentOS: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Download cntlm rpm package from http://sourceforge.net/projects/cntlm/files/cntlm/ | |
2) Login as root | |
3) Run command: | |
$ rpm -ivh cntlm-*.rpm | |
4a) Obtain password hash for the configuration file in step 4b (do not put plaintext password in configuration) | |
$ cntlm -H -d <domain> -u <username> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These steps have worked with Ubuntu 14.04, Kubuntu 14.04 and Lubuntu 14.04 | |
1) # sudo apt-get update | |
2) # sudo apt-get upgrade | |
3) # sudo apt-get install linux-headers-generic | |
4) # sudo apt-get install build-essential dkms |
NewerOlder