Debian Convert - Basic System Management [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Post Reply
shimmi
Baby Hen
Posts: 4
Joined: Wed Jul 23, 2014 1:29

Debian Convert - Basic System Management [Solved]

Post by shimmi » Wed Jul 23, 2014 2:01

Hello all, first post on these forums.

First thing's first, i'm a Debian diehard, have been for a long time, maybe because i went through univeristy learning Debian (standard installs on our machines). At work we use RedHat and i use Debian for my development at work. I'm beyond impressed with Sabayon, particually, package managment. The flexibility of your package managment is far supperior to apt-get and yum combined (in my opinion). Needless to say, i'm now doing all my development on Sabayon and have given the .iso and it's recommendation to the rest of the 'younger' programmers at work.

I've just got a couple of questions to make sure i'm on the right track, im sure it's only simple.
1. Regarding start-up applications -- I usually just (Depending on Distrubution)

Code: Select all

#cd /etc/init.d    /*or*/    cd /etc/rc.d
#chmod -x whatEver 
To disable something such as avahi-daemon. But avahi still boots at start-up. I've never really had this program before. I could just un-install it, but for the time being i've got a simple perl script killing it after boot.

2. Updating the System -- Is this right ?
I've already updated equo to the latest version as per the wiki.

Code: Select all

#equo update 
#equo upgrade --ask
..Updates all the packages and security patches on the system ? Then... i assume...

Code: Select all

#equo deptest
#equo libtest
#equo cleanup
Thanks for any help and thankyou for the great effort the teams put into this distrubution.

Stupot
Sagely Hen
Posts: 1646
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Debian Convert - Basic System Management

Post by Stupot » Wed Jul 23, 2014 2:45

Sabayon uses systemd for it's init system (which is pretty rapidly being used by more and more distros).

Here's our wiki on it: https://wiki.sabayon.org/index.php?titl ... O:_systemd

You'll also find that Arch has a great wiki on systemd, although you'd want to change out any package management stuff with Sabayon's obviously: https://wiki.archlinux.org/index.php/systemd

So use systemd for startup things.

Other than that, you're bullet point #2 is spot on. Although don't forget to do a

Code: Select all

# equo conf update
after an upgrade if it prompts you to.

shimmi
Baby Hen
Posts: 4
Joined: Wed Jul 23, 2014 1:29

Re: Debian Convert - Basic System Management

Post by shimmi » Wed Jul 23, 2014 6:47

Thanks for that Stupot (thumbs up)

Regards,

User avatar
albfneto
Sagely Hen
Posts: 1856
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: Debian Convert - Basic System Management

Post by albfneto » Wed Jul 23, 2014 15:40

to see the services:

Code: Select all

# systemctl status -a
to see all the available services:

Code: Select all

# systemctl 
to see the active, running services:

Code: Select all

systemctl list-units -t service
to remove a service:

Code: Select all

systemctl disable name_of_the_service.service
to add a service:

Code: Select all

systemctl enable name_of_the_service.service
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

Post Reply