LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to setup intranet server (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-setup-intranet-server-442089/)

sc2sick 05-05-2006 11:57 PM

Trying to setup intranet server
 
okay, first the intro.. i used linux as a desktop user for a couple of years.. however i'm still a noob... big time i'm realizing now.

my goal is to setup an intranet webpage at work
i currently have my own website for my hobby.

that's hosted offsite so all the server side is taken care of.

my office has a DNS server already setup, so that's done.

the server at the office is a capable machine. we want to run Fedora Core 5 . it seems to be the standard. it doesn't matter how many times we wipe the drive either.

how do i verify that apache ( or a recommended web server is installed/up/running? i'm also having a huge n00b moment trying to find out the IP address of my linux box @ home where i'm practicing this all from this weekend.

the software i want to run is SMF

so i also need SQL ( preferably with a GUI because i'm a terminal n00b )
and PHP ( again, GUI if necessary to configure ) .

where again are the file stored for the webserver?

also need : FTP and appropriate tutorial for somebody clueless to linux .

future holds : SSH

tangle 05-06-2006 12:08 AM

At the terminal type ps -x and look for httpd. If it is there it is running. If not, type service httpd start to start it.

To find the ip address type ifconfig at the terminal.

There are someMySQL front ends like MySQLfront and such. There is PHPmyadmin that is web based.

The files I believe are stored in /var/www/httpd in Fedora.

vsftp is a good secure ftp server.

Google for tutorials, and start reading.

sc2sick 05-06-2006 12:45 AM

if config didn't seem to work..? says command not found.

when i type service httpd start it says command not found.

i can't find an httpd directory under /var/www .

i chose all of these options during the install..

i'm starting to get frustrated and consider using windows... please help me out.

Nylex 05-06-2006 01:36 AM

Try running "/sbin/ifconfig" as a normal user, or become root and run "ifconfig". /sbin usually isn't in the $PATH for normal users. Most likely you'll need to be root to run service.

nabeelmoidu 05-06-2006 10:37 AM

You can check out if the default web server is installed using
rpm -qa httpd
If you don't get a result , you will have to install apache.
similarly for ftp , check out rpm -qa vsftpd

The config file for apache is
/etc/httpd/conf/httpd.conf
in redhat/fedora installations.

For GUI tools for everything I suggest you install webmin and go ahead with the modules in it.

tangle 05-06-2006 10:51 AM

You have to run the commands as root.

sc2sick 05-10-2006 11:57 AM

okay, i have vsftpd, apache and webmin installed with all of the correct modules. works good. i can login for the other computer and browse the "website" that i'm trying to host on this server. however, i need ftp access to work from outside of the local box. when i'm in terminal and type ftp > o localhost > etc... i can login from there. when i try to login to ftp from anothe computer it says login incorrect. i have local logins enabled... the domain is still setup as localhost.localdomain. do i just need to login as admin or admin@ ????

also, any recommendations on how to install MySql?

tangle 05-10-2006 12:03 PM

Here are a couple easy to read tutorials.
http://www.redhat.com/docs/manuals/e...ftpd-conf.html
http://www.netadmintools.com/art355.html

Did you restart vsftpd after changing the config?

sc2sick 05-10-2006 12:51 PM

nvm, i can login now. what permissions do i set to make it so ftp users can access and modify the /var/www/html directory?

tangle 05-10-2006 12:55 PM

If this is for a single site, I would add the users to the apache group. I think that is the group Fedora runs apache under.


All times are GMT -5. The time now is 01:02 PM.