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/10 13:57] tomsmanuals: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 
-[[navody:vps:api#cli|vpsfreectl]] utility. If you can choose, I recommend +[[manuals:vps:api#cli|vpsfreectl]] utility. If you can choose, I recommend 
-using [[navody:vps:api#cli|vpsfreectl]] to access the console. The console+using [[manuals:vps:api#cli|vpsfreectl]] to access the console. The console
 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 to follow the process of turning the VPS 
-off and on. Disconnecting from the console does not log the user off unless an unintentional 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 =====
  
-{{console-2-web.png?600|}}+{{navody:vps:console-2-web.png?600|}}
  
 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?600|}}+{{navody:vps:console-1-web.png?600|}}
  
 ===== vpsfreectl ===== ===== vpsfreectl =====
 The installation process for ''vpsfreectl'' is described in the article about our The installation process for ''vpsfreectl'' is described in the article about our
-[[navody: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 40: Line 38:
  
 Here, substitute ''<VPS_ID>'' for the ID of the VPS to which you want to connect the console. Here, substitute ''<VPS_ID>'' for the ID of the VPS to which you want to connect the console.
-The console can be closed by pressing the ''ENTER ESC .'' buttons one after another (//enter escape +The console can be closed by pressing the ''ENTER ESC .'' keys one after another (//enter escape 
 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 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 they have encountered an access right conflict. 
-This problem can be solved by turning off the extra getty in ''/etc/inittab''. 
- 
manuals/vps/console.1481378240.txt.gz · Last modified: 2016/12/10 13:57 by toms