Search:

Type: Posts; User: LHammonds; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.99 seconds.

  1. Re: How to install and configure an Ubuntu Server 18.04 LTS

    Thread updated to match the changes made to the original post on HammondsLegacy.com. Most significant changes being scripts.
  2. Re: How to install and configure an Ubuntu Server 18.04 LTS

    Thread updated to match the changes made to the original post on HammondsLegacy.com. Most significant change being the replacement of the swap partition with a swap file.

    LHammonds
  3. Re: How to install and configure an Ubuntu Server 18.04 LTS

    FYI - My HammondsLegacy.com tutorial site might go offline for a while due to financial issues but it will return once things become stable again.

    EDIT 2018-12-05: My company closed down and my...
  4. Trouble-Shooting

    Boot Issues


    systemd-analyze plot > /srv/samba/share/boot.xml
    Open boot.xml in a web browser to examine the boot process to see if anything is taking longer than it should.


    systemd-analyze...
  5. Server Replacement

    Replacing a server with a new one

    If you want to keep SSH keys and the fingerprint from changing when swapping out an old server for a new one (e.g. old FTPS server to new FTPS which interfaces...
  6. Migrating Users from one server to another

    Migrating users/groups from one server to another

    WARNING: These migration commands are thoroughly tested by me...just jotting down these research notes for future testing.

    Commands to run on...
  7. Partition-Level Restores

    Restore Partitions Using SystemRescueCD and FSArchiver

    Partitions cannot be mounted when restoring to them. If services can be stopped that use files on a specific partition, it can be unmounted...
  8. Partition-Level Backups

    Backup Partitions Using LVM Snapshots and FSArchiver

    This method will allow online backup of the server at the partition level. It is designed to run via crontab schedule but can also be run...
  9. File Sharing via Windows Shares

    Configure Windows Server as a Remote Mount Point

    If you have a Windows 2008 server that serves as your offsite backup repository, this section describes how to configure and mount the remote...
  10. File Sharing via NFS (Linux to Linux)

    NFS Mount (Sharing among Linux)

    If you want to share files between Linux servers, you can use NFS. Here is how you can do that.

    On the machine that will host the files to be shared:


    ...
  11. File Sharing via Samba

    Configure Ubuntu for File Sharing

    This file sharing section is optional but can be handy if you need to swap files between the Linux server and a Windows machine.

    This documentation will...
  12. Security - Messages

    SUDO Warning Message


    Enable the default warning message whenever "sudo" is used. Edit sudoers file by typing:

    sudo EDITOR=vim visudo
    Add the following line near the other defaults (instead...
  13. Security - SSH Public and Private Keys

    SSH Public and Private Keys

    If you have more than one Ubuntu server, you probably will want to setup a trusted SSH authentication between the two servers so you can securely and automatically...
  14. Security - Fail2Ban

    Fail2Ban

    Fail2Ban is an intrusion prevention system that can be used to protect servers from different kinds of attacks.

    Fail2ban scans log files for various services, such as SSH, FTP, SMTP,...
  15. Security - Firewall

    Firewall

    Linux uses IPTables as its firewall but learning the ins and outs of the syntax can be daunting. Luckily for us, Ubuntu has a front-end for it called Uncomplicated Firewall (UFW for...
  16. Scripts - Operator Menu

    Operator Menu

    To make my servers easier to administer within my group (who are not all *NIX guys), I made an operator script that can be used to manipulate the server.

    The main features I...
  17. Scripts - Check Storage

    Check Storage Space

    In favor of managing by exception, this script that can be scheduled to run daily to check the file systems to see if they are getting close to filling up and will...
  18. Scripts - APT Upgrade

    APT Upgrade

    This script that can be scheduled to run daily to check for OS/software updates in the repositories and then install them if available.

    The following is an example of a crontab...
  19. Operator Scripts

    I like scripts to be as generic as possible when copying among multiple servers.

    I push the service start/stop specifics into their own scripts which can be unique to each server depending on what...
  20. Crontab Schedule

    Crontab Schedule

    The crontab schedule can be edited directly by typing "crontab -e" but that can be a bit dangerous. It would be safer to edit a file and then load that file into the schedule....
  21. Re: How to install and configure an Ubuntu Server 18.04 LTS

    Many of the sections below utilize BASH scripts as part of the solution/automation.

    To speed up installation for myself and others, the commands below will download and extract the base set of...
  22. Re: How to install and configure an Ubuntu Server 18.04 LTS

    Software Configurations


    Turn on the server and connect using PuTTY.
    At the login prompt, login with your administrator account (administrator / myadminpass)
    At the $ prompt, temporarily...
  23. Re: How to install and configure an Ubuntu Server 18.04 LTS

    Volume / Disk Management

    Earlier, it was mentioned that the partition design needed to have some breathing room in each volume so that the file system inside can grow as needed. When the volumes...
  24. Re: How to install and configure an Ubuntu Server 18.04 LTS

    Initial Configurations


    At the login prompt, login with your administrator account (administrator / myadminpass)
    At the $ prompt, temporarily grant yourself super user privileges by typing...
  25. Re: How to install and configure an Ubuntu Server 18.04 LTS

    Install Ubuntu Server

    NOTE: During the setup process throughout this entire document, most commands will require "sudo" as a prefix. However, this document will be using "sudo su" to temporarily...
Results 1 to 25 of 27
Page 1 of 2 1 2