User Tools

Site Tools


manuals:vps:console

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manuals:vps:console [2016/12/19 12:17] – [Remote Console] fix typo Aithermanuals: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 interface or directly from the terminal using the+The console is available either via an web interface or directly from the terminal using the
 [[manuals:vps:api#cli|vpsfreectl]] utility. If you can choose, I recommend [[manuals:vps:api#cli|vpsfreectl]] utility. If you can choose, I recommend
 using [[manuals:vps:api#cli|vpsfreectl]] to access the console. The console using [[manuals:vps:api#cli|vpsfreectl]] to access the console. The console
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 to follow the process of turning the VPS
 off and on. Disconnecting from the console does not log the user off unless an intentional logoff off and on. Disconnecting from the console does not log the user off unless an intentional logoff
 takes place before disconnecting. takes place before disconnecting.
  
-===== The Online Interface =====+The console can be used to access the [[manuals:vps:start_menu|start menu]], which appears 
 +when the VPS is being started or restarted. 
 +===== Web Interface =====
  
 {{navody:vps:console-2-web.png?600|}} {{navody:vps:console-2-web.png?600|}}
Line 27: Line 29:
 [[manuals:vps:api#cli|API]]. [[manuals:vps:api#cli|API]].
  
-<html> +{{ youtube>Eg_i_iX7l6I?large }}
-<iframe width="560" height="315" +
-src="https://www.youtube.com/embed/Eg_i_iX7l6I" frameborder="0" +
-allowfullscreen></iframe> +
-</html>+
  
 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
 </code> </code>
- 
-===== 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 ''/etc/inittab'' file: 
- 
-<code>1:2345:respawn:/sbin/getty 38400 tty0</code> 
- 
-==== El (Scientific Linux, CentOS) ==== 
-Add the following lines to the ''/etc/init/tty.conf'' file: 
- 
-<code> 
-stop on runlevel [S016] 
- 
-respawn 
-instance $TTY 
-exec /sbin/mingetty $TTY 
-</code> 
- 
-Then open ''/etc/init/start-ttys.conf'' and add: 
- 
-<code> 
-start on stopped rc RUNLEVEL=[2345] 
- 
-env ACTIVE_CONSOLES=/dev/tty[0-6] 
-env X_TTY=/dev/tty1 
-task 
-script 
-        . /etc/sysconfig/init 
-        for tty in $(echo $ACTIVE_CONSOLES) ; do 
-                [ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue 
-                initctl start tty TTY=$tty 
-        done 
-end script 
-</code> 
- 
-==== Gentoo ==== 
- 
-Add the following line to the ''/etc/inittab'' file: 
- 
-<code> 
-# vpsFree remote console 
-c0:2345:respawn:/sbin/agetty --noreset 38400 tty0 
-</code> 
- 
-The console should work after a restart. 
- 
-==== Ubuntu ==== 
-//This is not necessary for the current Ubuntu template.// 
- 
-Open the file ''/etc/init/tty0.conf'' and add: 
- 
-<code> 
-start on stopped rc or RUNLEVEL=[2345] 
-stop on runlevel [!2345] 
-respawn 
-exec /sbin/getty -L 38400 tty0 vt102 
-</code> 
- 
-Run the service using ''sudo start tty0''. It will start automatically after 
-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 ''/etc/inittab''. 
manuals/vps/console.1482149852.txt.gz · Last modified: 2016/12/19 12:17 by Aither