
|
View Full Version : New to this...setting up Linux FDCserver for the web HELP??
LMS MIS 08-16-2002, 12:39 PM i logged in via SSH on this server that says was included with REDHAT and WEBMIN and all i see is anaconda.cfg in the root
it appears to have no FTP access activated as i can only SSH in for somereason. When i purchased the FDCserver it said i would get WEBMIN free.
Had some questions but appears they are busy and i don't really feel like waiting around for an answer
1. do i need to install Apache or some other webserver on it?
2. how can WEBMIN be included if there is no webserver installed?
3. is MYSQL/PHP usually included?
4. how would i normally access a Control Panel?
normally CPs are found at http://ipaddress/admin/
the way i see this one appears as if the webservices are turned off.
I would very much like to just get FTP running and start uploading my sites before tonight.
FDCservers needs some support pages on their website to describe this process to newbie customers like me!!
webmin... http://ipaddress:10000/
LMS MIS 08-16-2002, 01:37 PM still nothing
i get Cannot Find Server/ Page Cannot Be Displayed when trying that with my IP
i'm begining to think this box doesnt even have apache on it
any clues??
wakkow 08-16-2002, 01:52 PM try searching for it:
find / -name apachectl
LMS MIS 08-16-2002, 02:01 PM Last login: Sat Aug 17 02:02:27 2002
[root@localhost root]#
[root@localhost root]# find / -name apachectl
[root@localhost root]#
looks like it displays no results when i do that either
prime 08-16-2002, 02:19 PM Hello..
Originally posted by LMS MIS
1. do i need to install Apache or some other webserver on it?
2. how can WEBMIN be included if there is no webserver installed?
3. is MYSQL/PHP usually included?
4. how would i normally access a Control Panel?
1. Yes. But when I got my server from them, pretty much everything was installed. In fact, I guess there was too much for my taste... But you should have a full working server. The services (ftd daemon, http daemon, ...) may not be active... but they should be there. I think the default redhat config directory for apache is /etc/httpd/conf. Look if you have it. If not, the easiest for you would be to go to redhat.com, find a mirror server (because the main one is always so slow) and get a bunch of RPMs files for what you want to install. You start with one or two things, and then RPM will tell you you need this and that and you'll end up (re)installing 20 packages.
2. Webmin (see www.webmin.com) is not a web server, and doesn't require one. It's a control panel used to configure your server. Try (without the quotes) "ps -ax | grep miniserv.pl". If it's loaded, then webmin should be working. It may be that port 10000 is closed on your server by some kind of firewall.
3. I think it is installed in a default server config, which is probably what FDC is installing on their servers.
4. As someone pointed out, it's usually http(s or not)://(domain name or IP address):port. Each control panel uses its own port, but that can be changed I think if needed.
I would very much like to just get FTP running and start uploading my sites before tonight.
Good luck ;) If it's a new servers, the domain names you want activated may not be pointed to your new server before 48 hours..
FDCservers needs some support pages on their website to describe this process to newbie customers like me!!
Well, they are offering unmanaged servers... Don't take it the wrong way, but people with little or no management experience should go for a managed server. FDC (rackshack, server beach, ...) can offer these low prices because they don't have to offer support. Someone should have informed you of this before.
One bit of advice... make regular backups of important files. You'll be glad you did.
prime
diederik 08-16-2002, 02:37 PM Originally posted by LMS MIS
FDCservers needs some support pages on their website to describe this process to newbie customers like me!!
The search button on this forum and Google can help you aswell :)
LMS MIS 08-16-2002, 02:39 PM thanx for the help
when i typed ps -ax | grep miniserv.pl
i got the response: 11974 pts/0 S 0:00 grep miniserv.pl
[root@localhost root]#
i have no clue what that means and would appreciate any further help
it did a find on that directory you mentioned([root@localhost root]# find /etc/httpd/conf) and it pulled up:
/etc/httpd/conf
/etc/httpd/conf/ssl.crl
/etc/httpd/conf/ssl.crl/Makefile.crl
/etc/httpd/conf/access.conf
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/magic
/etc/httpd/conf/srm.conf
/etc/httpd/conf/Makefile
/etc/httpd/conf/ssl.crt
/etc/httpd/conf/ssl.crt/snakeoil-ca-dsa.crt
/etc/httpd/conf/ssl.crt/Makefile.crt
/etc/httpd/conf/ssl.crt/ca-bundle.crt
/etc/httpd/conf/ssl.crt/server.crt
/etc/httpd/conf/ssl.crt/snakeoil-ca-rsa.crt
/etc/httpd/conf/ssl.crt/snakeoil-dsa.crt
/etc/httpd/conf/ssl.crt/snakeoil-rsa.crt
/etc/httpd/conf/ssl.csr
/etc/httpd/conf/ssl.key
/etc/httpd/conf/ssl.key/server.key
/etc/httpd/conf/ssl.key/snakeoil-ca-dsa.key
/etc/httpd/conf/ssl.key/snakeoil-ca-rsa.key
/etc/httpd/conf/ssl.key/snakeoil-dsa.key
/etc/httpd/conf/ssl.key/snakeoil-rsa.key
/etc/httpd/conf/ssl.prm
/etc/httpd/conf/ssl.prm/snakeoil-ca-dsa.prm
/etc/httpd/conf/ssl.prm/snakeoil-dsa.prm
and i still cannot access anything at the IP on port 10000 either http:// or https://
I knew it was unmanaged at FDC and was with rackshack and other unmanaged places before, but i didn't know it was going to be this MUCH unmanaged.
either way you said when you got your FDC server there were things installed/ready to use on it, why not on mine? :(
prime 08-16-2002, 03:18 PM Too long to quote... ;)
"ps" is a *nix command to print what's happening on your server. -ax are options to ask only for some processes (man ps will give you more info). The | tells *nix to take what was generated by the 1st command and send it to the next (grep). Grep is a find command. It prints only what contains the string you give it. So
ps -ax | grep miniserv.pl
creates a list of running processes according to the options, sends the results to grep which looks for miniserv and reports what it found.
miniserv is the webmin server. That's why I selected that file. The results only report
11974 pts/0 S 0:00 grep miniserv.pl
so grep only found miniserv in its own command. So webmin is not working.
2 things to try now.
Try 'updatedb', followed by 'locate miniserv.pl' (WIthout the quotes, as always). redhat (and maybe others) often has a database of installed files. updatedb will put it up to date (could take a min or two or three..) and locate will try to locate the miniserv file. If it's not there, webmin isn't installed.
Just to be sure, try also 'rpm -qa | grep webmin'. rpm is the Redhat Package Management system. It's the easiest way to install stuff on a redhat system. -qa means to get a list of all installed rpms, and then we send it again to grep...
As for apache, it seems it's installed. Try apachectl configtest. That will tell us if apachectl is also installed, and look at your config. If it is, don't start it (apachectl start). You'll need to configure it first, and that's why we're looking for webmin.. It will be a lot easier than getting you to modify the raw config files.
As for the server being unmanaged, hell, even I was surprised and a bit lost when all I got was an ip and password... And I'd been managing private company servers for a while! I guess it's much easier when you install everything yourself and start from scratch.
And so far, you may not be missing anything. They're just not on, which is a good thing as the server probably isn't secured yet.
Take care...
wakkow 08-16-2002, 03:51 PM try some of these:
whereis apache
whereis httpd
(not sure if whereis installed or not)
find / -name apache
find / -name httpd
Look in the /etc/init.d or /etc/rc.d or /etc/rc.d/init.d .. i forgot what redhat uses.. I've been using debian for too long.. and see if there's anything that looks like an ftp or web server.. That's what should load when the server boots.
LMS MIS 08-16-2002, 04:03 PM tried all your suggestions and looks like the apache stuff is all there (just downloaded apache past 3 hours for nothing) hehe
anyways so lets say this "Webmin" is not working. How would i get it to work?
i tried what both of you suggested, whereis apache pulled up a result but i searched for that miniserv.pl file again and this time, no results
[root@localhost /]# dir
bin dev home lib misc opt root tmp var
boot etc initrd lost+found mnt proc sbin usr
[root@localhost /]# cd root
[root@localhost root]# whereis apache
apache: /usr/lib/apache /usr/include/apache
You have new mail in /var/spool/mail/root
[root@localhost root]# ps -ax | grep miniserv.pl
[root@localhost root]#
[root@localhost root]# whereis httpd
httpd: /usr/sbin/httpd /etc/httpd /usr/share/man/man8/httpd.8.gz
[root@localhost root]# find / -name apache
/etc/logrotate.d/apache
/usr/lib/apache
/usr/include/apache
[root@localhost root]# find / -name httpd
/var/log/httpd
/var/cache/httpd
/etc/rc.d/init.d/httpd
/etc/httpd
/usr/sbin/httpd
[root@localhost root]#
ckpeter 08-16-2002, 04:06 PM No offense, but you sound like you shouldn't be getting a dedicated server without doing some learning first. Or you should have gotten a managed dedicated server.
As for your problems, try this,
service webmin start
then go to http://<your IP>:10000/
Or you could install webmin yourself.
As for apache, do
service httpd start
and your site should be visible at http://<ipaddress>/
Peter
LMS MIS 08-16-2002, 04:13 PM Peter i know, i thought that unmanaged meant what rackshack and other places give you. I've been with other "unmanaged" companies and they were no where near this unmanaged. I thought thats what my set up fee was for, to set up redhat, webmin and apache, etc.
anyway just tried to start the webmin and i still do not think its there
[root@localhost root]# service webmin start
webmin: unrecognized service
just got an email from FDC servers
yes we can install webmin free of charge if you request so. We don`t install
it automaticaly as we never know what the clients`s intentions with the
server are
yes apache is installed
you can accesswebmin ( if it`s installed) using this url
http://yourIP:10000
see what happened here is I DID request it in their order form where it says Free Webmin and its not there. So they goofed. I guess they or i need to install Webmin
ckpeter 08-16-2002, 04:14 PM Try this,
rpm -q webmin
This should tell you if webmin is installed or not (at least through rpm).
Peter
LMS MIS 08-16-2002, 04:18 PM [root@localhost root]# rpm -q webmin
package webmin is not installed
ckpeter 08-16-2002, 04:20 PM Well, then it is not installed.
Do the following to install webmin,
cd
wget http://umn.dl.sourceforge.net/sourceforge/webadmin/webmin-0.990-1.noarch.rpm
rpm -Uvh webmin*
Peter
dbzgod 08-16-2002, 04:49 PM LMS MIS,
If you still need help, I would be more than happy to help you get your server set up. No charge involded, I just feel like helping people that are new to servers.
So just see my profile for contact options and drop me a line.
Andy
anantatman 08-18-2002, 03:32 AM download the rpm by
doing a "wget http://location of webmin rpm"
or use lynx --dump if you dont have wget.
do a
"rpm -hiv webmin.rpm "
and you're set.
ckpeter 08-18-2002, 03:39 AM Isn't this the same as the steps I posted?
Peter
anantatman 08-18-2002, 03:59 AM must not have seen the second page,
my bad
Abu Mami 08-18-2002, 07:03 AM Originally posted by ckpeter
Isn't this the same as the steps I posted?
Uhh, well, no.
ckpeter wrote:
rpm -Uvh webmin*
anantatman wrote:
rpm -hiv webmin.rpm
So, there is a difference. How come these two have different options? What's the story? (Uhh, yes, I know I could look up the rpm docs, but I'd like to know why each of you chose the options you did. Kapish?)
Darth 08-18-2002, 08:15 AM Use rpm -Uvh webmin*
ckpeter 08-18-2002, 11:18 AM The "U" flag means to upgrade, the "i" flag means to install. Usually, the "U" option works for upgrade as well.
If you use "i" and found out that the package was already installed, (which *could* have been the case in this thread), rpm won't install it for you, but using the "U" flag, it will.
Peter
StarGate 08-18-2002, 11:33 AM Hi LMS MIS,
feel free to contact me online or per mail (it is all in my profile) and I will gladly help you.
Robert
|