Link to home
Start Free TrialLog in
Avatar of sof_combat
sof_combat

asked on

FreeBSD internet access and installing lynx, apache...

*I am fairly new to unix and FreeBSD

I previosly did a minimal installation of FreeBSD 6 in order to test some C++ programs before going to work on the real server. Tommorow I will need to install Samba on the server at work. What I wanted to do was set up FreeBSD at home to almost mirror the installation at work. I didn't configure or install anything at work so I don't know how to do much.

I need to be able to have internet access (I cannot ping)
I need to install lynx.
I need to install apache.

and any other things required to get lynx apache lynx and samba to work

I need to install Samba. (since this is what I really need to do im making it a separate question)
Avatar of sof_combat
sof_combat

ASKER

My main concern is to get internet access so I can install things with ports. any help?
Installing FreeBSD again IS an option if that would be easier. (but I need to know what options to select)
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok i shall try that immediatly and post results while im doing it.
As the first steps use sysinstall, so you get some time to familiarize with command line tools, like pkg_add in example.
I have to sleep now. Goodnight.
when i run sysinstall and go to configure, there is no networks option afterward, there is a networking and then I found it and used the FreeBSD handbook and this picture:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install/ed0-conf2.png

(this was REALLY what started me going! thanks A lot!)
----------------------------------------------------------------------------------------------------------------------------------------------------

To install lynx I did it through ports>>

and cd into the lynx folder and did make && make install && make clean

------------------------------------------------------------------------------------------------------------------------------------------------------

lynx is still installing at this point.

When i go to install apache is there anything that needs to be configured?

Also what does:
pkg_add -r lynx-ssl apache2 w3m samba
do?
If anyone can help with Samba (which is what i need to learn to install and configure) please go here:
https://www.experts-exchange.com/questions/21736628/Installing-And-Configuring-Samba-On-FreeBSD.html

~Goodnight, and thanks a ton for leading me in the right direction gheist!
Update >> Lynx Is Successfully Installed And Working!

Currently>> Installing Apache:
NEED Help With Any And All Configuring!

Thanks
Apache finished installing now im looking at >>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-apache.html

to configure it.
I added: apache_enable="YES" to rc.conf

does anyone know if i NEED to make changes to  /usr/local/etc/apache/httpd.conf in order for it to run?


Also I tried to exit and its saying "There are suspended jobs"
Im assuming there is an unfinished task, what do I do?
I installed from www/apache21 folder:
does this mean it is apache 2.1? I have been following the guide for 1.3.


Also i didnt make a backup of the original httpd.conf, where can i find the default? or how can i restore the default configuration?
"There are suspended jobs"
>> i solved this by doing fg and finishing the job. =)

Can anyone help, this is pretty important and urgent.
>>> I Need To Configure Apache Now

Can Anyone Help Me Please?
There is special topic area dealing with that, and documentation section in httpd.apache.oeg