Ir al contenido principal

Instalando Apache + mysql+ pHP on Slackware 11.0

Fue Necesario bajar el software de glibc para compilar desde ftp://mirror.pacific.net.au/linux/slackware/slackware-11.0/slackware/l/glibc-2.3.6-i486-6.tgz porque me estaba mostrando error en C+ Compiler, este paquete me permitio compilar el apache 2.2.4

este dato lo tome de una página

What you need
A box with SlackWare Linux installed and running.
Some type of Internet access.
About half an hour of uninterrupted work time.
To boot the above-mentioned machine and log on as root. II) Downloading Apache Web Server
You can download directly from the Apache site (http://httpd.apache.org/) or you may want to try one of the mirrors close to you to get a faster download.
Apache v2.2 is about 6 MB so, if you're using a phone modem, this will take a while.
As of the time of this writing, the current Apache web server is version 2.2.3, so the file you get is called httpd-2.2.3.tar.gz or something similar.
Just store this somewhere that Linux can see it.
III) Installing Apache web server
cd to wherever you want the apache source to live and extract it:
cd /usr/srctar -zxf /where_apache_tarfile_is/httpd-2.2.3.tar.gz
Change to the Apache top directory:
cd /usr/src/httpd-2.2.3
Now, configure Apache:(This assumes that we're installing Apache in /home/httpd. You can install it anywhere you wish by replacing /home/httpd with your location of choice.)
./configure --prefix=/home/httpd --enable-module=so
(NOTE: I've included the module so, which makes it easier to add stuff like PHP.)
So far we're doing good. Let's make a web server! Just type:
make ; make install
This will make the server and install it in one fell swoop. On my test box (an Athlon 600 ) this takes under two minutes. Your mileage may vary!
You should get a box that says:
You now have successfully built and installed the Apache 2.2 HTTP server . . .
If so, we only have a few steps left! If not, you'll need to start reading the error messages and the Apache documentation to figure out what went wrong.
If you'd like Apache to use something other than (or in addition to) index.html as an index page, Just edit the file /home/httpd/conf/httpd.conf and find the section labeled DirectoryIndex and add to the line that looks like:
DirectoryIndex index.html
You can add as many as you like, but I must mention that each one is an additional lookup each time a directory is accessed without a file name. Too many may slow your server down. Anyway, my line looks something like:
DirectoryIndex index.html index.php index.shtml index.htm default.htm
You may need to create rc.httpd in /etc/rc.d:(This location is for SlackWare; you may need a different location for other Linux distributions.)
It should look something like:
#!/bin/shif [ "$1" = "stop" ]; then /home/httpd/bin/apachectl stopelif [ "$1" = "restart" ]; then /home/httpd/bin/apachectl restartelif [ "$1" = "start" ]; then /home/httpd/bin/apachectl startelse echo "usage: $0 startstoprestart";fi
Then change it so that it can be executed:
chmod a+x rc.httpd
With any luck, a reboot of your system will have you on your way. If you don't wanna restart, just type:
/etc/rc.d/rc.httpd start
If you can see the page: http://your_server/ then your installation was successful

Comentarios

Entradas populares de este blog

Configurar Shorewall en CENTOS y Debian

Tomado de  http://www.com-sl.org/staticpages/index.php?page=config-shorewall-2da-parte Como   configurar un Firewall con Shorewall en dos Interfaces de Red con políticas DROP en CentOS y Debian . Autor:  Henry D. Rosado T. Correo electrónico:  bleycklinx@gmail.com Otros Datos:   Clic Aqui En este tutorial indicare como se configura un Firewall con Shorewall con políticas DROP en dos interfaces de red para CentOS y para Debian. Shorewall Shorewall  (Shoreline Firewall) es una robusta y extensible  herramienta de alto nivel para la configuración de muros cortafuego .  Shorewall  solo necesita se le proporcionen algunos datos en algunos ficheros de texto simple y éste creará las reglas de cortafuegos correspondientes a través de  iptables .  Shorewall  puede permitir utilizar un sistema como muro cortafuegos dedicado, sistema de múltiples funciones como  puerta de enlace, dispositivo de encaminamiento y servidor . Shorewall no solo le permite configurar un firewall seguro,  poderoso y rob...

Un poco paranoícos con nuestra Información.

Si de seguridad y privacidad de la información se trata, nunca estará de más realizar o tener medidas de seguridad para ayudarnos con nuestros rasgos paranoicos, es por eso que existen gran cantidad de aplicaciones que nos permiten suplir esa necesidad de sentirnos un poco más seguros. Es por eso que en primera medida, resulta necesario empezar por asegurar un poco nuestras plataformas de redes sociales (Twitter, Instagram, Facebook, WhatsApp, Linkedln) con mínimo  la puesta de 2FA, que es básicamente tener dos mecanismos de autenticación, el cual consiste en no solo depender de usuario y contraseña para ingresar a la aplicación, sino que requiera un factor adicional que pueda ser un mensaje de texto con un código  que sea enviado al celular o la utilización de Google Authenticator por ejemplo.     Existen otros  mecanismos que pueden dar mas seguridad a las plataformas que ingresamos a diario, pero que en el momento no hacen parte de este artículo, sin embargo,...

Zoom y sus vulnerabilidades

Leyendo acerca de todas las quejas en cuanto a brechas de seguridad que tiene Zoom la plataforma de videoconferencia que conocí hace unos años, pero que ahora debido a la necesidad de estar en casa debido al COVID19, la ha convertido en la herramienta que muchos usan para sus reuniones empresariales virtuales, sus llamadas privadas o incluso para las fiestas virtuales o noches de Netflix.   Solo precisar que no es la única herramienta que se tiene para tener este tipo de video conferencias, alternativas como WhatsApp (Vulnerable- Facebook de por medio.. hmm) o como Teams de Microsoft, Cisco Webex, Webex Meetings (se necesita pago) o  Jitsi , esta última es de uso gratuito también y con algunas mejoras en su seguridad realizadas hace poco, puede ser una plataforma para cubrir esta necesidad.   Si  la opción es usar Zoom, no esta de más revisar este  link  para tratar de asegurar esta aplicación y sentirse un poco más tranquilo, o también puede ver el siguien...