Wednesday, January 16, 2013

How to use linux centos terminal basicly?

Q. i have free vps by Host1Free and centos installed. Ok i want to niow how to upload, delete, rename, move, copy, list files using putty when o connect remotelt. To say this simply: i want terminal commands to manage files.

A. Try these links:

http://www.tuxfiles.org/linuxhelp/cli.html

http://linuxcommand.org/learning_the_shell.php

How to have linux VPS keep running java server?
Q. I have the server an all working.
Minecraft server actually.
But I noticed the server will stop when I close my putty the server will server aswell.
How do I get it to constantly run? Even if my computer is off or not

A. one way would be to use nohup. just start your program with something like:
nohup ./yourprogram
that will keep the program alive, even when you log out. but this will not work with programs that take input from the console.
another way is to use a screen session (if screen is installed). with the command "screen" you start a shell session in which you can then start programs. if you press ctrl+a, ctrl+d (in that order), the session gets detached and will continue after you log out. after logging in, you can resume the session with "screen -r sessionname".
for more informations, try "man screen" or "man nohup".

How do i configure vnc on a linux vps?
Q. I installed vnc server with yum on putty and don't know what to do now, launched it and can't connect to it.

A. You have a vncserver running?

vncserver -list

If not, set your vncpasswd with that very utility if you haven't, then run...

vncserver

to start one up on the default port 1. Can also say "vncserver :2" and so forth. Then connect to the IP with a viewer. Might have to say IP:5901 (5902, whatever the port is you started it on)

vncserver -kill :1 (or whatever port), when you're done with the server.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment