Debian hints and tips?

Commissario
Joined
16 Oct 2002
Posts
342,754
Location
In the radio shack
As per the thread a couple below this, I've just installed Debian 12 on a little mini PC and a couple of things have already caught me out.

I had to install sudo and add my account to sudoers.

It took an age to find the reboot and shutdown commands: sudo systemctl reboot and sudo systemctl poweroff which I've set up aliases in .bash_aliases for ('reboot' and 'shutdown' respectively).

I need to learn to use and love ip instead of ifconfig.

What else is going to confuse me? The only *nix I've really used for years is Raspbian and occasionally some Ubuntu.
 
Ah you hit a common snafu in installing Debian, if you choose a certain part of adding a user it doesn't add your account to sudo etc - I ran in to this when I first started it.

sudo reboot now and sudo shutdown now will work for powering off, no need to use systemctl.

For the most part they're going to be the same, Raspbian is Debian, and Ubuntu is Debian based.
 
Ahh yes, thanks. I'd only tried the shutdown and reboot commands prior to adding my account to sudo, just removed the aliases, logged out and back in and the commands now work as expected. That's better.
 
Ah you hit a common snafu in installing Debian, if you choose a certain part of adding a user it doesn't add your account to sudo etc - I ran in to this when I first started it.

sudo reboot now and sudo shutdown now will work for powering off, no need to use systemctl.

For the most part they're going to be the same, Raspbian is Debian, and Ubuntu is Debian based.
Just for future reference…if you don’t create a root password during install it disables the root account and handles sudo for you :)
 
Just for future reference…if you don’t create a root password during install it disables the root account and handles sudo for you :)

Couldn't remember the particulars of it, I have an auto install script and an Ansible playbook which configures it all for me now haha. I'm too lazy to install operating systems.
 
Back
Top Bottom