Error establishing a database connection AWS EC2 WordPress MYSQL

Visits: 18046Error establishing a database connection while using WordPress installed on AWS EC2 Using the Free tier EC2 server on Amazon with an active wordpress server requires a bit of work, namely that you need a script that will restart the mysqld service. However, it really help to add a swap file, not installed by default …

Fixing Authorization Failure in Ubuntu VM AWS CLI by Synchronizing the Clock

Visits: 3476AWS EC2 CLI “AWS was not able to validate the provided access credentials” I am just trying to run my aws cli from a VM that I keep on a disk-on-key. I added the credentials several times, even creating new accounts. After a few hours of growing perturbance and desire for violence.   Be …

I’ve had a mild curiosity about Docker’s silly container names

Visits: 3153Here is the source file that is used to create docker’s silly container names. Source: moby/names-generator.go at master · moby/moby The left side has an adjective like “affectionate”, “agitated”, “amazing”, “angry”, “awesome”, “beautiful”, “blissful”, “bold”, “boring”, “brave”, “busy”, The right side show ignorance of special people as it is based on names from notable …

Bash Script that installs curl gets stuck asking to restart services

Visits: 3257Automation is often a lot of work, even just installing curl Ubuntu is a social creature and does not like to be automated as much as you might expect. Very often your automation gets stuck because all of a sudden the folks at Canonical decided that they prefer human interaction. Often Ansible just hangs! …

Run Open Source Openshift OKD on Windows 10 Home with Oracle Virtual Box

Visits: 4599Develop On Openshift on your Windows 10 Laptop As part of our Work we install and configure Openshift. We offer full solutions from installation through the Devops pipeline. I have found that using minishift with VirtualBox to be the easiest Proof of Concept as well as the ability to develop applications and Infrastructure as …

HMS Backup Script – hMailServer forum

Visits: 4476 This is my advice for using SES along side your new Charming Full email server. HmailServer does not currently have a catchall relay smtp function like Postfix or Sendmail in Linux. You can set up Roundcube to send ALL messages via SES with the following settings. Edit C:\inetpub\wwwroot\webmail\config\config.inc.php edit the line $config[‘smtp_server’]  to the following. …

How to password reset Windows Server 2016 AWS EC2 ?

Visits: 1325Prepare your own windows 2016 AMI with a random password for the new copy If you would like to prepare an AMI for yourself with a new password or for the marketplace Run: C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 –Schedule This tells the rebooted or new instance to produce  new password that will be properly encrypted so you can …

How to set up LACP bonding interface on CentOS 7 | Snel.com

Visits: 3392I am installing multiple systems with Linux Bonding and LACP mode 4 which uses IEEE 802.3ad Link Aggregation Policy. In the mean time I am looking at 2 links, as we are using Red Hat 6.9 https://developer.rackspace.com/blog/lacp-bonding-and-linux-configuration/ as well as the following: LACP bonding network interface setup A bonding network interface could be used …

 Introspection of baremetal nodes fails with ‘No hypervisor matching’  when node name used instead of uuid

Visits: 2752Introspection fails due to use of Host Name instead of UUID When I do introspection on baremetal servers that will be used as for Redhat TripleO Openstack 13 (This is the same as RDO Queens)  I start with just one. Before this I import the instackenv.json file with all of the baremetal server details …

Managing port level security in OpenStack 

Visits: 945I am investigating why dpdk doesn’t work inside an instance.   The OpenStack platform, specifically Neutron (the networking component), uses the concepts of “ports” in order to connect the various cloud instances to different networks and the corresponding virtual networking devices like Neutron routers, firewalls etc. The default security on these ports is quite restrictive (and …