How to show excerpt instead of full post in Twenty Seventeen? – WordPress Information Center

Hits: 5089The directions at the link below were great. I am seeking employment and the employers to see how they will benefit from my vast knowledge!!! The standard twentyseventeen WordPress theme only shows the entire article, even when you chose excerpts. The theme editor didnt work correctly. This is what I did: I made a …

How to get a Shell Prompt from multiple servers and run commands on them ? Clush

Hits: 859 When you have  a bunch of servers that are configured the same and need to run the same task on them you will need a tool that does that. There are several Open Source tools. I was asked to write such a script but quickly fell upon several really popular scripts. The perfect …

Turn Monolith server of LAMP stack using php-fpm that also uses MEAN stack into microservices

Hits: 2757 The project is to make microservices in place of a monolithic nodejs application stack. Apache Web Server, php-fpm, nodejs application server with mongodb, mysql backend. This got divided into 2 seperate projects, of LAMP and MEAN stack. It can be tweaked to have the php-fpm LAMP read/Write from the MongoDB Database and to have …

Check out my new repository project. CharmingSteve/Centos-docker-tomcat-mongo-pythong

Hits: 895 The project puts 3 applications inside a single Docker Container. These are MongoDB, Tomcat and Python. The first 2 usually conflict with standard containers that usually run one of them in the “foreground” which only one can do. Official containers have just one. Centos incorporated SystemD into its official container, but it’s a …

Binary log error in mysql – put your configs under [mysqld] not [mysqld_safe]- Stack Overflow

Hits: 652When I am trying to check binary log: SHOW BINARY LOGS; I get this error: ERROR 1381 (HY000): You are not using binary logging. How to resolve this? Can anybody help? Remove section [mysqld_safe] and replace with [mysqld]. It works for me. I had placed new config data under mysqld_safe, which is wrong. I …

Amazon route53 add geo based A record using python boto3 library | {Fetch,Decode,Execute & Share}

Hits: 880The following script looks just up my alley, as I am working on a python script to automate setting up servers around the world so that clients get served from a local server.   import boto3 client = boto3.client(‘route53’, aws_access_key_id=”AWS_KEY”, aws_secret_access_key=”AWS_SEC_KEY”) hostedZoneId = ‘HOSTED_ZONE_ID’ ip= ‘123.123.123.123’ if aws_region == “US”:     #US is my default …

Where to start? Scaling PHP applications on AWS –  CI CD too

Hits: 316This is an interesting read about AutoScaling in AWS using Autoscale and Load Balancer. It has some discussions about How to do this via Continuous Integration and Continuous Delivery (ci/cd) Here’s a rough approach to scaling any stateless app on AWS: Run the app in an Auto Scaling Group (ASG). An ASG makes it easy …

How to Install and use Lsyncd on CentOS 7 / RHEL 7 / Amazon Linux

Hits: 2508To install lsync on Amazon Linux fist add EPEL repositories: sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm also see: http://www.marcburrows.com/using-lsyncd-with-aws/ Allow the Master Server to connect to the slave server without a password On the master server, log in through putty and run the following: ssh-keygen -t rsa You will get asked to enter the file in which …

Configure a DNS record set change-resource-record-sets — AWS CLI 1.15.35 Command Reference

Hits: 5447To list your resources aws route53 list-hosted-zones aws route53 list-resource-record-sets –hosted-zone-id BLABLALA –query “ResourceRecordSets[?Name == ‘example.domain.’]” Use this output as the base for rebuilding the input Json file. You can write a Jason File to input into this aws route53 change-resource-record-sets –cli-input-json –cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the …

Setup Hmailserver  with ssl works with Outlook 2016 but not with Roundcube 

Hits: 2128How to generate custom self-signed SSL certificates and apply it to Dovecot – Plesk Help Center, producing the certs for HmailServer worked using these directions for OpenSSl for windows. http://slproweb.com/products/Win32OpenSSL.html cd into install dir c:\openssl-win32\bin use .\ before each command.   I followed Generate root private key: # openssl genrsa -out rootCA.key 2048 Generate …