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

Visits: 6730The 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

Visits: 1055 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 …

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

Visits: 1026 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

Visits: 790When 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}

Visits: 8657The 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

Visits: 460This 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 …

Postfix SMTP Authentication – On The Secure Port Only

Visits: 365Paste under mynetworks: ####### smtp auth smtpd_tls_auth_only = no smtp_use_tls = yes smtpd_sasl_auth_enable = yes smtpd_sasl_type = cyrus local_recipient_maps = smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom ######## Then: vi master.cf Paste under smtp: smtps inet …

SAN Versus NAS: What’s the Difference and What Do You Need? – Interview test question

Visits: 318I came home after a test, preparing for the next test. I found that I got a question wrong about storage. I usually do cloud and it’s not on my resume, but still they asked and I failed.   SANs typically utilizes Fibre Channel connectivity, while NAS solutions typically use TCP/IP networks, such as Ethernet. But …

knife.rb explained

Visits: 567source: https://gist.github.com/jtimberman/1718805   # Knife Configuration File. # # This is a Ruby DSL to set configuration parameters for Knife’s # general options. The default location for this file is # ~/.chef/knife.rb. If multiple Chef repositories are used, # per-repository configuration files can be created. A per repository # configuration file must be .chef/knife.rb in …