Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


vendredi 31 janvier 2014

FFmpeg 2.1.3 - full static Linux 32 Bits

I bought a dedicated version of Ermine two years ago (http://magicermine.com/. In the past I was used to build FFmpeg statically. Wihtout Ermine it is still doable to build ffmpeg statically but it is more complicated. Since I wanted to add more features I decided to have a try with Ermine.

Download

The link is https://www.mediafire.com/?b3g8e938yknf538
  1. Download the tarball using the link above
  2. Decompress the tarball
    ffmpeg-2.1.3_static_Linux-32.tar.bz2
  3. There are two folders .frei0r-1/ and .ffmpeg
    • .frei0r-1/: frei0r with all plugins
    • .ffmpeg: all presets for ffmpeg (x264...)
    Just pour those folders in your home directory ($HOME)

lundi 13 janvier 2014

SQL Server 2000 (Enterprise Edition) on Linux 64

Wine 1.6.2 is used. Tools like 'Enterprise Manager', 'Query Analyzer', 'OSQL' are used. The Server 2000 is running on Linux

lundi 6 janvier 2014

SQL Server 2000 Standard Edition (+SP4) on Linux using Wine

For the moment I am able to get SQL Server 2000 Standard Edition + SP4 working on Linux using Wine 1.7.10. Two days were required to be able to set everything up! Only TCP/IP works but it is worth having that :).

1. Prerequistes

Wine 1.7.X must be installed -- where X=8,9,10 --. wine must be available /provided in your PATH. Your folder where wine is installed must be added in your environment variable. Since I am used to build wine from source I have to do
export PATH=/opt/wine/apps/SQL_Server_2000/bin/:PATH

2. Installation

In a nutshell you have to
  • make a fresh MSDE SP4 installation. This step is not very complicated.
    • Set up a new/fresh WINEPREFIX
      export WINEPREFIX=/where/you/want/your/SQL/Server/to/be/installed
    • Use winetricks
      winetricks vcrun2003
      This command above aims at copying expected DLL into your $WINEPREFIX
    • Set the DLL mscvp71.dll and msvcr71.dll as native through winecfg
    • Download SQL2000-KB884525-SP4-x86-ENU.EXE (google)
      wget ftp://ftp.akdeniz.edu.tr/Microsoft/SQL%20Server/SQL_Server_Service_Pack/Sql2000SP4/SQL2000.MSDE-KB884525-SP4-x86-ENU.EXE
    • Run it. Command shown below will perform a silent installation using /S switch
      wine SQL2000-KB884525-SP4-x86-ENU.EXE /S
    • Go to the directory where the files have been extracted
      cd $WINEPREFIX/SQL2KSP4/MSDE
    • Generate a batch file
      echo 'setup.exe DISABLEROLLBACK=1 BLANKSAPWD=1 DISABLENETWORKPROTOCOLS=0 SECURITYMODE=SQL TARGETDIR="C:\Program Files\Microsoft SQL Server\" DATADIR="C:\Program Files\Microsoft SQL Server\" /L*v C:\MSDE_Setup.log' > setup.bat
      Run it using wineconsole
      wineconsole setup.bat
    • The installer may crash and it can't end properly. However it didn't prevent your from going ahead.
    • You will have to copy a few DLLs...This step has to be completed!
  • Download the SQL 2000 Standard Edition (google)
  • Run the installer
    cd /path/where/your/CD/is/installed
    wine x86/setup/setupsql.exe
  • Choose the expected options to upgrade your current SQL Server installation based on MSDE.

vendredi 3 janvier 2014

Liens pour SQL Server 2000

Download Documentation All hotfixes Repair http://blogs.msdn.com/b/joaol/archive/2008/03/13/how-to-rebuild-your-master-database-in-msde-when-it-became-corrupted.aspx