This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| manuals:vps:console [2016/12/10 13:51] – created toms | 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 |
| - | [[navody: | + | [[manuals: |
| - | using [[navody: | + | using [[manuals: |
| works much more reliably and responsively in the terminal than in a web | works much more reliably and responsively in the terminal than in a web | ||
| 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 ===== | ||
| - | {{console-2-web.png? | + | {{navody:vps:console-2-web.png? |
| You can access the console through the VPS tab (see screenshot). | You can access the console through the VPS tab (see screenshot). | ||
| - | {{console-1-web.png? | + | {{navody:vps:console-1-web.png? |
| ===== vpsfreectl ===== | ===== vpsfreectl ===== | ||
| The installation process for '' | The installation process for '' | ||
| - | [[navody: | + | [[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 40: | Line 38: | ||
| Here, substitute ''< | Here, substitute ''< | ||
| - | The console can be closed by pressing the '' | + | The console can be closed by pressing the '' |
| period//). This is the only way you can disconnect from the console (other than closing | period//). This is the only way you can disconnect from the console (other than closing | ||
| the terminal window). | the terminal window). | ||
| Line 53: | Line 51: | ||
| apps adapt to the value of this variable. Thus, at first glance it | apps adapt to the value of this variable. Thus, at first glance it | ||
| might seem that the app or console is not working properly. For example, in order for the | might seem that the app or console is not working properly. For example, in order for the | ||
| - | mouse and colors to work in '' | + | mouse and colors to work in '' |
| mode using the '' | mode using the '' | ||
| 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 they have encountered an access right conflict. | ||
| - | This problem can be solved by turning off the extra getty in ''/ | ||
| - | |||