This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| manuals:vps:console [2016/12/12 16:28] – Rewording Aither | manuals:vps:console [2023/12/12 15:37] (current) – [vpsfreectl] embed video using vshare aither | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| directly to the console of the VPS. | directly to the console of the VPS. | ||
| - | The console is available either via an online | + | The console is available either via an web interface or directly from the terminal using the |
| [[manuals: | [[manuals: | ||
| using [[manuals: | using [[manuals: | ||
| Line 11: | Line 11: | ||
| browser. | browser. | ||
| - | The console is persistent. That means that you can use it to follow the process of turning the VPS | + | You can use the console |
| - | off and on. Disconnecting from the console does not log the user off unless an unintentional | + | off and on. Disconnecting from the console does not log the user off unless an intentional |
| takes place before disconnecting. | takes place before disconnecting. | ||
| - | ===== The Online | + | The console can be used to access the [[manuals: |
| + | when the VPS is being started or restarted. | ||
| + | ===== Web Interface ===== | ||
| {{navody: | {{navody: | ||
| Line 27: | Line 29: | ||
| [[manuals: | [[manuals: | ||
| - | <html> | + | {{ youtube> |
| - | <iframe width=" | + | |
| - | src=" | + | |
| - | allowfullscreen></ | + | |
| - | </ | + | |
| You can connect to the VPS console using the following command: | You can connect to the VPS console using the following command: | ||
| Line 64: | Line 62: | ||
| EOF | EOF | ||
| </ | </ | ||
| - | |||
| - | ===== Enabling Remote Console ===== | ||
| - | |||
| - | Current distro templates mostly have this console preset. | ||
| - | In older templates, it’s necessary to enable it manually. | ||
| - | |||
| - | ==== Debian ==== | ||
| - | Add the following line to the ''/ | ||
| - | |||
| - | < | ||
| - | |||
| - | ==== El (Scientific Linux, CentOS) ==== | ||
| - | Add the following lines to the ''/ | ||
| - | |||
| - | < | ||
| - | stop on runlevel [S016] | ||
| - | |||
| - | respawn | ||
| - | instance $TTY | ||
| - | exec / | ||
| - | </ | ||
| - | |||
| - | Then open ''/ | ||
| - | |||
| - | < | ||
| - | start on stopped rc RUNLEVEL=[2345] | ||
| - | |||
| - | env ACTIVE_CONSOLES=/ | ||
| - | env X_TTY=/ | ||
| - | task | ||
| - | script | ||
| - | . / | ||
| - | for tty in $(echo $ACTIVE_CONSOLES) ; do | ||
| - | [ " | ||
| - | initctl start tty TTY=$tty | ||
| - | done | ||
| - | end script | ||
| - | </ | ||
| - | |||
| - | ==== Gentoo ==== | ||
| - | |||
| - | Add the following line to the ''/ | ||
| - | |||
| - | < | ||
| - | # vpsFree remote console | ||
| - | c0: | ||
| - | </ | ||
| - | |||
| - | The console should work after a restart. | ||
| - | |||
| - | ==== Ubuntu ==== | ||
| - | //This is not necessary for the current Ubuntu template.// | ||
| - | |||
| - | Open the file ''/ | ||
| - | |||
| - | < | ||
| - | start on stopped rc or RUNLEVEL=[2345] | ||
| - | stop on runlevel [!2345] | ||
| - | respawn | ||
| - | exec /sbin/getty -L 38400 tty0 vt102 | ||
| - | </ | ||
| - | |||
| - | Run the service using '' | ||
| - | a restart. | ||
| - | |||
| - | ===== If It Isn’t Working ===== | ||
| - | If the console isn’t working, isn’t displaying every character or doesn’t allow login, | ||
| - | you probably have several instances of getty running and a race condition occurs. | ||
| - | This problem can be solved by turning off the extra getty in ''/ | ||