LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2006, 11:57 PM   #1
sc2sick
LQ Newbie
 
Registered: Apr 2005
Location: St. Paul, MN
Distribution: Fedora Core 5
Posts: 6

Rep: Reputation: 0
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
 
Old 05-06-2006, 12:08 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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.
 
Old 05-06-2006, 12:45 AM   #3
sc2sick
LQ Newbie
 
Registered: Apr 2005
Location: St. Paul, MN
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 05-06-2006, 01:36 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 05-06-2006, 10:37 AM   #5
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
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.
 
Old 05-06-2006, 10:51 AM   #6
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You have to run the commands as root.
 
Old 05-10-2006, 11:57 AM   #7
sc2sick
LQ Newbie
 
Registered: Apr 2005
Location: St. Paul, MN
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 05-10-2006, 12:03 PM   #8
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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?
 
Old 05-10-2006, 12:51 PM   #9
sc2sick
LQ Newbie
 
Registered: Apr 2005
Location: St. Paul, MN
Distribution: Fedora Core 5
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 05-10-2006, 12:55 PM   #10
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I setup an Intranet? coopns Linux - Networking 5 01-19-2006 10:35 AM
Setup intranet on Fedora Core4 & win98 linux_loogs Linux - Networking 1 09-22-2005 04:41 PM
The best Intranet Mail Server !! hitesh_linux Linux - Networking 8 01-02-2005 09:30 AM
Intranet Web Server Dr_Monkey Linux - Networking 1 05-20-2004 11:32 PM
Intranet Web Server??? timmy_laf Mandriva 1 01-05-2004 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration