inline

https://github.com/search?q=leewillis77&type=users – how does this work   https://github.com/leewillis77/wp-wpdotorg-embed   

Published
Categorized as Cloud

Prepare AMI for AWS Marketplace – Reset Linux ec2 Image – delete public keys, etc

When preparing a public AMI for AWS EC2, you need to delete lots of security stuff, like public keys, hosts and history. Run this as ec2-user login to a new session, as even after all of this your commands from this session are only written to the bash_history file when exiting. sudo rm ~/.ssh/authorized_keys /home/ec2-user/.ssh/authorized_keys… Continue reading Prepare AMI for AWS Marketplace – Reset Linux ec2 Image – delete public keys, etc

Published
Categorized as Cloud

Certbot Letsencrypt Certificate for HmailServer Windows svr 2019

Install hmailserver, don’t add your domain name. install winacme Run the following script or as commands in Powershell, maybe as admin. BE SURE to put your OWN DOMAIN name!!!! Easy is superior to following long instructions! You can have this done for you in a pre-installed EC2 AMI image. See it at: AWS Marketplace: Hmailserver… Continue reading Certbot Letsencrypt Certificate for HmailServer Windows svr 2019

Published
Categorized as Cloud

Untitled

https://github.com/montgomery-auber/postfix-containerized/blob/25d7d440223b222a9039dc3d4c1ffb3d752890ee/docker-files/Dockerfile-certbot#L4

Published
Categorized as Cloud

Deleting messages in RoundCube in a new account hosted by HmailServer – Folder not Found

Antique Red Old Vintage Letter Classic Mailbox

Using Roundcube exclusively gives “An Error occurred! Server Error: UID COPY: The folder could not be found” as it doesn’t create the Trash, although it does create a “sent mail” when you send your first email message and drafts if you save a message that you are editing. When you use the Outlook client it creates… Continue reading Deleting messages in RoundCube in a new account hosted by HmailServer – Folder not Found

Published
Categorized as Cloud

Add other admins and allow them to control email domains in Postfix Admin UI

Take control of your email domains and allow others to do the work Postfix Admin UI In the add domain admin you need to allow each domain to be controlled. For security purposes admin privileges are limited. So you need to select like in the picture, when adding the admin. Thank you for using our… Continue reading Add other admins and allow them to control email domains in Postfix Admin UI

Published
Categorized as Cloud

Set Windows Scheduler to reset mongoDB password on first boot

This task is run at every boot, password reset is set before boot, by reset-password-to-prep-mongo-AMI.ps1 Go Windows Scheduler Trigger at startup, the password is only reset if it isn’t already the Instance ID. I have been doing this Windows Scheduler task for Windows Server 2019, Apparently something has changed. DO NOT set the bottom field… Continue reading Set Windows Scheduler to reset mongoDB password on first boot

Published
Categorized as Cloud

Windows Firewall Powershell Command to open ports for Hmailserver

Powershell Command Here is the Powershellcommand to open the ports needed by HmailServer on Windows Server 2019 and others.  Open the Powershell as Administrator. New-NetFirewallRule -DisplayName “Mail Ports HMS” -Direction inbound -Profile Any -Action Allow -LocalPort 25,110,143,587 -Protocol TCP You will see the rule in the Firewall UI under inbound rules.

Published
Categorized as Cloud

Install Fastcgi php 8 for Windows Server 2019

In Windows there are always multiple ways to install stuff like CGI I will follow the installation steps of the PHP 8 Non Thread Safe version on a Windows Server 2019 Standard Evaluation (Desktop Experience) operating system what needs IIS and CGI to be installed. Install first the IIS (Internet Information Services) by opening Server Manager where we have Manage, Tools, View and Help… Continue reading Install Fastcgi php 8 for Windows Server 2019

Published
Categorized as Cloud

Install Maria DB on Windows

Install Maria DB on Windows Maria DB started as a fork from MySql, when MySQL was aquired by Oracle. Fears that Oracle would throttle Mysql have not happened and Oracle continues to develop MySql. However it is very UN-fun to login to Oracle and sign their incredibly long “I agree” before downloading. Download MariaDB Products… Continue reading Install Maria DB on Windows

Published
Categorized as Cloud

Postfix Logs

Confusion About Postfix Logs There is a lot of confusion around how to read and manage Postfix logs, these can include Dovecot or other Mail Transfer Apps. You should be using the Automated Docker Compose installation of Postfix, Roundcube Webmail, Dovecot and Certbot that makes https certificates Simplest Way to view Postfix Logs To see… Continue reading Postfix Logs

Published
Categorized as Cloud

Postfix Hardening Guide for Security and Privacy

Postfix Hardening for Security and Privacy Harden Your Postfix Email Server Postfix Hardening Guide for Security and Privacy – Linux Audit for GDPR, HIPAA , ITAR . Don’t use gmail Gsuite, get your own corporate server. Start Hardening postfix by installing a new Postfix Email Server with Webmail, Https Cert, Easy User Admin following this you will… Continue reading Postfix Hardening Guide for Security and Privacy

Published
Categorized as Cloud

Hmail server – DKIM hmailserver

sometimes you  cannot use SES, But the users still want their messages delivered. so here is some info. I hope that it is helpful. I’ve been trying to setup my hmailserver with DKIM. Unfortunatly our Windows HmailServer is now depricated. To start installing the replacement with Postfix, Dovecot, Postgres, Letsencrypt certificate and Roundcube, launch the Complete… Continue reading Hmail server – DKIM hmailserver

Published
Categorized as Cloud

Setup Amazon SES with Postfix

Antique Red Old Vintage Letter Classic Mailbox

BE SURE!!! to back up your ec2 as an image  from in the AWS Web UI console. The Best way to have a completely secure Postfix server tnat can use ses, is to install our simple to install EC2 including Roundcube WebMail. Check it out AWS Marketplace: Mail Server on Linux Postfix using MySQL for… Continue reading Setup Amazon SES with Postfix

Published
Categorized as Cloud

Harden Your Postfix

Postfix Hardening Guide for Security and Privacy Postfix Security and Privacy Postfix is one of the most used components on a server that needs to receive or send emails. With all its options available, it is easy to have a weak configuration. This security guide looks into Postfix hardening, to increase the defenses against spam, abuse,… Continue reading Harden Your Postfix

Published
Categorized as Cloud

Web Linux Console for EC2 – Session Manager – ssm Quick Connect

Using AWS Session Manager you can connect to your instances via Web Console instead of SSH. This is similar to what was always offered by Azure and Google Cloud. Then Select Session Manager If you see that its greyed out, you need to still configure it. So instead go to ssm manager  Quick Start  Now… Continue reading Web Linux Console for EC2 – Session Manager – ssm Quick Connect

Published
Categorized as Cloud

Gmail is bounced as spam

I am installing my easy to install floating cloud email server in AWS Marketplace:  I am in the Final test stages. I have implimented only a small amoiunt of spam protection, however this is enough to block the biggest spammer in the multiverse. The blocked ip address is owned my google and used to send… Continue reading Gmail is bounced as spam

Published
Categorized as Cloud

Postfix Containerized Version 1 is out

Antique Red Old Vintage Letter Classic Mailbox

HATE Gmail?   Update Nov 4, 2021 This opensource project now works. You can easily install it. To start installing, launch the Complete Email Server with Webmail in the AWS Cloud. Everyone hates Gmail and some put up with hotmail. A personal email server is best to have. We have helped people to install a great email… Continue reading Postfix Containerized Version 1 is out

Published
Categorized as Cloud

Containerizing WordPress.

I would like to containerize my sites, especially this FloatingCloud.io site. Here are some links that I will use for guidance, wish me luck. https://blog.kontena.io/running-your-wordpress-site-in-containers/ – This uses Docker build instead of the official image from Docker Hub http://roycornelissen.com/walking-the-talk/ https://stephenafamo.com/blog/moving-wordpress-docker-container/ – Uses NginX reverse proxy https://www.sitepoint.com/how-to-use-the-official-docker-wordpress-image/ https://stackoverflow.com/questions/45714456/how-to-migrate-docker-volume-between-hosts https://docs.docker.com/storage/volumes/#backup-a-container https://medium.com/@pybrarian/mysql-databases-that-dont-retain-data-293bc2ed7f02 https://hub.docker.com/_/wordpress/ https://www.wpexplorer.com/migrating-wordpress-website/ – uses initdb.d create… Continue reading Containerizing WordPress.

Published
Categorized as Cloud

MongoDB Replica Set in Docker Swarm Quick Installation Guide

MongoDB Replica Set in Docker Swarm These scripts Use Docker Swarm with the Community Edition of the official MongoDB container. This MongoDB Replica set can be spread throughout the World. The first script is an AWS Cloudformation that asks a few questions. This creates an EC2 instance which serves as the Docker Swarm Manager.  A… Continue reading MongoDB Replica Set in Docker Swarm Quick Installation Guide

Published
Categorized as Cloud

make xfs failed, “mkfs.xfs: No such file or directory” How to format XFS

mkfs.xfs no such file or directory Amazon Linux does not come with mkfs to format a volume with xfs , as MongoDB likes. The simplest way to create a multi region MongoDB Replica set using Docker Swarm is to use our scripts that are already written. They launch a CloudFormation and the scripts written below. In… Continue reading make xfs failed, “mkfs.xfs: No such file or directory” How to format XFS

Published
Categorized as Cloud

Sr-IOV network-environment settings for TripleO Openstack installation

  ComputeOvsDpdkParameters: KernelArgs: “default_hugepagesz=1GB hugepagesz=1G hugepages=120 intel_iommu=on iommu=pt” OvsPmdCoreList: “17,53,35,71” OvsDpdkCoreList: “0,36,18,54” ## OvsDpdkMemoryChannels should be 4 (default), refer to Hardware Manual or run dmidecode -t memory OvsDpdkMemoryChannels: “4” ## OvsDpdkSocketMemory: “1024,1024” is the recommended setting without dpdk nic OvsDpdkSocketMemory: “1024,4096” TunedProfileName: “cpu-partitioning” NovaReservedHostMemory: 4096 OvsEnableDpdk: true ## IsolCpusList A set of CPU cores isolated… Continue reading Sr-IOV network-environment settings for TripleO Openstack installation

Published
Categorized as Cloud

Install Docker-Compose on CoreOS Container Linux

CoreOS Container Linux is more secure and compact than others.  I installed docker-compose with the following script from https://gist.github.com/sourcec0de/5cf7d36a5f696c2ffc68   #!/bin/bash mkdir -p /opt/bin LATEST_URL=`curl -Ls -o /dev/null -w %{url_effective} https://github.com/docker/compose/releases/latest` COMPOSE_VERSION=${LATEST_URL##*/} DOWNLOAD_URL=https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` curl -L ${DOWNLOAD_URL} -o /opt/bin/docker-compose chmod +x /opt/bin/docker-compose

Published
Categorized as Cloud

How to remove a user in mongodb

db.removeUser() On this page Definition Deprecated since version 2.6: Use db.dropUser() instead of db.removeUser() Definition db.removeUser(username) Removes the specified username from the database. The db.removeUser() method has the following parameter: Parameter Type Description username string The database username.

Published
Categorized as Cloud

Change User name in MongoDB

I need to change a username in mongodb 3.4 due to re-branding to floatingcloud.io   db.system.users.update({“user”:”oldname”}, {$set:{“user”:”newname”}}) From: https://stackoverflow.com/questions/35265277/how-to-rename-a-user-in-mongodb  

Published
Categorized as Cloud

Reset AWS AMI Windows 2016 and 2019 Password for use in Marketplace

In Windows PowerShell, run the following command to schedule the script to run as a Windows Scheduled Task. The script runs one time during the next boot and then disables these tasks from running again. PS C:\> C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule   Also see from our Blog: Prepare AMI for AWS Marketplace – Reset Linux ec2 Image… Continue reading Reset AWS AMI Windows 2016 and 2019 Password for use in Marketplace

Published
Categorized as Cloud

HowTo: Install MongoDB Replica Set with Docker Swarm in Multiple Regions

Running your MongoDB in replica set is a really great idea, using Docker is a quick way to deploy it. The simplest way to create a multi region MongoDB Replica set using Docker Swarm is to use our scripts that are already written. They launch a CloudFormation and the scripts written below. Please leave a comment… Continue reading HowTo: Install MongoDB Replica Set with Docker Swarm in Multiple Regions

Published
Categorized as Cloud

Postfix Spam Solutions with Dovecot imap

Postfix Email Servers can filter or Reject Spam Open Source spam solution This is the simplest solution for rejecting 90% of spam with no false positives For your Postfix Email Server. smtpd_recipient_restrictions = permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net This makes your Postfix email server reject mail from servers that are known… Continue reading Postfix Spam Solutions with Dovecot imap

Published
Categorized as Cloud

install horde for dovecot webmail with imp

Install Horde Web Mail to check your email Configuring Horde for IMP [OPTIONAL]If you would prefer that your users authenticate directly with IMP, without having to authenticate through Horde first, load Roundcube with full postfix email server is also extremely easy to intall theAdministration/Configuration/Authentication page and from the What backend should we use for authenticating users to… Continue reading install horde for dovecot webmail with imp

Published
Categorized as Cloud

Jenkins integration on Windows

if you have even one server that requires any .Net compilation… well, life is not easy. You need this MSBuild plugin that needs the MSBuild dll. Surprisingly, Microsoft does not actually make a linux distribution of this tool (haha). If you rolled Jenkins on Debian or CentOS, well, you’re in a sticky place where you… Continue reading Jenkins integration on Windows

Published
Categorized as Cloud

Reset Windows password to random EC2

For our Floating Cloud images the proccess is to run the password reset scripts copy the config.xml file to C:\Program Files\Amazon\Ec2ConfigService\Settings directory: Create AMI without power off or reboot [Windows Server 2016 and later] Configure settings using EC2Launch. To generate a random password at launch time, use the adminPasswordType setting. For more information, see Configuring EC2Launch.… Continue reading Reset Windows password to random EC2

Published
Categorized as Cloud

Using API to send emails with HmailServer

COM API Overview The hMailServer COM API lets you write your own scripts and applications that integrate with hMailServer. Almost all objects in hMailServer are accessible using the COM library. As an example, both hMailServer Administrator and the PHP WebAdmin is entirely based upon the COM library. Besides writing application like theese two, you can… Continue reading Using API to send emails with HmailServer

Published
Categorized as Cloud

How to get reverse DNS for your EC2 instance as well as to raise email sending limit. Amazon Web Services

Request to Remove Email Sending Limitations In order to maintain the quality of Amazon EC2 addresses for sending email, we enforce default limits on the amount of email that can be sent from EC2 accounts. If you wish to send larger amounts of email from EC2, you can apply to have these limits removed from… Continue reading How to get reverse DNS for your EC2 instance as well as to raise email sending limit. Amazon Web Services

Published
Categorized as Cloud

HmailServer with SES

HmailServer is mostly for receiving email to @yourdomain . SES is for sending email. Over the last year or so SES added the ability to receive emails but this is very complicated and confusing which is why I install Hmailserver to receive the email.Beware: In the SES panel there are DNS settings that AWS give… Continue reading HmailServer with SES

Published
Categorized as Cloud

New

Published
Categorized as Cloud

Set WordPress all of your pages to private so that you can un-publish them

Just set them to private in the database, using the following query: This would set all posts to private, I guess you won’t really use that query. Instead, to only set articles to ‘private’ use: and to only disable pages, use: Post-revisions have the status ‘inherit’ and thus get the right inherited from the parent page or… Continue reading Set WordPress all of your pages to private so that you can un-publish them

Published
Categorized as Cloud