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 Read more about Containerizing WordPress.[…]

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 Read more about MongoDB Replica Set in Docker Swarm Quick Installation Guide[…]

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 Read more about make xfs failed, “mkfs.xfs: No such file or directory” How to format XFS[…]

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 Read more about Sr-IOV network-environment settings for TripleO Openstack installation[…]

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 Hits: 169

How to set up Outlook 2019 to use a different SMTP and IMAP servers and users including amazon ses

For AWS SES use starttls But fortunatelly, there is way around. As i linked before, i can run Outlook 2019 with parameter “outlook.exe /manageprofiles”. It will start similar dialog to one IanMosley uploaded. It looks little retro, it is little chaotic, but it allows set everything i needs, especially username. Thanks again, even if we did Read more about How to set up Outlook 2019 to use a different SMTP and IMAP servers and users including amazon ses[…]

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. Hits: 11

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 Read more about HowTo: Install MongoDB Replica Set with Docker Swarm in Multiple Regions[…]

Dovecot imap send spam to junk – Server Fault

Still trying to make a spam solution for opensource Also see https://rspamd.com/doc/quickstart.html https://www.vultr.com/docs/simple-mailserver-postfix-dovecot-sieve-centos-7 https://www.vultr.com/docs/simple-mailserver-postfix-dovecot-sieve-debian I am using Ubuntu 18.04 64 bit dovecot 2.2.33.2 spamassassin 3.4.1 amavisd The goal is to run an e-mail server, which I achieved already. I can access the e-mails at the server using Thunderbird and the imap protocol. For the postfix Read more about Dovecot imap send spam to junk – Server Fault[…]

install horde for dovecot webmail with imp

https://www.horde.org/apps/imp/docs/INSTALL Configuring Horde for IMP [OPTIONAL]If you would prefer that your users authenticate directly with IMP, without having to authenticate through Horde first, load theAdministration/Configuration/Authentication page and from the What backend should we use for authenticating users to Hordepulldown menu select Let a Horde application handle authentication (see the note below about new installs). Select imp from the The application which is Read more about install horde for dovecot webmail with imp[…]

Automating deployments on Windows with Jenkins and PsExec

I went looking for a way to be able to remotely restart a Windows service from the Jenkins server. After googling for a bit I came across PsExec which is small utility program to run remote scripts on Windows machines which would me restart the Windows service from our remote Jenkins server. After downloading this Read more about Automating deployments on Windows with Jenkins and PsExec[…]

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. Read more about Reset Windows password to random EC2[…]

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 Read more about Using API to send emails with HmailServer[…]

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 Read more about How to get reverse DNS for your EC2 instance as well as to raise email sending limit. Amazon Web Services[…]

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 Read more about Set WordPress all of your pages to private so that you can un-publish them[…]