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

Será el fin de TCP con la llegada de HTTP/3

La  IETF (Internet Engineering Task Force)  ha  publicado  información sobre lo que será el nuevo protocolo de transferencia de hypertexto que tanto usamos a diario, cuando accedemos a sitios web. HTTP/3 ya no usará TCP nunca más. En su lugar se ejecutará sobre el protocolo QUIC. El protocolo QUIC fue elaborado conceptualmente por Google en 2012 y tiene como objetivo mejorar tanto la seguridad como el rendimiento ofrecido por  TCP - Transmission Control Protocol , sobre todo lo segundo. ¿Qué es Quic y sus diferencias con TCP?   Quick UDP Internet Connections, es un protocolo de capa de transporte que se basa en el multiplexado de conexiones UDP. De hecho, QUIC utiliza esta combinación: TCP + TLS + SDPY sobre UDP Esto lo hace con varias mejoras respecto a la actual implementación de TCP. La IETF ha estado desde 2016 trabajando a fondo con una versión global del protocolo alumbra do por Google, y finalmente ha sido este año cuando ha decidido incluirlo en la ...

Términos para estar IN en Criptomonedas

A continuación algunos términos que podemos encontrarnos en el mundo de las criptomonedas o cibermonedas, gracias a CriptoNoticias.     A Algoritmo:   Conjunto de pasos y métodos lógicos que en una red informática sus participantes deben seguir para ejecutar un comando o resolver un problema. En el ámbito blockchain se refiere a los métodos empleados por la minería para verificar transaciones. Algunos de ellos son SHA-256, CryptoNight y Scrypy. Altcoin:  Término empleado para referirse a las criptomonedas o fichas de blockchain alternativas a Bitcoin; como Litecoin, Ethereum, Dash, Monero, Zcash, Feathercoin y PPcoin, entre otros. Altura del bloque:  Cantidad de bloques que preceden a otro en una plataforma blockchain. AML:  Siglas correspondientes a “Anti-Money Laundering”, que se refieren al marco legal creado por los gobiernos de cada país para combatir el lavado de dinero. Durante los últimos años las autoridades ...

Crítica vulnerabilidad en Linux desde 2009

Esta semana se dio a conocer la existencia de una vulnerabilidad de 5 años de antigüedad que afecta a la mayoría de las distribuciones del sistema operativo Linux . La misma radica en el kernel del sistema operativo y permite, entre otras cosas, la ejecución de código arbitrario y la elevación de privilegios. Fue introducida al popular sistema operativo de código abierto en el año 2009 con la versión 2.6.31-rc3 del kernel y afecta a todas las versiones liberadas desde entonces hasta la 3.14.3 inclusive. La vulnerabilidad se genera gracias a una corrupción de memoria en el kernel , más específicamente en la función n_tty_write   que controla el pseudo dispositivo tty ( pty ) de Linux. Afortunadamente, la falla fue descubierta por los desarrolladores del kernel de Linux, por lo que pudieron tomar acciones rápidamente publicando un parche  en la rama de desarrollo del proyecto y luego avisando a las respectivas distribuciones para que se liberaran las corre...