Difference between revisions of "Screen on Centos 6"

From vpsget wiki
Jump to: navigation, search
Line 24: Line 24:
 
You can chek your screen list by command:
 
You can chek your screen list by command:
 
  screen ls
 
  screen ls
 +
 +
[[Category:Linux]]
 
The next information will be appear:
 
The next information will be appear:
 
  There is a screen on:
 
  There is a screen on:

Revision as of 11:26, 19 June 2015

Chek the screen installation in your system:

which screen

If installation is not performed, install epel repository:

yum install epel-release

Install screen:

yum install screen

If you got the following error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” just use this commands:

sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo
yum –y update

And try to install screen again.

When screen is installed, start new screen:

screen

Try to install some hard soft, cpanel for example:

cd /home
wget -N http://httpupdate.cpanel.net/latest
sh latest

Then press Ctrl+a+d. You will see the following inscription:

[detached]

Now your installation is continued in screen, and you can exit your putty session or start any other installation. Cpanel will still be installed.

You can chek your screen list by command:

screen ls

The next information will be appear:

There is a screen on:
22570.pts-2.server  (Detached)
1 Socket in /var/run/screen/S-root.

If you want to connect to some scren:

screen -r 22570.pts-2.server 

For exiting of current screen use this command :

exit

Screen has many different functions, for more detail information use:

screen –help