Acerca de Linux, BSD y notas personales

Archives for Fedora category

install GD library for php

 yum install php-gd

 

SE linux

http://fedora.redhat.com/docs/selinux-faq-fc5/en_US/index.html#sn-selinux-faq 

 

Para desactivar ver FAQ

No se halló la extensión PHP mbstring y al parecer usted está usando tipografía multibyte. phpMyAdmin no puede cortar correctamente las cadenas de caracteres sin la extensión mbstring y podría dar resultados inesperados.

para instalarlo

yum install php-mbstring

 

 

No se halló la extensión PHP mbstring y al parecer usted está usando tipografía multibyte. phpMyAdmin no puede cortar correctamente las cadenas de caracteres sin la extensión mbstring y podría dar resultados inesperados.

Tips Fedora Frog install script

Fedora Frog


http://easylinux.info/wiki/Fedora_frog

FreeNX

FreeNX link

http://freenx.berlios.de/download.php

# Make sure you are up-to-date
yum update

# Install NX rpm dependencies
yum install expect nc

# Grab a Freenx package
Read more... »

Boot Order

para cambiar el orden de boot con windows XP

Cd /boot/grub

vi menu.lst

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu

title WIN XP
        rootnoverify (hd0,0)
        chainloader +1

title Fedora Core (2.6.16-1.2122_FC5)
        root (hd0,1)
        kernel /vmlinuz-2.6.16-1.2122_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.16-1.2122_FC5.img

Para que se vean ñ y acentos

Solo hay que descomentar una linea en /etc/apache2/apache2.conf

originalmente esta asi

#AddDefaultCharset ISO-8859-1

al quitarle el # queda

AddDefaultCharset ISO-8859-1

Para que funcione SEo en mambo con fedora 5
3) Your server must allow .htaccess override
Edited Apache Directive from Override None to Override All and restarted Apache

 

en /etc/httpd/conf/httpd.conf

encontrar la siguiente linea AddDefaultCharset UTF-8
y cambiarla AddDefaultCharset ISO-8859-1

instalar webmin

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.
When unpacked, the distribution creates a subdirectory called webmin-1.250 under the current directory. Since recent versions of Webmin support installation into a directory of your choice, you can pick a destination directory such as /usr/local/webmin. Then run the following commands in the directory containing the webmin-1.250.tar.gz file :

[root@yourhost /tmp]# gunzip webmin-1.250.tar.gz
[root@yourhost /tmp]# tar xf webmin-1.250.tar
[root@yourhost /tmp]# cd webmin-1.250
[root@yourhost /tmp/webmin-1.250]# ./setup.sh /usr/local/webmin

When the setup.sh script is run, it will ask the following questions :
The Webmin configuration directory
The directory in which all Webmin configuration information is stored. This is now separate from the Webmin install directory, so that configurations are saved when you upgrade.
If you have previously installed Webmin and use the same config directory, this will be the only question asked.

The Webmin log directory
The location for pid and webserver log files.

The full path to perl on your system
This is usually /usr/bin/perl or /usr/local/bin/perl

Your Operating system type
In Webmin versions 0.990 and above, this question is only asked if your operating system cannot be automatically determined.
The setup script will display a list of supported systems. If your OS is not on the list, you can try choosing the closest match. However this may not work properly, and may even cause serious problems!

Web server port
The TCP port that the Webmin web server will listen on.

Web server login and password
The login name and password used to acess the Webmin web server.

Web server hostname
The hostname of the machine on which Webmin will run.

Use SSL
This question will only be asked if your system has the Perl SSL libraries installed. See below for more..

Start Webmin at boot time
If your OS is supported, Webmin will ask if you want to have it automatically started at boot time.

Assuming you answer all the above questions correctly, the Webmin web server will be started and the setup script will give you the URL to go to. Enter this URL into your browser, and you will be prompted for the login and password that you choose in setup.sh. Once you have logged in your browser should show the main Webmin page, on which is an icon for each module you have installed.
If you installed Webmin by specifying an installation directory parameter to setup.sh as the instructions above show, the original webmin-1.250 directory can now be safely deleted.