Debian Wheezy - How to change init system

  • Debian Wheezy - How to switch from sysvinit to upstart when using i-MSCP


    1. Remove the sysvinit package

    Shell-Script
    1. # apt-get purge sysvinit

    Note: You'll be warned on the fact that you're doing something dangerous. Go ahead by copying the needed phrase.


    2. Install the upstart packag


    Shell-Script
    1. # apt-get install upstart

    3. Reboot the system

    Shell-Script
    1. # reboot -f

    4. Re-rerun the i-MSCP installer

    Shell-Script
    1. # cd /usr/local/src/imscp# perl imscp-autoinstall -das

    Debian Wheezy - How to switch from sysvinit to systemd when using i-MSCP


    1. Add Debian backport repository to your /etc/apt/sources.list


    Code
    1. deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free

    2. Install systemd


    Shell-Script
    1. # apt-get -t wheezy-backports install systemd

    3. Install the systemd-sysv package


    Shell-Script
    1. # apt-get install systemd-sysv

    4. Reboot the system


    Shell-Script
    1. # reboot -f

    4. Re-rerun i-MSCP installer

    Shell-Script
    1. # cd /usr/local/src/imscp# perl imscp-autoinstall -das

    Debian Wheezy - How to switch back to sysvinit


    1. Install the sysyinit package


    Shell-Script
    1. # apt-get install sysvinit

    2. Reboot the system


    Shell-Script
    1. # reboot -f

    3. Re-rerun i-MSCP installer

    Shell-Script
    1. # cd /usr/local/src/imscp# perl imscp-autoinstall -das

    Note: When switching back from systemd, you must also perform some cleanup after

    Shell-Script
    1. # apt-get purge libsystemd-id128-0 systemd libsystemd-journal0

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206