Topic: ServerTech

Lessons from server admin since 1995.

Ann Lynnworth Aug 2020
article image
CentOS8 on AWS EC2 for SVN, NNTP

Moving from CentOS7 on bare metal to CentOS8 on AWS EC2: Setup NotesAMI:CentOS 8 Minimal(CentOS 8.2.2004) fromhttps://aws.amazon.comEC2 Instance size: * t3a.nano with 8gb turned out extremely slow, unusable; note 'a' means 'amd' *t3.nanowith 20gb turned out responsive, usable; Intel SkyLake chip.  C

Ann Lynnworth May 2020
article image
Intentional Down Time - for Servers

This is an anti-trend post about internet servers and electricity. What if the assumption that servers should be always-on 24x7 is too simplistic?  Could there be some amount of time that servers and their connected online businesses are intentionally offline during each month, that wou

Ann Lynnworth Mar 2019
article image
IIS for mobile dev: use WACS client to make LetsEncrypt https cert

Question: how to make a free trusted HTTPS certificate for use when developing mobile apps with IIS on a development system which is intentionally private?https://flic.kr/p/qJccKyShort answer: use the win-acme client with dns validationUPDATE January 2020"WACS" now supports some plug-ins to do DNS e

Ann Lynnworth May 2018
article image
SConfig for Windows Updates works reliably on AWS EC2 Win2016 servers

Compared to usingSettings > Windows Updatesto install Windows updates onto Win2016 instances running on AWS EC2, I found that the command line sconfig works much better.sconfig[Enter]select menu choice6for Windows UpdateswaitRfor Recommended updates onlywaitSfor a Single updateetc.  The menu choices

Ann Lynnworth Feb 2018
article image
Notes about IISNode, NodeJS, Stripe, WebHub integration

StripeCreate your ecommerce payment gateway account atstripe.com.IISNodeIISNodelets you use NodeJS together with IIS in a way that makes it reasonably convenient to serve the static files over IIS yet have NodeJS respond for selected URLs.Download fromIISNode Releases.  Install. You will end up with

Ann Lynnworth Dec 2017
article image
AWS EC2: Mounting a separate set of S3 disks for each Windows user

CloudBerry Labs CloudDrivelicensed on a Windows server might seem expensive, but it depends on how large the disks are that you need, how frequently you need to access the files, how large the files are, and how complex the privacy/security issues are between users.This idea might help someone who i

Ann Lynnworth Nov 2017
article image
CentOS Scrub Example: wipe files off usb disks, clearing free space

Alert: the syntax on this page is for a particular usb disk plugged into a CentOS server.  You will need to edit the paths very carefully to avoid erasing the wrong data on your system !Scrub Manual PageNote: if you tried option -p and got the "wrong type of file" error, like this,# scrub -p dod /me

Ann Lynnworth May 2017
article image
Windows Server 2016 Nano - In Practice on AWS EC2

I have decided NOT to use Windows Server 2016 Nano at this time. The following explains what I got working, and where I got stuck.I wanted to run custom Windows services compiled with Delphi for win64, and have them serve dynamic web content through IIS using a custom ISAPI extension, as I do on Win

Ann Lynnworth May 2015
article image
CentOS7 VNC server notes

CentOS 7: VNC Server Cheat Sheet This is for tigervnc-server. Your port number might not be 1.  1 is used as an example only. # systemctl enable vncserver@:1.service # systemctl start vncserver@:1.service Docs: https://www.howtoforge.com/vnc-server-installation-on-centos-7

Ann Lynnworth May 2015
article image
CentOS 7 Firewalld Cheat Sheet

CentOS7 Firewalld Cheat Sheet # systemctl status firewalld # cd /etc/firewalld/zones #firewall-cmd --reload Links: http://www.certdepot.net/rhel7-get-started-firewalld/ http://www.tecmint.com/configure-firewalld-in-centos-7/

Ann Lynnworth Mar 2015
article image
Install requirements for building WendzelNNTPd v2.0.3 from source on CentOS7

This is about theNNTP server from Steffen Wendzel.I used this path:/usr/lib64/WendzelNNTPd-OSE  and the documentation says to use this path:/var/lib64/WendzelNNTPd-OSE.Download the archive from github and decompress it to a path of your choice -- or -- even easier -- use a subversion client to get t

Ann Lynnworth Mar 2015
article image
Allow NNTP through CentOS7 firewalld

How to Allow Network News Transfer Protocol (NNTP) on CentOS7 (firewalld)If you want to run anNNTP serveron CentOS7, you will need to add a service definition for the firewall, and then allow the traffic.# cd /etc/firewalld/services# vi nntp.xmlN

Ann Lynnworth Nov 2014
article image
Allow vsftpv pasv ports in firewalld on CentOS 7 (RHEL7)

Although quite a few pages say that you can get vsftpd pasv support by just adding the ftp service to the new firewall daemon (firewalld) on CentOS 7, that has not been my experience at all, at least not when using FileZilla on Windows as the client.  For some reason, the built-in ftp service does n

Ann Lynnworth Nov 2014
article image
Windows 7 Remote Desktop Solved Immediate Disconnect

System info:Windows 7 Home Premium -- upgraded to Windows 7 Pro64-bitSymptom: after successful login, remote desktop session was disconnected.  This was the situation since the initial install, and in spite of many attempts to fix the problem.This turned out to resolve the problem for me:1. Upgrade

Ann Lynnworth Sep 2014
article image
How to install latest s3cmd release candidate on CentOS

The s3cmd utility is a great way to transfer files to/from Amazon S3 buckets from CentOS Linux.  Unfortunately, yum install s3cmd gives a very old version 1.0 and you may well need the newer version.Note!  CentOS7 (RHEL7) installs a much newer version so there is no need for all this trouble.  Just

Ann Lynnworth Aug 2014
article image
Easy way to setup custom CentOS 6.5 firewall

Note! ForCentOS7, look for documentation on the new firewalld method of setting up your firewall!The rest of this applies toCentOS 5.x and 6.x.Many sites give information either about advanced use of iptables or beginner use of CentOS Setup to configure a firewall.This article is for intermediate le

Ann Lynnworth Aug 2014
article image
Firebird SQL Client Library install on CentOS 5 in 2014

August 2014 This is how I was able to install version 2.1 of the 32bit Firebird client library (libfbclient.so) on a 32bit CentOS 5 server.NB: if you are not running as root, you will need to add 'sudo' before most of these commands.First, this is where you can check for the latest available Firebir

Ann Lynnworth Aug 2014
article image
Firebird SQL 32-bit client library install on 64-bit CentOS 7

The use-case for this is wanting to run a custom 32bit utility developed in Lazarus with FreePascal, using Interbase Objects for the Firebird SQL connectivity.  (As of August 2014, IBObjects worked 32-bit for Linux but not 64-bit. That has since changed.)    This particular utility needed to be depl

Ann Lynnworth May 2014
article image
VirtualBox: CentOS Host, Windows Guests: VNC, FTP, no-RAID

CentOS 6.5 install from USBInstalling from USB worked for me. It seemed much more complicated than installing from DVD so if you have a choice, go with an ISO burned to a DVD.I was making my USB image on Windows not Linux. So these comments are for Windows users in terms of preparing the USB image

Ann Lynnworth Oct 2012
article image
Amazon EC2 with Windows

Notes and RemindersUnlike Win2003 instances on EC2, Win2008 boots with only a drive c - 30gb minimum size.On Win2008 RC2, attached volumes are not online by default. Manually tell each one to come online and thereafter they keep working.Win2008 diskpart sansTo flush files prior to detach of a volume

Ann Lynnworth May 2012
article image
Windows Servers: Monitoring and Rebooting remotely

Dear Overworked Server Admins,In this article, I put together a couple of shareware utilities that seem (to me) to be indispensable for Windows servers in remote data centers.For server monitoring, Servers Alive fromhttp://www.woodstone.nu/salive/index.phphas been a lifesaver for many years. The fre

Ann Lynnworth Feb 2012
article image
Installing Firebird 2.5 64-bit on CentOS 6.2

Media: burn DVD with disk #1 of CentOS 6.2 installerBootto the DVDDuring installation, from the radio button list, selectDatabase Server(and later turn off the 4 default database choices)Unselect a few things that seem unnecessary, like debugging features and phpSelect all the Desktop options, plus

Ann Lynnworth Apr 2011
article image
Why I hate OS patches on Win2003 and Secrets for Coping

Why I hate Windows patches on Windows 2003 Server x86For me, they require manual installation EVERY month on EVERY servergetting to the only important thing on the download page, the BLUE DOWNLOAD BUTTON, often requires a PageDown keypress followed by many seconds waiting for remote control software

Ann Lynnworth Jan 2011
article image
Install 7Zip on CentOS 5.5

We will useYum.Because 7Zip is not automatically included in CentOS 5.5, we have to add the repository and then install it.ReferenceDownload the i386 rpm file onto the 64-bit Opteron server becauseuname -ireported i386. That was a surprise.* Install DAG's GPG key* Install the packageThen yum can be

Ann Lynnworth Jan 2011
article image
CentOS: vsftpf with virtual users setup

CentOS 5.5, CentOS 6 and CentOS7 include vsftpd, theVery Secure FTP Daemon. Here we talk about how to set it up with virtual users, i.e. WITHOUT making a local login for each person. One of many use cases is to enable a set of users who will end up working on web site content, so 1-to-1 ftp to web d

Ann Lynnworth May 2010
article image
Surviving with a 4gb OS partition for Windows 2003 Server

Yes it is possible to run with 4GB as the partition size that c:\windows lives on.One very important tip is to MOVE the service pack files by editing the registry,according to these instructionsKB 271484The key is to delete all unnecessary files on a regular basis.We use an in-house utility called P

Company publishing this blog in 2022: HREF Tools Corp. based in Wilmington, Delaware USA Privacy