Hits: 696The 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: 165This 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 …
Continue reading “Where to start? Scaling PHP applications on AWS – CI CD too”
How to manage subdomains in different AWS accounts with Route53
Hits: 548My Goal this time is to make a script for AWS Marketplace that creates EC2 instances with Apache Httpd installed that are launched in different regions, and to set route53 to use a geo-location to open each server, also to sync one directory for content that will be universal and other that aren’t synced …
Continue reading “How to manage subdomains in different AWS accounts with Route53”
Postfix SMTP Authentication – On The Secure Port Only
Hits: 264Paste 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 …
Continue reading “Postfix SMTP Authentication – On The Secure Port Only”
SAN Versus NAS: What’s the Difference and What Do You Need? – Interview test question
Hits: 202I 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 …
Git – Basic Branching and Merging
Hits: 438 Be organized with your git, especially if you have worldwide contributers. git checkout -b iss53 Switched to a new branch “iss53” This is shorthand for: $ git branch iss53 $ git checkout iss53 Figure 19. Creating a new branch pointer You work on your website and do some commits. Doing so moves the iss53 branch …
knife.rb explained
Hits: 231source: 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 …
Dockerize an SSH service | Docker Documentation
Hits: 487I want to make a fancy environment for testing out CI/CD methods, but don’t want a larger cloud bill next month. SO I fired up an ancient linux server old desktop. to begin with I want to do stuff with jenkins ssh slave, so I need an ssh server, this worked out of the …
Continue reading “Dockerize an SSH service | Docker Documentation”
Customer Portal – Password Reset sends ****** — Vtiger
Hits: 530I am not sure if these instructions work for Vtiger 7 or not, will try and maybe update here Hi please check this for vt 6.5 password reset problem: in file soap/customerportal.php line 1140 find this code: ********************************** if (!empty($adb->query_result($res, 0, ‘cryptmode’))) { $password = ‘*****’; // TODO – we need to send link …
Continue reading “Customer Portal – Password Reset sends ****** — Vtiger”
Jenkins and Chef: Infrastructure CI and Automated Deployment
Hits: 399Remember for your interview and even more important to keep that job! Jenkins does infrastructure as code Chef as well as puppet do configuration management Git is a Source Code Management (SCM) system not software configuration management system https://github.com/gchq/BoilingFrogs/issues/5 So you need all 3 Manage your code updates, even scripts in Github. Git remember …
Continue reading “Jenkins and Chef: Infrastructure CI and Automated Deployment”
Who knew ? #Email Client Market Share and Popularity – April 2018 – #Outlook is distant 5th
Hits: 719Outlook refuses to connect to Linux Dovecot / Postfix (Linux which MS claims to now love) I will now test my servers for usefulness on Androids and Iphones and webmail that I configure!!!1 Way toooooooo many wasted nights trying to get it to work. Just let it go. #1 …
Set up a Postfix Mail Server With Dovecot and Squirrelmail on Ubuntu 16.04 – 1&1
Hits: 1286Simple setup for Postfix without MySql. I am following directions from link at the end. Firewall Access You will need to set your firewall(s) to allow access to the following ports: SMTP: 25 POP3: 110 IMAP: 143 SMTP Secure: 465 MSA: 587 IMAP Secure: 993 POP3 Secure: 995 … Configure Postfix After the installation is complete, run the command to configure …
Continue reading “Set up a Postfix Mail Server With Dovecot and Squirrelmail on Ubuntu 16.04 – 1&1”
WooCommerce Shortcodes Comprehensive Guide Product Categories Product Categories
Hits: 278 Product Categories Product Categories allow you to add product categories loop and output with this shortcode: [product_category category=”one”]. For the purpose of categories section, here are seven more attributes you can apply to this shortcode: ‘number‘ => ‘null‘, – This shortcode represent the number of categories. ‘orderby‘ => ‘name‘, – This shortcode represent the order, “name” …
Continue reading “WooCommerce Shortcodes Comprehensive Guide Product Categories Product Categories “