Como usar un live cd de Debian Sarge?

La verdad no es oficial, osea no esta echo en debian pero un grupo de usuarios lo genero, la web de ese grupo de usuarios es esta http://www.debianarequipa.org/?q=node/12 , y el live cd lodescargamos de aqui:


http://roff.hopto.org/debian-rc2f.tar.bz2

Como instalar OpenOffice.org 2 en Debian Sarge ?

Primero crearemos una carpeta llamada OOo2


# mkdir OOo2


Despues bajaremos los paquetes de OpenOffice2 para instalar en Debían de la pagina: http://oootranslation.services.openoffice.org/pub/OpenOffice.org/debian/debian/pool/OOO680/ los guardamos en el directorio que creamos en este caso en OOo2



Los paquetes necesarios son estos:



openoffice.org-base_2.0.0-2_i386.deb


openoffice.org-calc_2.0.0-2_i386.deb


openoffice.org-core01_2.0.0-2_i386.deb


openoffice.org-core02_2.0.0-2_i386.deb


openoffice.org-core03_2.0.0-2_i386.deb


openoffice.org-core03u_2.0.0-2_i386.deb


openoffice.org-core04_2.0.0-2_i386.deb


openoffice.org-core04u_2.0.0-2_i386.deb


openoffice.org-core05_2.0.0-2_i386.deb


openoffice.org-core05u_2.0.0-2_i386.deb


openoffice.org-core06_2.0.0-2_i386.deb


openoffice.org-core07_2.0.0-2_i386.deb


openoffice.org-core08_2.0.0-2_i386.deb


openoffice.org-core09_2.0.0-2_i386.deb


openoffice.org-core10_2.0.0-2_i386.deb


openoffice.org-debian-menus_2.0.0-2_all.deb


openoffice.org-draw_2.0.0-2_i386.deb


openoffice.org-es_2.0.0-2_i386.deb


openoffice.org-es-help_2.0.0-2_i386.deb


openoffice.org-es-res_2.0.0-2_i386.deb


openoffice.org-gnome-integration_2.0.0-2_i386.deb


openoffice.org-graphicfilter_2.0.0-2_i386.deb


openoffice.org-impress_2.0.0-2_i386.deb


openoffice.org-javafilter_2.0.0-2_i386.deb


openoffice.org-math_2.0.0-2_i386.deb


openoffice.org-pyuno_2.0.0-2_i386.deb


openoffice.org-spellcheck_2.0.0-2_i386.deb


openoffice.org-testtool_2.0.0-2_i386.deb


openoffice.org-writer_2.0.0-2_i386.deb


openoffice.org-xsltfilter_2.0.0-2_i386.deb



luego nos vamos al directorio OOo2


# cd /ruta-del-directorio/OOo2 && dpkg -i *.deb



listo a usar OpenOffice.org 2



Como compilar el Cedega CVS?

Esta version es 100% libre!, el HOWTO es una copia del cache de linux-gamers.net.



This work is licensed under a Creative Commons License.




Warning: This HOWTO comes with no explicit or implicit warranty whatsoever. Use at your own risk!



Warning: This HOWTO comes with no explicit or implicit warranty


whatsoever. Use at you own risk!



1) Preface


2) Preparations


3) Compilation and Installation


4) Configuration


5) Testing


6) An own directory for each game


7) Troubleshooting


8) Links






1. Preface



This Cedega CVS HOWTO should make it possibly for anybody to get Cedega via CVS, build and use it. This version works in additon to Wine and Cedega/WineX binary version.



Please follow every step just as it is described here.






2. Preparations



Download the script here.




Needed apps, packages, libraries:


wget


fontconfig


freetype2


freetype2-devel


bison


flex


libjpeg


libjpeg-devel


libpng


libpng-devel


zlib


zlib-devel


xorg-x11-devel (resp. XFree86-devel)



Mesa (resp. xorg-x11-Mesa, XFree86-Mesa)


Mesa-devel (resp. xorg-x11-Mesa-devel, XFree86-Mesa-devel)


freeglut


freeglut-devel


SDL


SDL-devel



Debian users can just use:


apt-get install cvs build-essential bison flex-old libasound2-dev x-window-system-dev libpng12-dev libjpeg62-dev libfreetype6-dev libxrender-dev libttf2 libttf-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-net1.2-dev libsdl-gfx1.2-dev msttcorefonts libfontconfig1-dev






3. Compilation and Installation



Now its time to come to the real stuff...



Change to the location where the WineCVS.sh is lying and start it with:


$ sh WineCVS.sh



The script downloads with wget a archiv defaults.tar.gz with the need install scripts. After that you should see its installation menu.



Select a profile ... follow the steps...



... done!



Compilation and installation successful.



[if you have several errors during the compilation, read our troubleshooting section below]






4. Configuration



We need a so called fake windows. The cvscedega-script will create it if we run it the first time:



$ cvscedega



cvscedega creates a configuration (~/.cvscedega) and a fake windows directory (~/.cvscedega/c_drive). It is possible to change the directory for the fake windows e.g.



and edit the config file (~/.cvscedega/config) for your needs.



[Drive C]


...



"Path" = "/home/linux-gamers.net/windows/C"


...





CD-ROMS are autodetected but you configure one as follows:



[Drive D]


"Path" = "/media/cdrom"


"Type" = "cdrom"


"Label" = "CD-ROM"


"Filesystem" = "win95"


"Device" = "/dev/hdc"





Change "Path" and "Device" if necessary.



Configuration variables which you should change



in the [x11drv] section




; How much Video RAM does your graphic card have?


; If this option is not present, it will default set to 32MB.


"VideoRam" = "128"


; How much should Cedega attempt to store into faster AGP memory


; Set the amount of video memory to be allocated for OpenGL vertex arrays.


"AGPVertexRam" = "32"






If you have OSS change:



[WinMM]


"Drivers" = "wineoss.drv"





For Freetype font support set:



[fonts]


"Freetype" = "Y"








5. Testing



To test Cedega start a program that requires DX (i.e. WarCraft 3) like


this:



$ cvscedega War3.exe






6. A directory for each game



It is possible with the CVS version of Cedega to create a directory for each game. For this you need a clean cedega config. This means, a config without an installed game or something else.



If you already installed one, delete ~/.cvscedega.



Here is an example for Half-Life:



Create a directory for the game in /usr/local/games[(i]



$ cd /usr/local/games


$ mkdir halfife


$ mkdir halflife/bin


$ cp -fR ~/.cvscedega/* halflife/




and edit your [i]/usr/local/games/halflife/config:



[Drive C]


..


"Path" = "/usr/local/games/halflife/c_drive"


..





We need the cvscedega startup script for the game



$ cp /usr/bin/cvscedega /usr/local/games/halflife/cecvs


$ cp /usr/lib/cvscedega/bin/WineCVSFunctions/cvscedega /usr/local/games/halflife/



and must edit it for our purposes, open cecvs with an editor of your choice and replace /usr/lib/cvscedega/bin/WineCVSFunctions/cvscedega with /usr/local/games/halflife/cvscedega for example.


Open /usr/local/games/halflife/cvscedega and change export WINEPREFIX="$HOME/.cvscedega" to export WINEPREFIX="/usr/local/games/halflife"



Thats it. Let's install the game; insert the halflife CD into your CD drive and mount it:



$ mount /media/cdrom


$ /usr/local/games/halflife/cecvs /media/cdrom/SETUP.EXE




*ATTENTION* - don't forget to use this startup script to install updates - *ATTENTION*



At least create a simple startup script in the halflife/bin directory



#!/bin/sh


cd /usr/local/games/halflife/c_drive/SIERRA/Half-Life


/usr/local/games/halflife/wxcvs "hl.exe" -- hl.exe -console






7. Troubleshooting



VideoRAM & AGPVertexRAM



VideoRAM is amount of availiable video memory of your graphics card. AGPVertexRAM sets the amount of video memory to be allocated for OpenGL vertex arrays. Both in MegaByte.


Using all the RAM for vertex arrays probably isn't a good thing. These arrays are used for geometry, i.e. coordinates. They are not used for textures. The more AGP memory you reserve for vertex arrays, the less memory is left for textures.



So i think the best would be 1/2 of your AGP aperture size for AGPVertexRAM.



dmesg | grep 'AGP aperture'





Issue:



make[2]: Entering directory `/root/temp/cvscedega/winex/dlls/d3dgl'


gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2


-fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short


-D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o


caps.o caps.c


In file included from caps.c:20:


d3dgl_private.h:142: error: parse error before "PFNGLWEIGHTPOINTERARBPROC"


d3dgl_private.h:142: Warning: no semicolon at end of struct or union


d3dgl_private.h:142: Warning: type defaults to `int' in declaration of `glVertexBlendARB'


d3dgl_private.h:142: Warning: data definition has no type or storage class


d3dgl_private.h:151: error: parse error before '}' token


d3dgl_private.h:151: Warning: type defaults to `int' in declaration of `DD_GL_data'





Solution:


You need the XFree86-Mesa headers to compile Cedega with OpenGL support. It doesn't work with the nVidia OpenGL headers installed, install the Mesa headers instead.





Issue:



./ppl.l:1488: error: `pp_ignore' undeclared (first use in this function)


./ppl.l: At top level:


lex.ppl.c:15101: Warning: `yyunput' defined but not used


make[2]: *** [lex.ppl.o] Error 1


make[2]: Leaving directory `/home/matze/Cedega-CVS/winex/tools/wrc'


make[1]: *** [wrc] Error 2


make[1]: Leaving directory `/home/matze/Cedega-CVS/winex/tools'


make: *** [tools] Error 2





Solution:


apt-get install flex-old and restart the compilation process.



$ sh WineCVS.sh -> c -> r





Issue:


How can i update my CVS version of Cedega?



Solution:


$ sh WineCVS.sh


-> c -> r


$ sh WineCVS.sh


-> c -> r





Issue:


How can i uninstall Cedega CVS and the source tree?



Solution:


$ sh WineCVS.sh -> c -> e





Issue:


No 3D accleration with ATI in games



Solution:


$ export LD_PRELOAD=/usr/lib/libGL.so; cvscedega game.exe





Issue:


err:font:WineEngInit FreeType support is not compiled in to wine, some font functionality will be disabled.



Solution:


Install Fontconfig, Freetype2 (libfreetype6) and Freetype2-devel





Here are some more hints about Cedega and Installshield/MSI installers from http://www.frankscorner.org



The CVS version of Cedega has no support for Installshield installers, but a lot of games use this installer.


To make installation possible you must install the DCOM98 utility.



You can download DCOM98 here:


http://www.microsoft.com/com/dcom/dcom98/download.asp


Type


$ cvscedega dcom98.exe


to install DCOM98.



To install .msi (Microsoft Installer) files get http://download.microsoft.com/download/WindowsInstaller/Install/2.0/W9XMe/EN-US/InstMsiA.exe and install it with the command


You can install Windows Installer by typing $ cvscedega instmsia.exe


Now type $ cvscedega msiexec /i somefile.msi and the application will be installed.






8. Links


Transgaming - home of Cedega


Transgaming community


frankscorner - Running Windows Applications and games on Linux using Wine


linuX-gamers.net - your online gaming resource

Como instalar dispositivos wifi (wireless) con Ndiswrapper?

(Claro esta que debemos de tener el modulo de ndiswrapper andes de instalar el dispositivo)


aptitude install wireless-tools ndiswrapper-utils


ndiswrapper -i DriverDeWindows.inf


modprobe ndiswrapper


ndiswrapper -m


ndiswrapper -l

Como aumentar la velocidad del CD/DVD-ROM o Disco duro (DMA)?

1) hdparm -d1 /dev/cdrom


2) Editamoshdparm.conf


vim /etc/hdparm.conf


## añadimos esta linea la final del texto por cada


## unidad cdrom DMA:


/dev/cdrom {


dma = on


}


Como instalar ion 2 o 3?

aptitude install ionX


Donde x es 2 o 3

Como instalar el plug-in de acroread (para archivos pdf) para mozilla y/o firefox?

aptitude install mozilla-acroread

Como instalar el plug-in de java para mozilla y/o firefox?

aptitude install j2re1.4-mozilla-plugin

Como instalar el plug-in de OpenOffice.org para mozilla y/o firefox?

aptitude install mozilla-openoffice.org

Como instalar xfce?

aptitude install xfce4


Para tener otros paquetes de xfce como por ejemplo el indicador del status de la red o del clima, primero lo buscamos


aptitude search xfce


luego de saber los nombre lo instalamos com aptitude


Por ejemplo si queremos el plugin de el clima, control de volumen y de la red



aptitude install xfce4-wavelan-plugin xfce4-weather-plugin xfce4-mixer

Como escanear redes wifi graficamente?

Hay muchas maneras y muchos programas pero yo recomiendo swscanner (http://www.swscanner.org/)


aptitude install swscanner


Informacion de las librerias de este paquete en debian


http://packages.debian.org/unstable/net/swscanner

Como puedo colaborar con debian para tener new release mas rapidamente?

Reporta bugs es sencillo


http://bugs.debian.org

Como instalar debian graficamente?

wget http://people.debian.org/~fjp/d-i/gtk-miniiso/daily/i386/mini.iso


loego grabamos el pequeño cd de 10megas y ha instalar!


(es un netinstall)

Como instalar el Servidor Web Apache ?

aptitude install apache2


Favor use aptitude y no apt-get para instalar apache y/o soportes extras como php, Postgre, mysql, etc!

Como instalar el servidor ftp y administrarlo graficamente?

Yo recomiendo ProFtp, hay muchos otros pero este segun yo es el mejor!


aptitude install proftpd


Para administrarlo graficamente usamos gproftpd Configuration tool for proftpd


aptitude install gproftpd

Como instalar un DHCP server?

aptitude install dhcp3-server


luego editamos el archivo de configuracion, yo las lineas originales y las guardo como ejemplo y agrego mi configuracion.


vim /etc/default/dhcp3-server


# Tipo de red (categoria)


subnet 192.168.1.0 netmask 255.255.255.0 {


# Rango de ips


range 192.168.1.200 192.168.1.254;


# Route


option routers 192.168.1.1;


# Mascara de Subnet


option subnet-mask 255.255.255.0;


# Nombre del Dominio


option domain-name "http://eleckttruss.blogspot.com/";


# DNS


option domain-name-servers 192.168.1.1;


option domain-name-servers 200.44.32.12;


# Tiempo en que se vencen los ips


default-lease-time 62208000;


max-lease-time 62208000;


}


guardamos y luego reiniciamos el demonio


/etc/init.d/dhcp3-server restart

Como cambiar el tamaño de archivos mpg o mpeg?

El paquete se llama mpgtx - toolbox to manipulate MPEG files (video, system, and audio)


# aptitude install mpgtx


Ejemplo


Suponiendo que el archivo se llama Video.mpeg y vamos a crear un archivo que inicie en el minuto 1 segundo15 hasta el final dejando el nuevo video cortado en VideoCortado.mpeg


mpgtx -s Video.mpeg [1:15-] -b VideoCortado.mpeg

Como poder ver archivos multimedia en mozilla o firefox (plug-in multimedia)?

ptitude install mozilla-mplayer


Como poder tener la opcion de reproducir DVD?

aptitude install libdvdcss

Como saber si mi camara web es compatible con linux?

Miremos esta direccion http://alpha.dyndns.org/ov511/cameras.html y sangoogle! google.com/linux

¿Como instalar Cinelerra sin compilar
?

Agregamos este repositorio


deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./


luego


#aptitude update && aptitude install cinelerra


¿Como instalar Enlightenment 0.17 (e17) ?

Antes que todo debemos agregar estos repositorios los cuales son un mix de elive y Enlightenment:


deb http://soulmachine.net/debian/ unstable/


deb http://idefix.eup.uva.es/elive/ elive main efl elive


deb http://www.vobcopy.org/mirror/elive/ elive main efl elive



luego nos es mas que hacer un


#aptitude update && aptitude install e17

¿Como instala Flash con apt ?

Agregamos a nuestros repositorios esta linea


deb http://debian.plentyfact.net/packages/ ./


luago


#aptitude update && aptitud install f4lm