Systemd: Difference between revisions
No edit summary |
|||
| Line 11: | Line 11: | ||
*/* build_options: jobs=5 -recommended_tests | */* build_options: jobs=5 -recommended_tests | ||
*/* systemd | */* systemd | ||
sys-apps/systemd | sys-apps/systemd seccomp | ||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 22:20, 23 February 2014
Description
systemd is a system and session manager for Linux also including udev nowadays.
Kernel settings
First of all you need a recent kernel version >=3.8 and some kernel options set.
Installation
*/* build_options: jobs=5 -recommended_tests */* systemd sys-apps/systemd seccomp
Now we need to reinstall packages with the systemd option set.
Network
You can find out what the network device will be named by running:
| Code: network device name |
ID_NET_NAME_MAC=enx005056a84955 ID_NET_NAME_PATH=enp11s0 |
systemd-networkd
[Match] Name=eno1 [Network] DHCP=0 Address=192.168.0.88/24 Gateway=192.168.0.1 DNS=192.168.0.1
NetworkManager
NetworkManager does DHCP by default.
NetworkManager (static)
Enable sshd connectivity
Configuration
Hostname
Edits /etc/hostname and /etc/machine-info.
Timezone
Sets the /etc/localtime symlink.
Keyboard Layout
Edits /etc/vconsole.conf.
Localization
Edits /etc/locale.conf.
The systemd localectl commands sets the system locale, if you want to set you user locale use /etc/env.d/02locale.
Misc
Manually starting and stopping services
You'll find an overview of all installed services and sockets in /lib/systemd/system.
prints a status report of your systemd setup.
Enable additional/optional services
systemd-journal-gatewayd (accessible via port 19531):
NFS (client):
vixie-cron:
ntp:
MySQL:
Samba 4:
mdadm:
postfix:
nfs client:
nfs server: