Menu

Tree [554c36] master /
 History

HTTPS access


File Date Author Commit
 apt 2018-04-16 Mattijs Snepvangers Mattijs Snepvangers [c349d7] splitting stuff up into seperate repositories
 lib 2018-05-07 Mattijs Snepvangers Mattijs Snepvangers [466c54] licence updated
 maintenance 2018-05-02 Mattijs Snepvangers Mattijs Snepvangers [cf360c] Updated submodule BASH_FUNC_LIB
 research 2018-04-30 Mattijs Snepvangers Mattijs Snepvangers [5e111b] WIP
 .gitignore 2018-03-14 Mattijs Snepvangers Mattijs Snepvangers [83dd2b] .
 .gitmodules 2018-05-07 Mattijs Snepvangers Mattijs Snepvangers [3057a1] WIP
 LICENSE.md 2017-09-08 Mattijs Snepvangers Mattijs Snepvangers [851d9f] Create LICENSE.md
 PLAT_installer.sh 2018-05-07 Mattijs Snepvangers Mattijs Snepvangers [466c54] licence updated
 README.md 2018-04-26 Mattijs Snepvangers Mattijs Snepvangers [2299c6] Update README.md
 _config.yml 2018-03-09 Mattijs Snepvangers Mattijs Snepvangers [320d5c] Set theme jekyll-theme-hacker
 code_of_conduct.md 2018-03-05 Mattijs Snepvangers Mattijs Snepvangers [859edb] Create code_of_conduct.md
 postinstall.ini 2018-04-16 Mattijs Snepvangers Mattijs Snepvangers [c349d7] splitting stuff up into seperate repositories
 postinstall.md 2018-04-26 Mattijs Snepvangers Mattijs Snepvangers [d15490] Updated submodule BASH_FUNC_LIB
 postinstall.sh 2018-05-07 Mattijs Snepvangers Mattijs Snepvangers [466c54] licence updated
 test.sh 2018-05-09 Mattijs Snepvangers Mattijs Snepvangers [554c36] Updated submodule PBFL

Read Me

Codacy Badge

PLAT

Pegasus' Linux Administration Tools is a set of bash scripts that make life easier for the "lazy" admin/new user on Ubuntu.
PLAT is a suite of scripts which help with tedious repetitive tasks which make up a large portion of Linux administration.
Currently there's a Post Install script which, as the name suggests, is run right after installing Linux on a computer.

More information can be found under the news messages.
<<updated: 22nd="" of="" march="" 2018="">></updated:>


NEWS

## 20180313 UPDATE: The BASH version is now V1.0.0-beta

20180312 update:

  • Issue #2 & commit e468f7d22e550d860deda08dc2c4d0def20d797a.
  • Email functionality broken, has been removed for now, will be added again with a later release.
  • All references to the email funtionality have been commented out or moved to a temporary file.

  • 20180305 Update:
  • Most of the issues should be gone now.
  • I've added tonnes of features based on and/or inspired by feedback I received through various channels.
  • Constructive criticism and suggestions are very welcome!

Post-Install script:

 Pegasus' Linux Administration Tools - plat.sh Ver1.0.0-BETA build 20180313 - (c) 2018 Mattijs Snepvangers
    USAGE:  sudo bash plat.sh -h
                or
        sudo bash plat.sh -r <systemrole> [ -c <containertype> ] [ -v INT ]
            [ -g <garbageage> ] [ -l <logage> ] [ -t <tmpage> ]

     OPTIONS

       -r or --role tells the script what kind of system we are dealing with.
          Valid options: ws, poseidon, mainserver, container << REQUIRED >>
       -c or --containertype tells the script what kind of container we are working on.
          Valid options are: basic, nas, web, x11, pxe << REQUIRED if -r=container >>
       -v or --verbosity defines the amount of chatter. 0=CRITICAL, 1=WARNING, 2=INFO, 3=VERBOSE,
                4=DEBUG. default=2
       -g or --garbageage defines the age (in days) of garbage (trashbins & temp files) being 
                cleaned, default=7
       -l or --logage defines the age (in days) of logs to be purged, default=30
       -t or --tmpage define how long temp files should be untouched before they are deleted,
                default=2
       -h or --help prints this message

        The options can be used in any order

    All versions:   Edit/add repos & ppas appropriate to systemrole, remove duplicate lines
            Install trash-cli, mc, teamviewer, git, snapd
            apt-get update, upgrade, auto-remove, autoclean

    ws:     Adds maintenance script to anacrontab weekly
            Installs synaptic, tilda, audacious, samba, wine-stable, playonlinux, winetricks

    poseidon:
            Adds maintenance script to anacrontab weekly
            Installs staruml, gitkraken, picard, audacity, calibre, fastboot, adb, fslint,
            gadmin-proftpd, geany, gprename, lame, masscan, forensics-all, forensics-extra,
            forensics-extra-gui, forensics-full, chromium-browser, gparted, ssh-server, screen,
            synaptic, tilda, audacious, samba, wine-stable, playonlinux, winetricks

    lxchost:    Installs python3-crontab, lxc, lxcfs, lxd, lxd-tools, bridge-utils, xfsutils-linux,
            criu, apt-cacher-ng, ssh-server, screen
            replaces /etc/network/interfaces with lxcinterfaces file included in this package,
            restarts network to incorporate bridge,
            adds maintenance,
            places container_maintenance file on server

    containers:
        web:    Installs apache2, phpmyadmin, mysqld, mytop, samba, proftpd, webmin, ssh-server,
                    screen
        nas:    Installs samba, nfs, proftpd, ssh-server, screen
        pxe:    Installs atftpd, ssh-server, screen
        X11:    Installs ldm, ssh-server, screen
        Basic:  Installs ssh-server, screen

Maintenance scripts:

Maintenance scripts are purpose built by post-install script
All versions:   apt-get update, upgrade, auto-remove, autoclean
        remove 7+ day old trash files, remove temp-files which haven't been accessed in the
        past 2+ days, remove 30+ days old logs
Poseidon/lxdhost: also handles maintenance of containers, first creates snapshots, then maintenance
Mainserver: also handles maintenance of containers, first creates snapshots, then tape backup, then
        maintenance
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.