How to install git-lfs and epel on Amazon Linux 2

Visits: 10310Amazon Linux 2 with Git-lfs Amazon Linux offers some pre-installed extras, Like on the fly volume extension. Amazon Linux is great if you don’t have a really complicated stack. Sometimes the minimalism is too much. But installing some non-standard stuff is possible. For instance our simple project needs to work with large files stored …

Error establishing a database connection AWS EC2 WordPress MYSQL

Visits: 18106Error 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 …

HMS Backup Script – hMailServer forum

Visits: 4558 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. …

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

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

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

Visits: 2722To 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

Visits: 5605To 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 

Visits: 2405How 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 …

Receiving Email with Amazon SES – Amazon Simple Email Service

Visits: 1369The next project is to setup servers that receive email via Amazon SES. The following links are a start. Also see: How to implement inbound email on Amazon AWS SES? – Stack Overflow Source: Receiving Email with Amazon SES – Amazon Simple Email Service https://docs.aws.amazon.com/cli/latest/reference/ses/index.html Also see: https://medium.com/@ashan.fernando/forwarding-emails-to-your-inbox-using-amazon-ses-2d261d60e417 https://stackoverflow.com/questions/20205039/how-to-implement-inbound-email-on-amazon-aws?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa https://github.com/arithmetric/aws-lambda-ses-forwarder The following link looks like …

How to clean up mysql installation on centos / Amazon Linux ? I want to make simpler servers available for my Charming Customers

Visits: 579 Some time we faces issues with MySQL installation on Linux machine. If we simply remove MySQL packages and re-install doesn’t fixes the issue, in that case old settings may still exists on server which again affects new install. In that case first uninstall MySQL completely from system and erase all settings of old …

Can’t delete IAM role because policies are attached · Harder to remove IAM than to create it

Visits: 717I am trying to uninstall a role , policy and profile in AWS command line. I made a script that creates the role, etc but need to make an uninstall script. ~/.local/bin/aws iam create-role –role-name CharmingMachineBashRole –assume-role-policy-document file:///usr/local/sbin/AllowSecGroupCreate.json ~/.local/bin/aws iam attach-role-policy –role-name CharmingMachineBashRole –policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess ~/.local/bin/aws iam create-instance-profile –instance-profile-name CharmingMachineBash-Instance-Profile ~/.local/bin/aws iam add-role-to-instance-profile –role-name …

RoundCube with Mail Server on Windows – HmailServer Superior to GSuite, Office 365 or Yahoo Mail

Visits: 4840RoundCube with Mail Server on Windows is a simple solution for your organization’s Email needs Switch from Gsuite to Charming Full Email Server HmailServer with WebMail Why would you want to switch from Gsuite, Yahoo mail, Office 365, etc. to your own cloud host using a Pre-configured HmailServer  with Roundcube? Gsuite is difficult to …