|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Redhat 9.0 Server
Hey, a few months ago I started asking questions about how to set up a server on Redhat 9.0, well I finaly got started (better late than never). I've got Apache installed and I'm working out the permissions so I can test PHP. I was wondering how to ftp or ssh into my machine once I'm done. Can I just point my ftp or ssh client to the domain and use a username on that machine to get into an account or do I have to have something installed on the server too?
|
|
#2
|
|||
|
|||
|
RE: Redhat 9.0 Server
You should just be able to ssh into the box.
Once in, apache is not usally on by default check this by doing a /etc/rc.d/init.d/httpd status If off, start it up /etc/rc.d/init.d/httpd start Then add it so it starts all the time by doing a chkconfig httpd on Oh, you must be root to do this. Loging under your username and the change to root by typing su This means super user. It will prompt for password |
|
#3
|
|||
|
|||
|
RE: Redhat 9.0 Server
how do I know what to put in for the address of the machine to SSH into it?
|
|
#4
|
|||
|
|||
|
RE: Redhat 9.0 Server
Did you assign it an IP address during install? Use that IP
|
|
#5
|
|||
|
|||
|
RE: Redhat 9.0 Server
I didn't assign it an IP but I was able to get to a test page from an IP after I installed Apache. Is that the IP to use?
|
|
#6
|
|||
|
|||
|
RE: Redhat 9.0 Server
Sure, give it a try.
|
|
#7
|
|||
|
|||
|
RE: Redhat 9.0 Server
Allright.. the address of my homepage is http://192.168.1.103/ I tried putting that in as the host name on my SSH client but it said the host is unknown. I am able to access that page from a browser, though. Any sugestions?
|
|
#8
|
|||
|
|||
|
RE: Redhat 9.0 Server
Oh, sorry, just use the IP address only.
|
|
#9
|
|||
|
|||
|
RE: Redhat 9.0 Server
Allright... i just used the IP this time and I got an error saying the host is unreachable. I can definatly visit the page from browser though.
|
|
#10
|
|||
|
|||
|
RE: Redhat 9.0 Server
Are you using SSH Port 22 or telnet port 21? Telnet is off by default.
|
|
#11
|
|||
|
|||
|
RE: Redhat 9.0 Server
I've been useing port 22. I just tried 21 but still no luck. Could it be a problem with something I configured on the server?
|
|
#12
|
|||
|
|||
|
RE: Redhat 9.0 Server
Where is the machine you are trying to connect to? Are you on the same network?
Did you install that firewall thing? |
|
#13
|
|||
|
|||
|
RE: Redhat 9.0 Server
I am on the same network as the machine I'm trying to SSH into (in fact we're plugged into the same router). I'm not sure what the firewall settings on the Linux server are, though. Where should I check that and what should the settings be?
|
|
#14
|
|||
|
|||
|
RE: Redhat 9.0 Server
Do you have a terminal window or a gui if you are in front of the machine?
|
|
#15
|
|||
|
|||
|
RE: Redhat 9.0 Server
first, I would make sure ssh is listening for a connection. do a "netstat -na | grep 22" and see if you have a port 22 listening. If not, make sure the daemon is running, "ps -aux | grep sshd"
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Redhat 9.0 Server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|