Archives for Freebsd category
25
Nov
Posted in Freebsd by carlosap |
+——————————————————–+
| You now have successfully built and installed the |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files |
| |
| /usr/local/etc/apache/httpd.conf
| |
| and then you should be able to immediately fire up |
| Apache the first time by running: |
| |
| /usr/local/sbin/apachectl start
| |
| Thanks for using Apache. The Apache Group |
| http://www.apache.org/ |
+——————————————————–+
install -o root -g wheel -m 555 /usr/ports/www/apache13/work/apache_1.3.34/apac he.sh /usr/local/etc/rc.d/apache.sh
===> COMPATIBILITY NOTE:
As of version 1.3.24, the RedirectMatch directive requires an
absolute URL target location per RFC 2068. Uses of RedirectMatch that
specify a relative URL will fail and must be corrected to function.
===> BE CAREFULL HOW TO BOOT on 1.3.29_4 or after:
To run apache www server from startup, add apache_enable=”YES”
in your /etc/rc.conf.
===> Compressing manual pages for apache-1.3.34_4
===> Registering installation for apache-1.3.34_4
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache/libproxy.so (USES POSSIBLY INSECURE FUNCTIONS: mktemp)
/usr/local/sbin/httpd
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/apache.sh
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type ‘make deinstall’
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://httpd.apache.org/
25
Nov
Posted in Freebsd by carlosap |
The Ultimate Media Server
Apache+SSL , PHP, MySQL and Jinzora
Author: Elijah Savage
Date Last Edited 01/29/06 Rev.1
Concept
I started out on this project to create the ultimate multimedia server using all opensource tools and applications. Some of you may be thinking along the lines of a TIVO device, no this was to create a hosting server on my business broadband connection so that I can have access to and listen to my MP3’s from anywhere that had an Internet connection while keeping it all secure as possible.
General Information Read more… »
25
Nov
Posted in Freebsd by carlosap |
If you’re like most people new to Unix, you do everything as root. You shouldn’t. I know I don’t follow my own advice, but I’m trying to improve.
Create yourself another account. Use that instead of root. Unless you really need root. You can always invoke su to become a super user. That way, you don’t have to log out and back in every time you need the power.
|
wheel
|
Only users in the wheel group can run su. The group can be specified when creating a user via adduser. To add a user manuall, just put the name of the user at the end of the line in /etc/group. For example:
wheel:*:0:root,marc
This adds the user marc to the wheel group.
|
|
su
|
To become super user, you do this:
bash-2.02$ su
Password:
su-2.02#
At the password prompt, supply the root password.
Note that you might also want to use either the -l or the -m options. Respectively, these options will simulate a full login or leave the environment unmodified. see man su for details.
|
29
Jun
Posted in Freebsd by carlosap |
on FreeBSD, you need to add a kernelmodule
grep accf /boot/defaults/loader.conf
accf_data_load=”NO” # Wait for data accept filter
accf_http_load=”NO” # Wait for full HTTP request accept filter
add the second to /boot/loader.conf with ‘YES’ to enable this permenately.
29
Jun
Posted in Freebsd by carlosap |
FreeBSD utilizes, by default, a version of BIND (Berkeley Internet Name Domain),
which is the most common implementation of the DNS protocol. DNS is the protocol through
which names are mapped to IP addresses, and vice versa. For example,
a query for www.FreeBSD.org will receive a reply with the IP address of The FreeBSD Project’s web server,
whereas, a query for ftp.FreeBSD.org will return the IP address of the corresponding FTP machine. Likewise,
the opposite can happen. A query for an IP address can resolve its hostname.
It is not necessary to run a name server to perform DNS lookups on a system.
Read more… »
29
Jun
Posted in Freebsd by carlosap |
Esto es por que al editar el archivo rc.conf me equivoque y no corria y para montar la particion se utiliza #mount -t ufs -a ya de esa forma pude editar el rc.conf equivocado pero para recuperar el password se utilizan estas opciones
——————————
boot -s #mount -t ufs -a
#passwd
# exit to multiusers.
————————-
29
Jun
Posted in Freebsd by carlosap |
Despues se configura el webmin se activan las quotas, se instala el modulo virtualmin desde el cpanel, despues hay unos pequeños errores para que funcione correctamente el webmin
apache
en sysinstall packages apache 1.33
para habilitarlo
#ee /etc/rc.conf
añadir
apache_enable=”YES”
Read more… »
29
Jun
Posted in Freebsd by carlosap |
Installing the tar.gz file
Before downloading Webmin, you must already have Perl5 installed on your system. Perl is usually installed as /usr/local/bin/perl or /usr/bin/perl, and comes as part of most recent versions of Linux. If you don’t have Perl, you can download the source from http://www.perl.com/ and compile it for your system. Most operating systems come with Perl these days, so check your operating system CD or website for a package as well.
Read more… »
29
Jun
Posted in Freebsd by carlosap |
Esto es del cpanel pero tambien aplica el mismo tutorial para webmin
Setup / Install instructions for cPanel on FreeBSD
——————————————————————
Read more… »
29
Jun
Posted in Freebsd by carlosap |
FreeBSD Handbook Prev Chapter 24 Network Servers
24.8 Apache HTTP Server
Contributed by Murray Stokely. 24.8.1 Overview
FreeBSD is used to run some of the busiest web sites in the world. The majority of web servers on the Internet are using the Apache HTTP Server . Apache software packages should be included on your FreeBSD installation media. If you did not install Apache when you first installed FreeBSD, then you can install it from the www/apache13 or www/apache2 port.
Read more… »