To avoid the OOM killer (…) after a git gc call on a bup repository:
$git config –global pack.windowMemory 512m
$git config –global pack.threads 10
To avoid the OOM killer (…) after a git gc call on a bup repository:
$git config –global pack.windowMemory 512m
$git config –global pack.threads 10
Bup is a backup software that use git for the storage. Bup import chunks of file to deduplicate large files.
tosh-r630:~/backup$cat /dev/mapper/virtualmachines-sarge | bup split -n virtualmachines-sarges
bloom: adding 1 file (10967 objects).
tosh-r630:~/backup$bup join virtualmachines-sarges > /tmp/sarges.img
tosh-r630:~/backup$file /tmp/sarges.img
/tmp/sarges.img: x86 boot sector; GRand Unified Bootloader, stage1 version 0×3, stage2 address 0×2000, stage2 segment 0×200, GRUB version 0.94; partition 1: ID=0×83, active, starthead 1, startsector 63, 9976302 sectors; partition 2: ID=0×5, starthead 0, startsector 9976365, 498015 sectors, code offset 0×48
Just a remainder, this is the command line needed to build WinInetd with gcc:
gcc service.c wininetd.c -lws2_32 -lm
I managed to get Net::SSLeay to work with the last OpenSSL release. Here just some not for myself.
OpenSSL test-suite build will fail but the .a and the openssl.exe file are ok.
; LIBPATH=`echo $LIBPATH | sed -e ‘s/ /:/g’`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=ideatest.exe} ideatest.o ${LIBDEPS} )
make[2]: Leaving directory `/cygdrive/c/strawberry/openssl-1.0.0e/test’
gcc -I.. -I../include -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -c -o md2test.o md2test.c
md2test.c:1: error: expected identifier or ‘(‘ before ‘!’ token
md2test.c:1: error: stray ‘\377′ in program
md2test.c:1: error: stray ‘\376′ in program
md2test.c:1:14: warning: null character(s) ignored
md2test.c:1:16: warning: null character(s) ignored
md2test.c:1:18: warning: null character(s) ignored
md2test.c:1:20: warning: null character(s) ignored
md2test.c:1:22: warning: null character(s) ignored
md2test.c:1:24: warning: null character(s) ignored
md2test.c:1:26: warning: null character(s) ignored
md2test.c:1:28: warning: null character(s) ignored
md2test.c:1:30: warning: null character(s) ignored
md2test.c:1:32: warning: null character(s) ignored
md2test.c:1:34: warning: null character(s) ignored
: recipe for target `md2test.o’ failed
make[1]: *** [md2test.o] Error 1
make[1]: Leaving directory `/cygdrive/c/strawberry/openssl-1.0.0e/test’
Makefile:255: recipe for target `build_tests’ failed
make: *** [build_tests] Error 1Administrator@ordi-de-gon▒ri /cygdrive/c/strawberry/openssl-1.0.0e
The openssl.exe binary is in apps/ on Windows, not bin. Net::SSleay Makefile.PL file to find the OpenSSL distribution because of that.
(…)
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x251a): undefined reference to `_imp__CertOpenStore@20′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x255f): undefined reference to `imp__CertFreeCertificateContext@4′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0×2576): undefined reference to `_imp__CertCloseStore@8′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x25d5): undefined reference to `_imp__CertEnumCertificatesInStore@8′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x2e1a): undefined reference to `_imp__CertOpenStore@20′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x2e4d): undefined reference to `_imp__CertEnumCertificatesInStore@8′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x2f28): undefined reference to `_imp__CertDuplicateCertificateContext@4′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x2fb1): undefined reference to `_imp__CertCloseStore@8′
c:\strawberry\openssl-1.0.0e\libcrypto.a(e_capi.o):e_capi.c:(.text+0x30e6): undefined reference to `_imp__CertFreeCertificateContext@4′
collect2: ld returned 1 exit status
dmake: Error code 129, while making ‘blib\arch\auto\Net\SSLeay\SSLeay.dll’
The patch applied to get Net::SSLeay to build.
— Net-SSLeay-1.42.orig/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2011-10-03 08:23:34.000000000 +0200
+++ Net-SSLeay-1.42/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2011-12-03 02:22:28.286660290 +0100
@@ -90,7 +90,7 @@ EOM
# libeay32 and ssleay32.
# This construction will not complain as long as it find at least one
# libssl32.a is made by openssl onWin21 with the ms/minw32.bat builder
- push @{ $opts->{lib_links} }, qw( libeay32MD ssleay32MD libeay32 ssleay32 libssl32);
+ push @{ $opts->{lib_links} }, qw( libssl libcrypto Crypt32 libeay32MD ssleay32MD libeay32 ssleay32 libssl32);
} else {
$opts->{optimize} = ‘-O2 -g’;
push @{ $opts->{lib_links} },
@@ -172,9 +172,10 @@ sub find_openssl_exec {
my ($self, $prefix) = @_;my $exe_path;
- for my $subdir (qw( bin sbin out32dll )) {
+ for my $subdir (qw( apps bin sbin out32dll )) {
my $path = File::Spec->catfile($prefix, $subdir, “openssl$Config{_exe}”);
- if ( -x $path ) {
+
+ if ( -e $path ) {
return $path;
}
}
Commit references commits can be found in the release note on the wiki: https://wiki.mozilla.org/Releases/Thunderbird_3.0.4
hg clone -r b8e06312e645 http://hg.mozilla.org/releases/comm-1.9.1 thunderbird
cd thunderbird
echo 'ac_add_options --enable-application=mail' > .mozconfig
echo 'mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-release' >> .mozconfig
hg clone -r ead1204d8b81 http://hg.mozilla.org/releases/mozilla-1.9.1 mozilla
Install the build dependencies ( https://developer.mozilla.org/En/Simple_Firefox_build ).
Now we can launch the build
make -f client.mk
This is just to keep a trace for myself on how to create a Vserver with Internet connectivity.
Create the network interface
Edit /etc/network/interfaces and add:
auto dummy0
iface dummy0 inet static
address 192.168.50.1
netmask 255.255.255.0
Restart the network
/etc/init.d/networking restart
Turns the NAT on
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
eth0 here is the network interface you use for your network access.
Create the VM
sudo vserver build build -n cyrus2.3 -m debootstrap --netdev dummy0 --interface 192.168.50.2/24 -- -d lenny
Enter the VM
sudo vserver cyrus2.3 start
sudo vserver cyrus2.3 enter
SheevaPlug + Debian = ♥♥♥♥
Thank you Martin Michlmayr!
In this example I list the installed software on the Vista machine from a Debian Sid with samba4 packages.
I’d to enable (with lusrmsgr.msc) and use the Administrator account.
% regshell --remote=192.168.50.10 -U Administrateur%castorLapon
HKEY_CLASSES_ROOT> predef HKEY_LOCAL_MACHINE
HKEY_LOCAL_MACHINE> cd SOFTWARE
New path is: HKEY_LOCAL_MACHINE\SOFTWARE
HKEY_LOCAL_MACHINE\SOFTWARE> cd Microsoft
New path is: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft> cd Windows
New path is: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows> cd CurrentVersion
New path is: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion> cd Uninstall
New path is: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall> list
K 7-Zip
K AddressBook
K Adobe Flash Player ActiveX
K Bazaar_is1
K Connection Manager
K DirectDrawEx
K DXM_Runtime
K Fontcore
K IE40
K IE4Data
K IE5BAKEX
K IEData
K Microsoft .NET Framework 3.5 Language Pack SP1 - fra
K Microsoft .NET Framework 3.5 SP1
K MobileOptionPack
K Mozilla Firefox (3.5.3)
K MPlayer2
K OCS Inventory Agent
K PuTTY_is1
K SchedulingAgent
K Vim 7.2
K WIC
K {205C6BDD-7B73-42DE-8505-9A093F35A238}
K {26A24AE4-039D-4CA4-87B4-2F83216016FF}
K {3E31821C-7917-367E-938E-E65FC413EA31}
K {89F4137D-6C26-4A84-BDB8-2E5A4BB71E00}
K {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}
K {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}.KB350003
K {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}.KB953595
K {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}.KB958484
K {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}.KB960043
K {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9}.KB963707
K {DCE8CD14-FBF5-4464-B9A4-E18E473546C7}
K {F0E12BBA-AD66-4022-A453-A1C8A0C4D570}
K {F18B31E4-E2E3-4F4F-A2C9-BA579D6AF400}
K {FC857AFE-FC36-3C91-BC17-F8E233C21B4B}
Mozilla still builds against libstdc++5…
/opt/thunderbird-2.0.0.23$ ./thunderbird
./thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
The solution is very simple. Just use libstdc++5 from Lenny:
http://ftp.fi.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-18_i386.deb
sudo dpkg -i libstdc++5_3.3.6-18_i386.deb
Après plus d’une année de réflexion, j’ai laissé tomber l’administration de mon propre WordPress et je ne switcherai finalement pas à pyBlosxon que je trouve un peu juste au niveau interactivité.
Donc finalement me voila chez WordPress.com
Je vais de nouveau avoir un outil pour raler de façon efficace !