Linux Server operatsion tizimi fani 4 -tajriba ishi Mavzu: Linux server administratsiyalash


Download 400.12 Kb.
bet4/5
Sana07.05.2023
Hajmi400.12 Kb.
#1437290
1   2   3   4   5
Bog'liq
linux tizimi 2-amaliy topshiriq

6-Tajriba ishi
Mavzu: Servislarni boshqarish.
Ishdan maqsad: Xizmatlarning holatini ko'rish yoki xizmatlarni enable/disable uchun quyidagicha sozlang.
Ishni bajarish tartibi

[1]

Displey xizmatlari.




# display services which are running

root@dlp:~#

systemctl -t service



UNIT LOAD ACTIVE SUB DESCRIPTION >
accounts-daemon.service loaded active running Accounts Service >
apparmor.service loaded active exited Load AppArmor prof>
apport.service loaded active exited LSB: automatic cra>
.....
.....
unattended-upgrades.service loaded active running Unattended Upgrade>
user-runtime-dir@0.service loaded active exited User Runtime Direc>
user@0.service loaded active running User Manager for U>


LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.


48 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.


# the list of all services' setting

root@dlp:~#

systemctl list-unit-files -t service



UNIT FILE STATE VENDOR PRESET
accounts-daemon.service enabled enabled

Download 400.12 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling