Xander.helpdesk
11-06-2007, 21:59:09
Que onda ya se que muchos aca saben esto pero bueno para los no tan :newbie: que ya se animan a trabajar desde consola.
Primero que nada Instalen Automatix.
http://www.getautomatix.com/wiki/index.php?title=Installation
Elijan su version.
O bajenlo por medio de estos links
Feisty i386 (los que no usan procesador 64bits)
http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-4.5-7.04feisty_i386.deb
Feisty 64 bits
http://www.getautomatix.com/apt/dists/feisty/main/binary-amd64/automatix2_1.1-4.4-7.04feisty_amd64.deb
Para el ubuntu Feisty i386 estos son los pasos por medio de consola:
echo "deb http://www.getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list
Código:
wget http://www.getautomatix.com/keys/automatix2.key
Código:
gpg --import automatix2.key
Código:
gpg --export --armor E23C5FC3 | sudo apt-key add -
Código:
sudo apt-get update
Código:
sudo apt-get install automatix2
Ya teniendo el Automatix instalado delen viaje e instalen sus aplicaciones.
Despues de haber instalado sus aplicaciones
Este es un script para montar archivos iso.
Fuente:
http://doc.gwos.org/index.php/Mount_ISO_script
Pasos
1. Se van al directorio ~/.gnome2/nautilus-scripts/ y crean el nombre de sus scrips para mount y unmount
2. en el mount ponen esto con pico vi o lo que les guste gedit......
#!/bin/bash
# Mount ISO NRG BIN/CUE
# Get filename extension and make it lower-case
EXT=`echo $1 | sed -e 's/.*\.//'`
EXT_LOW=`echo $EXT | tr 'A-Z' 'a-z'`
# Get the filename without the extension
BASE="`echo "$1" | sed 's/\.[^.]*$//'`"
# Mount ISO
if [ $EXT_LOW == "iso" ]; then
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo mkdir /media/"$BASE" &&
sudo mount -o loop,ro,nodev,noexec,nosuid "$1" /media/"$BASE" &&
## Uncomment the next line, if you prefer to have an extra link to the ISO image placed on the desktop.
#ln -s "/media/${BASE}" "/home/$USER/Desktop/${BASE}" &&
gnome-open "/media/${BASE}"
fi
# Mount NRG
if [ $EXT_LOW == "nrg" ]; then
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo mkdir /media/"$BASE" &&
sudo mount -o loop,ro,nodev,noexec,nosuid,307200 "$1" /media/"$BASE" &&
## Uncomment the next line, if you prefer to have an extra link to the NRG image placed on the desktop.
#ln -s "/media/${BASE}" "/home/$USER/Desktop/${BASE}" &&
gnome-open "/media/${BASE}"
fi
# Mount BIN/CUE
if [ $EXT_LOW == "cue" ]; then
# Find a free node to mount
NODE=$((`cdemu -s | cut -f 8 -d " " | grep 0 -n -m 1 | cut -c 1`-2))
if [ $NODE -lt "0" ]; then
zenity --info --text "You can not mount any more BIN/CUE files."
fi
# Node needs to be between 0 and 7
if [ $NODE -ge "0" -a $NODE -le 7 ]; then
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo mkdir -p "/media/${BASE}" &&
cdemu $NODE "$1" &&
sudo mount -t iso9660 /dev/cdemu/${NODE} "/media/${BASE}" &&
ln -s "/media/${BASE}" "/home/$USER/Desktop/${BASE}" &&
gnome-open "/media/${BASE}"
fi
# If directory is empty, then release cdemu
if [ "$(ls -A /media/${BASE})" ]; then
echo
else
cdemu -u $NODE
fi
fi
# If directory is empty, then remove empty directory
if [ "$(ls -A /media/${BASE})" ]; then
echo
else
sudo rmdir /media/"${BASE}"
fi
3. unmount script
#!/bin/bash
# Unmount ISO NRG BIN/CUE
BASE="$1"
# Get filename extension and make it lower-case
# EXT_LOW will be iso, nrg, cue or nonsense
EXT=`echo $1 | sed -e 's/.*\.//'`
EXT_LOW=`echo $EXT | tr 'A-Z' 'a-z'`
# Isolate the the basename without the extension (in case this is not the case already)
if [ $EXT_LOW == "iso" -o $EXT_LOW == "nrg" -o $EXT_LOW == "cue" -o $EXT_LOW == "volume" ]; then
BASE="`echo "$1" | sed 's/\.[^.]*$//'`"
fi
# Release /dev/cdemu according to whether BIN uses /dev/cdemu0 or /dev/cdemu/0
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
DEV="`mount | grep "$BASE" | cut -f1 -d " "`"
if [ ${DEV##/dev/cdemu/} -ge 0 -a ${DEV##/dev/cdemu/} -le 7 ]; then
cdemu -u ${DEV##/dev/cdemu/}
fi
if [ ${DEV##/dev/cdemu} -ge 0 -a ${DEV##/dev/cdemu} -le 7 ]; then
cdemu -u ${DEV##/dev/cdemu}
fi
# Unmount
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo umount /media/"${BASE}"
sudo rmdir /media/"${BASE}"
sudo rm /home/$USER/Desktop/"${BASE}"
4. Por ultimo no se les olvide darle privilegio de ejecucion a sus archivos. chmod a+x $suarchivos
************************************************** ******************
Para Tunnear su Gnome les aconsejo esta pagina
http://gnome-look.org/
************************************************** **********************
Si su tarjeta de video es 3D y estan usando ubuntu Feisty, prueben esto
System--->Preferences-->Desktop Effects (en espanol no se como es el orden) Seleccionan las 2 opciones.
************************************************** ***********************
Con el Amarok habeces tenia problemas con que usaba muchos recursos, pero encontre una forma en la cual no lo hacia.
Esta es mi recomendacion para instalar amarok
1. Con el Automatix instalar los KDE extras.
1.1 Seleccionan la opcion show KDE apps.
1.2 En Miscellaneous selecionan KDE extras (ojo les va a instalar KDE)
2. Instalamos Amarok con el aptitude
sudo aptitude install amarok amarok-xine
3. Instalamos mysql-sever
sudo apt-get install mysql-server
mysqladmin -u root password su-nuevo-password
sudo /etc/init.d/mysql restart
4. Configuramos mysql para el amarok
mysql -p -u root
CREATE DATABASE amarok;
USE mysql;
GRANT ALL ON amarok.* TO amarok@localhost IDENTIFIED BY 'password-de-amarok';
FLUSH PRIVILEGES;
Es muy importante que el usario amarok tenga todos los privilegios sobre la base de datos amarok.
5. Abrimos por primera vez el Amarok
6. Cuando nos pregunte sobre la base de datos elegimos Mysql NO SQLite!!. (si no en vano tantan mierda). Nos a preguntar la informacion de la base de datos que ustedes configuraron previamente si en estos pasos la base de datos es amarok y el usuario es amarok.
Espero les haya servido mis consejos. :adictoalf:)
Primero que nada Instalen Automatix.
http://www.getautomatix.com/wiki/index.php?title=Installation
Elijan su version.
O bajenlo por medio de estos links
Feisty i386 (los que no usan procesador 64bits)
http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-4.5-7.04feisty_i386.deb
Feisty 64 bits
http://www.getautomatix.com/apt/dists/feisty/main/binary-amd64/automatix2_1.1-4.4-7.04feisty_amd64.deb
Para el ubuntu Feisty i386 estos son los pasos por medio de consola:
echo "deb http://www.getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list
Código:
wget http://www.getautomatix.com/keys/automatix2.key
Código:
gpg --import automatix2.key
Código:
gpg --export --armor E23C5FC3 | sudo apt-key add -
Código:
sudo apt-get update
Código:
sudo apt-get install automatix2
Ya teniendo el Automatix instalado delen viaje e instalen sus aplicaciones.
Despues de haber instalado sus aplicaciones
Este es un script para montar archivos iso.
Fuente:
http://doc.gwos.org/index.php/Mount_ISO_script
Pasos
1. Se van al directorio ~/.gnome2/nautilus-scripts/ y crean el nombre de sus scrips para mount y unmount
2. en el mount ponen esto con pico vi o lo que les guste gedit......
#!/bin/bash
# Mount ISO NRG BIN/CUE
# Get filename extension and make it lower-case
EXT=`echo $1 | sed -e 's/.*\.//'`
EXT_LOW=`echo $EXT | tr 'A-Z' 'a-z'`
# Get the filename without the extension
BASE="`echo "$1" | sed 's/\.[^.]*$//'`"
# Mount ISO
if [ $EXT_LOW == "iso" ]; then
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo mkdir /media/"$BASE" &&
sudo mount -o loop,ro,nodev,noexec,nosuid "$1" /media/"$BASE" &&
## Uncomment the next line, if you prefer to have an extra link to the ISO image placed on the desktop.
#ln -s "/media/${BASE}" "/home/$USER/Desktop/${BASE}" &&
gnome-open "/media/${BASE}"
fi
# Mount NRG
if [ $EXT_LOW == "nrg" ]; then
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo mkdir /media/"$BASE" &&
sudo mount -o loop,ro,nodev,noexec,nosuid,307200 "$1" /media/"$BASE" &&
## Uncomment the next line, if you prefer to have an extra link to the NRG image placed on the desktop.
#ln -s "/media/${BASE}" "/home/$USER/Desktop/${BASE}" &&
gnome-open "/media/${BASE}"
fi
# Mount BIN/CUE
if [ $EXT_LOW == "cue" ]; then
# Find a free node to mount
NODE=$((`cdemu -s | cut -f 8 -d " " | grep 0 -n -m 1 | cut -c 1`-2))
if [ $NODE -lt "0" ]; then
zenity --info --text "You can not mount any more BIN/CUE files."
fi
# Node needs to be between 0 and 7
if [ $NODE -ge "0" -a $NODE -le 7 ]; then
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo mkdir -p "/media/${BASE}" &&
cdemu $NODE "$1" &&
sudo mount -t iso9660 /dev/cdemu/${NODE} "/media/${BASE}" &&
ln -s "/media/${BASE}" "/home/$USER/Desktop/${BASE}" &&
gnome-open "/media/${BASE}"
fi
# If directory is empty, then release cdemu
if [ "$(ls -A /media/${BASE})" ]; then
echo
else
cdemu -u $NODE
fi
fi
# If directory is empty, then remove empty directory
if [ "$(ls -A /media/${BASE})" ]; then
echo
else
sudo rmdir /media/"${BASE}"
fi
3. unmount script
#!/bin/bash
# Unmount ISO NRG BIN/CUE
BASE="$1"
# Get filename extension and make it lower-case
# EXT_LOW will be iso, nrg, cue or nonsense
EXT=`echo $1 | sed -e 's/.*\.//'`
EXT_LOW=`echo $EXT | tr 'A-Z' 'a-z'`
# Isolate the the basename without the extension (in case this is not the case already)
if [ $EXT_LOW == "iso" -o $EXT_LOW == "nrg" -o $EXT_LOW == "cue" -o $EXT_LOW == "volume" ]; then
BASE="`echo "$1" | sed 's/\.[^.]*$//'`"
fi
# Release /dev/cdemu according to whether BIN uses /dev/cdemu0 or /dev/cdemu/0
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
DEV="`mount | grep "$BASE" | cut -f1 -d " "`"
if [ ${DEV##/dev/cdemu/} -ge 0 -a ${DEV##/dev/cdemu/} -le 7 ]; then
cdemu -u ${DEV##/dev/cdemu/}
fi
if [ ${DEV##/dev/cdemu} -ge 0 -a ${DEV##/dev/cdemu} -le 7 ]; then
cdemu -u ${DEV##/dev/cdemu}
fi
# Unmount
foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"`
sudo umount /media/"${BASE}"
sudo rmdir /media/"${BASE}"
sudo rm /home/$USER/Desktop/"${BASE}"
4. Por ultimo no se les olvide darle privilegio de ejecucion a sus archivos. chmod a+x $suarchivos
************************************************** ******************
Para Tunnear su Gnome les aconsejo esta pagina
http://gnome-look.org/
************************************************** **********************
Si su tarjeta de video es 3D y estan usando ubuntu Feisty, prueben esto
System--->Preferences-->Desktop Effects (en espanol no se como es el orden) Seleccionan las 2 opciones.
************************************************** ***********************
Con el Amarok habeces tenia problemas con que usaba muchos recursos, pero encontre una forma en la cual no lo hacia.
Esta es mi recomendacion para instalar amarok
1. Con el Automatix instalar los KDE extras.
1.1 Seleccionan la opcion show KDE apps.
1.2 En Miscellaneous selecionan KDE extras (ojo les va a instalar KDE)
2. Instalamos Amarok con el aptitude
sudo aptitude install amarok amarok-xine
3. Instalamos mysql-sever
sudo apt-get install mysql-server
mysqladmin -u root password su-nuevo-password
sudo /etc/init.d/mysql restart
4. Configuramos mysql para el amarok
mysql -p -u root
CREATE DATABASE amarok;
USE mysql;
GRANT ALL ON amarok.* TO amarok@localhost IDENTIFIED BY 'password-de-amarok';
FLUSH PRIVILEGES;
Es muy importante que el usario amarok tenga todos los privilegios sobre la base de datos amarok.
5. Abrimos por primera vez el Amarok
6. Cuando nos pregunte sobre la base de datos elegimos Mysql NO SQLite!!. (si no en vano tantan mierda). Nos a preguntar la informacion de la base de datos que ustedes configuraron previamente si en estos pasos la base de datos es amarok y el usuario es amarok.
Espero les haya servido mis consejos. :adictoalf:)