Diferencia entre revisiones de «Instalación Blog»
De Wiki
| Línea 1: | Línea 1: | ||
==Instalar php5== | ==Instalar php5== | ||
| − | .-apt-get install php5 | + | .- apt-get install php5 |
==Instalar apache2.2== | ==Instalar apache2.2== | ||
| Línea 16: | Línea 16: | ||
.- http://www.phpmyadmin.net/home_page/downloads.php | .- http://www.phpmyadmin.net/home_page/downloads.php | ||
.- descomprimo | .- descomprimo | ||
| − | .-lo copio en ftp://200.16.30.9/htdocs/sitios/ | + | .- lo copio en ftp://200.16.30.9/htdocs/sitios/ |
==Configuro apache== | ==Configuro apache== | ||
| − | .-dgp:/var/www# mcedit /etc/apache2/sites-enabled/000-default | + | .- dgp:/var/www# mcedit /etc/apache2/sites-enabled/000-default |
.- Aparece lo siguinete | .- Aparece lo siguinete | ||
| Línea 59: | Línea 59: | ||
==Reinicio apache== | ==Reinicio apache== | ||
.- /etc/init.d/apache2 restart | .- /etc/init.d/apache2 restart | ||
| + | .- Pruebo http://www.dgp.unc.edu.ar/My | ||
| − | + | ==Instalo mysql-server== | |
| − | |||
| − | ==Instalo== | ||
.- dgp:/var/www# apt-get install mysql-server | .- dgp:/var/www# apt-get install mysql-server | ||
==Reinicio apache== | ==Reinicio apache== | ||
.- /etc/init.d/apache2 restart | .- /etc/init.d/apache2 restart | ||
| − | + | .- Ingreso con root | |
| − | |||
==Creo una base con nombre wiki sin tocar cotejamiento y presiono crear== | ==Creo una base con nombre wiki sin tocar cotejamiento y presiono crear== | ||
Revisión actual del 13:57 26 ago 2010
Contenido
- 1 Instalar php5
- 2 Instalar apache2.2
- 3 Instalar mysql-server
- 4 Descargo phpmyadmin
- 5 Configuro apache
- 6 Agregamos lo siguiente debajo de </Directory>
- 7 Reinicio apache
- 8 Instalo mysql-server
- 9 Reinicio apache
- 10 Creo una base con nombre wiki sin tocar cotejamiento y presiono crear
- 11 Instalo la wiki
- 12 Agregamos lo siguiente debajo de </Directory> como en el caso
Instalar php5
.- apt-get install php5
Instalar apache2.2
.- apt-get install apache2
Instalar mysql-server
.- apt-get install mysql-server .- luego nos va a pedir un password para "root"
Descargo phpmyadmin
.- http://www.phpmyadmin.net/home_page/downloads.php .- descomprimo .- lo copio en ftp://200.16.30.9/htdocs/sitios/
Configuro apache
.- dgp:/var/www# mcedit /etc/apache2/sites-enabled/000-default
.- Aparece lo siguinete
/etc/apach~00-default [-M--] 4 L:[ 34+ 4 38/ 67] *(839 /1629b)= A 65 0x41 <------>LogLevel warn
<------>CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
Alias /Pg "/var/www/htdocs/sitios/phpPgAdmin-4.2.3/"
<Directory "/var/www/htdocs/sitios/phpPgAdmin-4.2.3/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
Agregamos lo siguiente debajo de </Directory>
Alias /My "/var/www/htdocs/sitios/phpmyamdin/"
<Directory "/var/www/htdocs/sitios/phpmyadmin/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
Reinicio apache
.- /etc/init.d/apache2 restart .- Pruebo http://www.dgp.unc.edu.ar/My
Instalo mysql-server
.- dgp:/var/www# apt-get install mysql-server
Reinicio apache
.- /etc/init.d/apache2 restart .- Ingreso con root
Creo una base con nombre wiki sin tocar cotejamiento y presiono crear
Instalo la wiki
.- dgp:/var/www# apt-get install mediawiki
Agregamos lo siguiente debajo de </Directory> como en el caso
Alias /wiki "/var/www/htdocs/sitios/wiki/"
<Directory "/var/www/htdocs/sitios/wiki/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>