How To

Configure Symfony 4 with PostgreSQL on Ubuntu or Mac

How to configure Symfony 4 with PostgreSQL on Ubuntu or Mac OS Install PostgreSQL on Ubuntu   Easily install PostgreSQL from the command line with apt-get. sudo apt-get update sudo apt-get install postgresql postgresql-contrib Install PostgreSQL on Mac    On Mac OS, go to your terminal and use brew as shown here. brew install postgresql postgres -V… Read more Configure Symfony 4 with PostgreSQL on Ubuntu or Mac

AWS Elastic Beanstalk [Resolved]: “… not authorized to perform: iam:CreateServiceLinkedRole on resource …”

How to resolve the Elastic Beanstalk Error  not authorized to perform CreateServiceLinkedRole error ERROR Creating load balancer failed Reason: API: elasticloadbalancing:CreateLoadBalancer User: arn:aws:iam::840750379902:user/eb_cli is not authorized to perform: iam:CreateServiceLinkedRole on resource: arn:aws:iam::840750379902:role/aws-service-role/elasticloadbalancing.amazonaws.com/AWSServiceRoleForElasticLoadBalancing Resolved by adding the following inline policy to the group the user was attached to via IAM : { “Version”: “2012-10-17”, “Statement”: [… Read more AWS Elastic Beanstalk [Resolved]: “… not authorized to perform: iam:CreateServiceLinkedRole on resource …”

How to Install Mono and Run KeePass.exe on Mac

Do not install with HomeBrew. HomeBrew has issues with mono and when a thread was opened to address the issues homebrew monitor closed the thread without resolving the issue saying he did not like the tone of the thread. After Installing Mono via this download link from the official Mono site, mono may be used… Read more How to Install Mono and Run KeePass.exe on Mac

How to set up ubuntu secure ssh login (AWS & Digital Ocean)

Ubuntu Initial Setup: setup ubuntu secure ssh login on digitalocean or Amazon Web Services EC2 instance Download PDF:  Download Secure Login Cheat Sheet PDF This post is a “cut to the chase”, “gitter dun” list of things to do for initial setup of an ubuntu server. To gain a deeper understanding of the process of securing… Read more How to set up ubuntu secure ssh login (AWS & Digital Ocean)

How to use multiple ssh keys for different accounts

I wanted to have multiple rsa keys for various different hosts to help prevent hidden connection issues. Issues may arises when an rsa key is changed on one host that may have been used on another host effectively severing the connection without your knowledge. By having different rsa keys when dealing with a host that… Read more How to use multiple ssh keys for different accounts

How To Create a Password Hash with Python passlib

Create a password hash with python passlib A quick and easy way to create a password hash is with python passlib. Install passlib with pip like this: sudo pip install passlib Then, run the command below. Of course, you will replace the text “myplaintextpassword” with YOUR OWN plain text password, right? python -c “from passlib.hash… Read more How To Create a Password Hash with Python passlib

How to (where to) Create an Ansible Configure File

Ansible Configuration File As a default, Ansible expects to find files in a certain place. Some of these files may not suit your needs. To configure ansible to better suit your needs, use the ansible configuration file. There are at least 2 ways to do this. You can create a global configuration file by creating… Read more How to (where to) Create an Ansible Configure File