Editing Installation on Debian 8
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
'''Only needed for Debian''' (Devuan already works with SystemV by default). '''Warning:''' This operation can make some desktop software to stop working. | '''Only needed for Debian''' (Devuan already works with SystemV by default). '''Warning:''' This operation can make some desktop software to stop working. | ||
− | sudo apt | + | sudo apt install sysvinit-core sysvinit-utils |
# Must boot with SystemV to release Systemd | # Must boot with SystemV to release Systemd | ||
sudo reboot | sudo reboot | ||
− | sudo apt- | + | sudo apt --auto-remove remove systemd |
− | echo -e 'Package: *systemd*\nPin: release *\nPin-Priority: -1\n' | sudo tee /etc/apt/preferences.d/ | + | echo -e 'Package: *systemd*\nPin: release *\nPin-Priority: -1\n' | sudo tee /etc/apt/preferences.d/systemd |
* More recipes at [http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation without-systemd.org] | * More recipes at [http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation without-systemd.org] | ||
Line 24: | Line 24: | ||
RepoUrl=http://download.openvz.org/debian | RepoUrl=http://download.openvz.org/debian | ||
echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile" | echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile" | ||
− | echo "#deb $RepoUrl jessie-test main" | sudo tee | + | echo "#deb $RepoUrl jessie-test main" | sudo tee "$RepoFile" |
echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile" | echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile" | ||
wget -qO - http://ftp.openvz.org/debian/archive.key | sudo apt-key add - | wget -qO - http://ftp.openvz.org/debian/archive.key | sudo apt-key add - | ||
Line 42: | Line 42: | ||
* Optionally you can set containers completely stop when service stops at /etc/vz/vz.conf | * Optionally you can set containers completely stop when service stops at /etc/vz/vz.conf | ||
VE_STOP_MODE=stop | VE_STOP_MODE=stop | ||
− | |||
− | |||
− | |||
= '''Reboot into OpenVZ kernel''' = | = '''Reboot into OpenVZ kernel''' = | ||
Line 60: | Line 57: | ||
Packages="$(aptitude search ~i~nlinux-image- --display-format '%p' | grep -ve 'openvz')" | Packages="$(aptitude search ~i~nlinux-image- --display-format '%p' | grep -ve 'openvz')" | ||
− | sudo apt-get | + | sudo apt-get remove $Packages |
− | + | sudo apt-get autoremove | |
− | |||
= Download OS templates = | = Download OS templates = | ||
Line 78: | Line 74: | ||
sudo vztmpl-dl --gpg-check debian-8.0-x86_64-minimal | sudo vztmpl-dl --gpg-check debian-8.0-x86_64-minimal | ||
− | + | Alternatively, you can also download precreated template caches from [[Download/template/precreated|Download » Template » Precreated]], or from one of the [https://mirrors.openvz.org/ mirrors]. Put those tarballs '''as-is (no unpacking needed)''' to the <tt>/vz/template/cache/</tt> directory. | |
− | |||
− | |||
= Next steps = | = Next steps = |