Posts

Re-configuring BIND DNS Servers for CentOS Web Panel Web Hosting Control Panel on Amazon AWS Cloud

Subject: Re-configuring BIND DNS Servers for CentOS Web Panel Web Hosting Control Panel on Amazon AWS Cloud

Author: Mr. Turritopsis Dohrnii Teo En Ming, Singapore
Date: 27 Feb 2020 Thursday

Rationale for Re-configuration of BIND DNS Servers for CentOS Web Panel
=======================================================================

I have originally followed the approach for cPanel where there are 2 DNS-ONLY servers and one or more cPanel webservers. However, CentOS Web Panel
implements DNS Clusters differently. Hence I have to re-configure BIND DNS Servers for CentOS Web Panel web hosting control panel.

PREREQUISITES
=============

Part 1 of the series: Mr. Teo En Ming's Guide to Deploying CentOS Web Panel (CWP) Web Hosting Control Panel on Amazon AWS Cloud

Redundant Blogger and Wordpress blog links:

[1] https://tdtemcerts.blogspot.com/2020/02/mr-teo-en-mings-guide-to-deploying.html

[2] https://tdtemcerts.wordpress.com/2020/02/23/mr-teo-en-mings-guide-to-deploying-centos-web-panel…

Setting Up Mail Server Operation for CentOS Web Panel Web Hosting Control Panel on Amazon AWS Cloud

Subject: Setting Up Mail Server Operation for CentOS Web Panel Web Hosting Control Panel on Amazon AWS Cloud

Author: Mr. Turritopsis Dohrnii Teo En Ming, Singapore
Date: 25 Feb 2020 Tuesday

PREREQUISITES
=============

Before embarking on this guide, you should read the following guide first.

Guide: Mr. Teo En Ming's Guide to Deploying CentOS Web Panel (CWP) Web Hosting Control Panel on Amazon AWS Cloud

Redundant blog links:

[1] https://tdtemcerts.blogspot.com/2020/02/mr-teo-en-mings-guide-to-deploying.html

[2] https://tdtemcerts.wordpress.com/2020/02/23/mr-teo-en-mings-guide-to-deploying-centos-web-panel-cwp-web-hosting-control-panel-on-amazon-aws-cloud/

EXTREMELY DETAILED INSTRUCTIONS OF TEO EN MING'S GUIDE
======================================================

Teo En Ming's DNS Zone File for domain teo-en-ming.com on Primary DNS Server
============================================================================

$TTL    300
@       IN      SOA     ns1.teo-en-ming.com. ceo…

Linux Shell Script to Start Windows 10 Virtual Machine with GPU Passthrough (QEMU/KVM) (23 Feb 2020)

#!/bin/bash

# Mr. Turritopsis Dohrnii Teo En Ming
# Singapore
# 22 Feb 2020 Saturday

# Haven't configure bridged networking yet. TO-DO in future.

vmname="windows10vm"

if ps -ef | grep qemu-system-x86_64 | grep -q multifunction=on; then
echo "A passthrough VM is already running." &
exit 1

else

# use pulseaudio
export QEMU_AUDIO_DRV=pa
export QEMU_PA_SAMPLES=8192
export QEMU_AUDIO_TIMER_PERIOD=99
export QEMU_PA_SERVER=/run/user/1000/pulse/native

cp /usr/share/OVMF/OVMF_VARS.fd /tmp/my_vars.fd

# /data is Toshiba 1 TB 3.5 inch internal SATA harddisk

qemu-system-x86_64 \
-name $vmname,process=$vmname \
-machine type=pc,accel=kvm \
-cpu host,kvm=off \
-smp 3,sockets=1,cores=3,threads=1 \
-m 16G \
-balloon none \
-rtc clock=host,base=localtime \
-serial none \
-parallel none \
-soundhw hda \
-usb \
-device usb-host,vendorid=0x0603,productid=0x00f2 \
-device usb-host,vendorid=0x056e,productid=0x0107 \
-device vfio-pci,host=01:00.0,multifunction=on \
-device vfio-pc…

Mr. Teo En Ming's Guide to Deploying CentOS Web Panel (CWP) Web Hosting Control Panel on Amazon AWS Cloud

Subject: Mr. Teo En Ming's Guide to Deploying CentOS Web Panel (CWP) Web Hosting Control Panel on Amazon AWS Cloud

===FIRST DRAFT===

PUBLISHED 23 FEB 2020 SUNDAY, SINGAPORE, SINGAPORE

I chose CentOS Web Panel because the graphical user interface is a bit like cPanel and it is free/open source.

EXTREMELY DETAILED INSTRUCTIONS OF TEO EN MING'S GUIDE
======================================================

REFERENCE
=========

Guide: Part 1: How I Built a cPanel Hosting Environment on Amazon AWS

Link: https://wiredgorilla.com/part-1-built-cpanel-hosting-environment-amazon-aws/

Setup the Amazon AWS VPC (Virtual Private Cloud)
================================================

Go to https://us-east-2.console.aws.amazon.com/vpc/home?region=us-east-2#dashboard:

Click Launch VPC Wizard.

Select VPC with a Single Public Subnet.

IPv4 CIDR block: 10.0.0.0/16

VPC Name: Teo En Ming VPC

Public subnet's IPv4 CIDR: 10.0.0.0/24

Availability Zone: No Preference

Subnet name: Public subnet

Click Cr…

[YOUTUBE] Japanese Cosplayer Naomie and Ayu Mantou at GV Plaza on 22 Feb 2020 Sat

[YOUTUBE] Japanese Cosplayer Naomie and Ayu Mantou at GV Plaza on 22 Feb 2020 Sat

4K video taken with Panasonic FZ1000 Mark 2 bridge camera

Link: https://www.youtube.com/watch?v=ANn9QF8ZWtk

How to Mount and Unmount QEMU Images (Updated 23 Feb 2020)

How to Mount QEMU Images

sudo losetup /dev/loop18 win10.img

sudo kpartx -a /dev/loop18

sudo ntfsfix /dev/mapper/loop18p4

sudo mount -t ntfs -o remove_hiberfile /dev/mapper/loop18p4 /mnt/cdrive

How to Unmount QEMU Images

sudo umount /mnt/cdrive

sudo kpartx -d /dev/loop18

sudo losetup -d /dev/loop18

Reference

http://blog.siphos.be/2016/09/mounting-qemu-images/

Turritopsis Dohrnii Teo En Ming's Idol and Hero Zhang Wuji

Turritopsis Dohrnii Teo En Ming's Idol and Hero Zhang Wuji

[YOUTUBE] Heavenly Sword Dragon Slaying Saber (2019) Episode 50 FINAL

Link: https://youtu.be/Ggb0Emgn1pM?t=1851

Li Yitong - Legend of the Condor Heroes 2017 Music Video

Li Yitong - Legend of the Condor Heroes 2017 Music Video

Link: https://www.youtube.com/watch?v=1FEp1x0I6sM

Turritopsis Dohrnii Teo En Ming's Idol and Hero Guo Jing

Turritopsis Dohrnii Teo En Ming's Idol and Hero Guo Jing

[YOUTUBE] Legend of the Condor Heroes (2017) Episode 52 FINAL

Link: https://youtu.be/JKN-AujYlZw?t=2071

The Wisdom of Hong Qigong

The Wisdom of Hong Qigong

[YOUTUBE] Legend Of The Condor Heroes (2017) Episode 26

Link: https://youtu.be/KKBqetBo62o?t=2211

我真的还想再活五百年 (I really wish to live for another 500 years)

我真的还想再活五百年 (I really wish to live for another 500 years)

[YOUTUBE] The Era of Emperor Kangxi Episode 1

Link: https://www.youtube.com/watch?v=_rA9r7QHPig

Turritopsis Dohrnii Teo En Ming's Idol and Hero Zhang Wuji

Turritopsis Dohrnii Teo En Ming's Idol and Hero Zhang Wuji

[YOUTUBE] Heavenly Sword Dragon Slaying Saber (2019) Episode 50 FINAL

Link: https://youtu.be/Ggb0Emgn1pM?t=1851

[YOUTUBE] Legend of the Eight Immortals Episode 1

[YOUTUBE] The Bodhidharma 达摩祖师 Episode 14

[YOUTUBE] The Bodhidharma 达摩祖师 Episode 10

How to Install Google Chrome on Ubuntu 18.04.3 LTS Desktop Linux

Steps ====
1. Go to https://www.google.com/chrome
2. Select the .deb package for Debian/Ubuntu Linux to download
3. sudo dpkg -i google-chrome-stable_current_amd64.deb

[Samba] Why are ForeignSecurityPrincipals and Managed Service Accounts empty with no entries?

Letter from Harvard University dated 9 Jan 2020

Image

Letter from National Academy of Sciences Committee on Human Rights dated 4 Feb 2020

Image

[YOUTUBE] Samba 4.11.6 and CentOS 8.1 as Active Directory Domain Controller

[YOUTUBE] Samba 4.11.6 and CentOS 8.1 as Active Directory Domain Controller

Link: https://www.youtube.com/watch?v=aBFQLy9aryY

Removing libvirt from CentOS 8.1 running as Samba Active Directory Domain Controller

Removing libvirt from CentOS 8.1 running as Samba Active Directory Domain Controller

libvirt provides dnsmasq, which interferes with Samba's internal DNS backend or BIND9 DNS backend. Hence it has to be removed.

# systemctl stop libvirtd

# systemctl disable libvirtd

Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC)

Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC)

Subject: Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC) Subject: Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC) PUBLISHED 15 FEB 2020 SATURDAY, SINGAPORE, SINGAPORE, SINGAPORE This manual/guide is meant for small and medium businesses (SMB) which do not want to spend a lot of money on Windows Server 2016/2019 licensing. REFERENCE GUIDE =============== Guide: Setting up Samba as an Active Directory Domain Controller Link: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller EXTREMELY DETAILED INSTRUCTIONS OF TEO EN MING'S MANUAL ======================================================= Starting CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine on Ubuntu 18.04.3 LTS Desktop Host =============================…