09-01-2007
Quote:
Originally Posted by
knownothing
I've been given access to a virtual server. I've worked out how to connect with it using SSH (in my unix terminal window). But I'm clueless about how to continue. The last time I made web services. I had a fancy web-based control panel. Now I just have the command line.
There are three things I need to know:-
1. What's the unix command to change my login password?
2. How do I transfer files into my account? (My log-in details said nothing about FTP, but I got an IP address, and I tried setting up FTP (in Dreamweaver) with my username and password - but that didn't work.) Is there a command line way to transfer files?
3. What's the command line to set up a MySQL database? In PHP, I want to do this:-
mysql_connect("localhost","databasename","databasepassword");
So I want to create the database with the databasename and databasepassword that I'll use in my code. (I don't need help with the programming side of things - just the command line stuff.)
Can anyone get me started? I know nothing.
- passwd
- ftp - contact your virtual host provider
- mysqladmin
9 More Discussions You Might Find Interesting
1. Solaris
Earlier today SPARCBOOK 5000 was working, but was asked to upgrade an application on it.
1. uninstalled application
2. loaded latest solaris 8 recommended cluster (downloaded it yesterday).
3. reboot machine after patch update
On reboot all looks OK upto the point it attempts to run... (9 Replies)
Discussion started by: devonthomas384@
9 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Imagine I'm using SSH or TELNET to connect to one of my clustered database servers. I log in using a virtual server name not knowing which one of my two database servers i will connect to. Now the question:
If all I have is the virtual server name e.g.
SSH DavoH@gb1234QVD011Px7
and... (1 Reply)
Discussion started by: DavoH
1 Replies
3. Solaris
Iam using a Dell laptop..... i installed Solaris 10.... 'm getting a X-Server cannot be started on display 0 error. Can anyone help me in fixing ??? (2 Replies)
Discussion started by: sarathnag25
2 Replies
4. Solaris
Hey Guys,
I have just moved my machine to a new location
and reconfigured my DNS and ip...
and for an unknown reason
I get this X-Server can not be started error on startup.
This is what I got in my Xerrors log:
It is possible to start a graphical session (X-Server) manually, ... (8 Replies)
Discussion started by: wasabihowdi
8 Replies
5. Solaris
hi ,
I have install Oracle solaris 10 8/11 on intel core i5 server. But its not opening in graphic mode showing message X-Server can not be started on display ...
(EE) Unable to locate/open config file
Drivers to try are: "intel" "i810" "fbdev" "vesa" vga"
(EE) failed to load module "dri"... (3 Replies)
Discussion started by: zeeshan047
3 Replies
6. Red Hat
Hi Friends,
My Server is con't stated..it shows the below error..
Red hat exterprise Linux As Release 4(nahat)
kernel 2.6.9-5.ELsmp on an i686
INIT : id "x" respawing too fast :disabled for 5 minutes...
Please help help
Thanks,
Srinivas (1 Reply)
Discussion started by: srinivas814
1 Replies
7. Red Hat
Got two RHEL servers - one real and one virtual/cloud.
Both run apache web server.
When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem.
Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies
8. Red Hat
Dear Expert Users,
VMware Admin Tool is used to create a "clone" of an existing VM RHEL Server. Now, I have a Project where a cloned VM Server image is started for run . Please share what are all configuration changes required to ensure this runs fine ?
I will be grateful for quick and... (2 Replies)
Discussion started by: schandrakar1
2 Replies
9. UNIX for Beginners Questions & Answers
Good Morning,
I recently cloned a sunblade 2500 to another sunblade 2500 and had an issue getting the GUI: X-Server can not be started on display :0
The issue was that the first machine had an xvr600 graphics card, and the new machine had an xvr100. Installing a new driver took... (0 Replies)
Discussion started by: Stellaman1977
0 Replies
LEARN ABOUT DEBIAN
libssh2_channel_direct_tcpip_ex
libssh2_channel_direct_tcpip_ex(3) libssh2 manual libssh2_channel_direct_tcpip_ex(3)
NAME
libssh2_channel_direct_tcpip_ex - Tunnel a TCP connection through an SSH session
SYNOPSIS
#include <libssh2.h>
LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip_ex(LIBSSH2_SESSION *session, const char *host, int port, const char *shost, int sport);
LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session, const char *host, int port);
DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3)
host - Third party host to connect to using the SSH host as a proxy.
port - Port on third party host to connect to.
shost - Host to tell the SSH server the connection originated on.
sport - Port to tell the SSH server the connection originated from.
Tunnel a TCP/IP connection through the SSH transport via the remote host to a third party. Communication from the client to the SSH server
remains encrypted, communication from the server to the 3rd party host travels in cleartext.
RETURN VALUE
Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
SEE ALSO
libssh2_session_init_ex(3)
libssh2 0.15 1 Jun 2007 libssh2_channel_direct_tcpip_ex(3)