DEV Community

pO0q ๐Ÿฆ„
pO0q ๐Ÿฆ„

Posted on • Updated on

A Bash script to configure Linux

I made a Bash script to configure Debian-based Linux machines for cybersecurity:

GitHub logo d3fenderz / godebian

A simple Bash script to configure Debian-based Linux distros ๐Ÿงข

godebian

A simple Bash script to configure Debian-based Linux distros

How to use

git clone https://github.com/d3fenderz/godebian
sudo -s
cd godebian
bash godebian

Opt out

You can either select "1" to proceed or "2" to skip a specific step.

Why do I use the keyword function?

To prevent nasty collisions with existing aliases, as I use generic names.

Warnings

Be careful. The script assumes you won't need many default configurations such as printers, FTP, telnet.

Fortunately, you can choose to opt out of some steps. Just choose "No" (type 2).

I strongly encourage you to update && upgrade to prevent bad errors and apply security patches.




The script is quite straightforward:

git clone https://github.com/jmau111-org/godebian
cd godebian
sudo -s
bash godebian
Enter fullscreen mode Exit fullscreen mode

I've included a way to opt out of some specific steps.

Of course, it's not exhaustive at all, and I like to keep it very light, without too much third-party apps. It's cybersecurity-oriented, but even in that perspective, it's pretty light.

Top comments (0)