Giter VIP home page Giter VIP logo

quieten-ubuntu's Introduction

quieten-ubuntu

quieten.sh is a script to perform common rollback configs to quieten down an installation of Ubuntu Server. Download the bash script, review it, then run it as root or using sudo, e.g.:

$ wget https://github.com/evilneuro/quieten-ubuntu/raw/main/quieten.sh
$ sudo ./quieten.sh

What does it do?

It applies some configuration changes to quiet down Ubuntu Server. It tries to be non-destructive, either by using existing tools to make modifications, or to change permissions or filenames of configuration or script files, rather than delete anything.

But why does Ubuntu Server need to be quiet?

Canonical, the corporate owner of the Ubuntu Linux distribution and related open source project, have, over the years, increased the number of marketing messages that end-users are exposed to.

This is perfectly normal behaviour for a company trying to upsell it's commercial products and remain profitable, so that it can continue development of its products; this is especially normal behaviour for a company that doesn't charge for its core product: in this case, Ubuntu Linux.

However, when this gets in the way of core use cases for their software, i.e., the automation of software package installation and updates on headless servers or virtual machines, then it becomes at best, pesky, or at worst, damaging.

Specifically, these have included messages promoting their support services Ubuntu Advantage, Ubuntu Pro, and their gatekeeping of the universe package repository behind Expanded Security Maintenance (ESM). These messages have been delivered in several ways, including in the Message of the Day (MOTD) shown on login via console or SSH, and during package repository updates and package installation, even being displayed when the commands being executed are using flags such as -qqq to reduce command output to a minimum or to zero.

What if I like the marketing messages, or other notifications?

That's OK. Either don't run this script, or modify it to suit your needs or preferences; the comments should make it clear what's being disabled, and why.

Why Ubuntu Server and not Ubuntu Desktop or [insert Ubuntu variant here]

Because in desktop versions of Ubuntu, the marketing messages are normally not obtrusive to the end-user, nor detrimental to normal and expected operation of the computer.

Do you not want Canonical to be profitable?

Of course I do. But the beauty of open systems and open source means that we can make whatever changes we like, within the constraints of the licence that the software is delivered and used under, and in this case it's fine.

Who are you to [insert angriness here]

I've been using UNIX since 1993, and I've been a UNIX sysadmin by trade since 1996. I've worked with Yggdrasil, Slackware, Debian, RHEL, CentOS, Gentoo, and SUSE over the years, and I started using Ubuntu Linux with the Ubuntu 4.10 Warty Warthog release, i.e., when Ubuntu was first publicly released. And since I'm a sysadmin, I like fixing things in a distribution when they aren't to my liking. This is why config files, sources.list, PPAs, and apt pinning are things, and this script is just one more thing to tweak things. And I thought I'd share, since I know I'm not alone!

You missed a spot

Whoops! Open a pull request and help out! Thanks!

Hat tips

quieten-ubuntu's People

Contributors

evilneuro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.