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
genhash
genhash(1) General Commands Manual genhash(1)
NAME
genhash - md5 hash generation tool for remote web pages
SYNOPSIS
genhash [options] [-s server-address] [-p port] [-u url]
DESCRIPTION
genhash is a tool used for generating md5sum hashes of remote web pages. genhash can use HTTP or HTTPS to connect to the web page. The
output by this utility includes the HTTP header, page data, and the md5sum of the data. This md5sum can then be used within the
keepalived(8) program, for monitoring HTTP and HTTPS services.
OPTIONS
--use-ssl, -S
Use SSL to connect to the server.
--server <host>, -s
Specify the ip address to connect to.
--port <port>, -p
Specify the port to connect to.
--url <url>, -u
Specify the path to the file you want to generate the hash of.
--use-virtualhost <host>, -u
Specify the virtual host to send along with the HTTP headers.
--verbose, -v
Be verbose with the output.
--help, -h
Display the program help screen and exit.
--release, -r
Display the release number (version) and exit.
SEE ALSO
keepalived(8), keepalived.conf(5)
AUTHOR
genhash was written by Alexandre Cassen <acassen@linux-vs.org>.
This man page was contributed by Andres Salomon <dilinger@voxel.net> for the Debian GNU/Linux system (but may be used by others).
Feb 2004 genhash(1)