This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fike@klatoon:~$ LDFLAGS="-Wl,--as-needed" pgvm install 9.2.2 | |
downloading 'http://ftp.postgresql.org/pub/source/v9.2.2/postgresql-9.2.2.tar.gz', please be patient... done. | |
checking 'postgresql-9.2.2.tar.gz' integrity... done. | |
extracting postgresql-9.2.2.tar.gz ... done. | |
configuring PostgreSQL Version: 9.2.2 ... done. | |
compiling ... done. | |
installing ... done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdb | |
syslinux /dev/sdb1 | |
mount /dev/sdb1 /mnt/pendrive | |
cp /usr/lib/syslinux/menu.c32 /mnt/pendrive | |
mkdir /mnt/pendrive/debian64 | |
mkdir /mnt/pendrive/rh64 | |
mount -o loop rhel-5.2-server-x86_64-dvd.iso /mnt/temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd if=/ sr/lib/syslinux/mbr.bin of= /dev/sdb | |
syslinux /dev/sdb1 | |
mount /dev/sdb1 /mnt/pendrive | |
cp /usr/lib/syslinux/menu.c32 /mnt/pendrive | |
mkdir /mnt/pendrive/debian64 | |
mkdir /mnt/pendrive/rh64 | |
wget http://ftp.debian.org/debian/dists/lenny/main/installer-amd64/current/images/hd-media/boot.img.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pgvm install 9.2.2 | |
downloading 'http://ftp.postgresql.org/pub/source/v9.2.2/postgresql-9.2.2.tar.gz', please be patient... done. | |
checking 'postgresql-9.2.2.tar.gz' integrity... done. | |
extracting postgresql-9.2.2.tar.gz ... done. | |
configuring PostgreSQL Version: 9.2.2 ... done. | |
compiling ... ERRO: can not compile PostgreSQL 9.2.2, see make.error.log for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for i in $(ls *.csv) | |
do psql -U postgres -c "COPY carga FROM '/tmp/$i' WITH DELIMITER ',' CSV HEADER" test; | |
done |
NewerOlder