Navigate Select ESC Close

Linux - Start, Stop, Restart Services (Systemd, systemctl, service, init.d )

2019-09-14 Science & Technology
68.0k
1.1k
68
Eli the Computer Guy
Eli the Computer Guy
1.1m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Find code and diagrams at: https://www.EliTheComputerGuy.com There are 3 ways to manage services on Ubuntu Linux. Systemd is considered the “right” way as of now, but using the service command and init.d scripts still work. When. you make changes to configuration files for services such as Apache, UFW or SQUID those changes will not become active until you restart the service. Systemd sudo systemctl status – shows status of all services on server sudo systemctl status apache2 – shows status of specific service sudo systemctl start/restart/stop apache2 – start/stop restart service Service sudo service —status-all | less – shows status of services and allows you to scroll through results. sudo service apache2 status/start/stop/restart – to manage services Init.d (Depricated, but works) sudo /etc/init.d/apache2 status/start/restart/stop – to manage services

Top Comments (10)

@ericpa06 2019-09-16

Louis Rossmann brought me here!

31 3 replies
@paintbll1234 2021-03-25

This is gold! I love how you explain the 3 ways to do something. I think this is super important for noobs like me. Thanks for taking the time in explaining everything, and doing pretty well.

9
@prunabluepepper 2019-09-16

I like the map on your wall - nice ^^

3
@mukulodd3122 2020-06-19

Thank you for sharing your knowledge. Your teaching style is very convenient to understand.

3
@rs-tarxvfz 2020-12-15

You and your channel is the Video Reference for the History of linux. I have been with your channel since 2010s/11s.

3
@outofahat9363 2022-12-25

Ive watched pretty much all his more recent series (Networking, Linux, Mysql, Cloud, Programming) they are literal gold mine of information. Not only he's super clear but I especially love the way he tells you things you have to watch out for in the real world when introducing a subject or feature and how he sometimes adds historical context telling you how something has come to be for the thing he's explaining.

1
@MrBLARG85 2022-05-13

That was perfect! Exactly what I was looking for!

0
@shakthidharga9967 2022-03-27

bro I was about to skip your video because the audio is low, but your content kept me back

0
@franksilval 2022-08-06

Love your lessons ....thank you !!!!

0
@brandonfarfan1978 2022-08-30

Thanks for this lesson on Linux commands.✌😄

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot