Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help me please, urgency

Status
Not open for further replies.

PinkHeaven

Technical User
May 27, 2003
3
US
We ordered a dedicated server . However, they give us an unmanaged server (mean that, they installed php, ftp, mysql already, but not config). They just give us the ssh account for root. We can only SSH to the server, but can't do anything else. We asked them to config for us, but they asked for $240. We are a non profit group.

So now, anyone please helps us out? Show us how to config and enable the ftp (to make it work, since we tried to ftp to that ip, but it always says wrong password), how to enable the web server, and changing dns to that ip (we have 2 domains)? I checked and see that they installed the WU-ftp server .

thanks in advance.


 
All below assuming you have a newish RH version:

With FTP are you trying to login as user root? Root is by default disqualified from FTP connections. In /etc/ftpusers you need to remove the entry for root, in /etc/ftpaccess you need to comment out the following entries by placing a # in front of it:

#deny-uid %-99 %65534-
#deny-gid %-99 %65534-

Do remember that giving FTP access for root user isn't very safe. Add the following to the ftpaccess file to chroot users, it makes it a bit safer:

restricted-uid *

You should have this somewhere in there too:

allow-uid ftp
allow-gid ftp

To enable the web server it requires a bit more than just starting. You need to edit /etc/httpd/conf/httpd.conf, you will need to read up about this.
To start the web server the easiest way is to use chkconfig. "chkconfig --list httpd" will show you if it was enabled in the runlevels.You need to at least add it to runlevel 3 to start up. (chkconfig --level 3 httpd on)

As for DNS, you need to give a bit more info, i.e. is DNS configured on the box, etc.


IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
For ftp, rather than enable root access, it would be better to create a user "adduser" command and use that to access the ftp server.

Also, what linux distro are you using? The config methods can differ depending on which on eis being used.
 
I don't know, they just give us the unmanaged dedicated server, with RedHat Linux 8.0.

I added another user, still try to ftp but not work. Still looking what you wrote .
 
Install webmin... It'll save you a bunch of time.

Download it to a cd, then do
mount /dev/cdrom,
cd /mnt/cdrom,
rpm -U webmin-version#.
Then visit the server at Login as root... Configure away
 
Followed all things aixmurderer wrote, but ftp, web still can't, so :
so, how to enable ftp server ? I tried to connect, but it can't .

in the httpd.conf , I change the ServerName to the ip of server, is that all?

I installed webmin and login at root, but don't know how to make the web, ftp enable.
 
Webmin ->Servers->Apache
or
Webmin ->Servers->WU-FTP

You can configure, start/restart servers from their and much more...
 
Also check out the /etc/sysconfig/ipchains file. You may be REJECTING access.

Not a file for newbies to mess around with though!

:)

-pd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top