Systemd: Difference between revisions
No edit summary |
No edit summary |
||
| Line 68: | Line 68: | ||
</pre> | </pre> | ||
}} | }} | ||
{{Box File|/etc/vconsole.conf| | |||
<pre> | |||
FONT="lat9w-16" | |||
KEYMAP="de" | |||
</pre> | |||
}} | |||
{{Box File|/etc/conf.d/network.conf| | |||
<pre> | |||
IFACE=eth0 | |||
IPV4=192.168.0.2 | |||
MASK=255.255.255.0 | |||
BCAST=255.255.255.0 | |||
GATEWAY=192.168.0.1 | |||
</pre> | |||
}} | |||
{{Box File|/etc/locale.conf| | |||
<pre> | |||
LANG=de_DE.utf8 | |||
LC_CTYPE="de_DE.utf8" | |||
LC_NUMERIC="de_DE.utf8" | |||
LC_TIME="de_DE.utf8" | |||
LC_COLLATE="de_DE.utf8" | |||
LC_MONETARY="de_DE.utf8" | |||
LC_MESSAGES="de_DE.utf8" | |||
LC_PAPER="de_DE.utf8" | |||
LC_NAME="de_DE.utf8" | |||
LC_ADDRESS="de_DE.utf8" | |||
LC_TELEPHONE="de_DE.utf8" | |||
LC_MEASUREMENT="de_DE.utf8" | |||
LC_IDENTIFICATION="de_DE.utf8" | |||
LC_ALL=de_DE.utf8 | |||
</pre> | |||
}} | |||
Reboot and login. | |||
Enable network | |||
either for simple net: | |||
{{Codeline|# systemctl enable network.service}} | |||
or when using NetworkManager: | |||
{{Codeline|# systemctl enable NetworkManager.service}} | |||
Enable sshd connectivity: | |||
{{Codeline|# systemctl enable sshd.socket}} | |||
Revision as of 16:45, 12 October 2010
Description
systemd is a system and session manager for Linux.
Kernel settings
First of all you need a recent kernel version >=2.6.36-rc1 and some kernel options set.
| Linux Kernel Configuration: Kernel .config |
General setup ---> [*] Control Group support ---> [*] Namespace cgroup subsystem [*] Freezer cgroup subsystem [*] Device controller for cgroups [*] Simple CPU accounting cgroup subsystem [*] Group CPU scheduler ---> [*] Group scheduling for SCHED_OTHER <*> Block IO controller Device Drivers ---> Generic Driver Options ---> [*] Maintain a devtmpfs filesystem to mount at /dev File systems ---> [*] Filesystem wide access notification [*] fanotify permissions checking < > Kernel automounter support <*> Kernel automounter version 4 support (also supports v3) Security options ---> [*] Enable different security models |
Paludis configuration
Unmask currently masked packages
System and package options
First we need to add repositories for the dependencies not in ::arbor (you need to setup Paludis for automatic repository installation first).
# cave resolve repository/desktop repository/gnome repository/python repository/x11 -x
Install the systemd package:
# cave resolve systemd -x
Now we need to reinstall packages with the systemd option set.
# cave resolve world -c -x
Swich over to systemd using eclectic.
# eclectic init set systemd
Reboot and login.
Enable network
either for simple net:
# systemctl enable network.service
or when using NetworkManager:
# systemctl enable NetworkManager.service
Enable sshd connectivity:
# systemctl enable sshd.socket