# ant compile-c++-libhdfs -Dislibhdfs=1 # mkdir build/libhdfs # cp -r build/c++/Linux-amd64-64/lib/* build/libhdfs/ # ant compile-contrib -Dislibhdfs=1 -Dfusedfs=1 -Dlibhdfs-fuse=1 #ln -s /usr/local/hadoop/build/contrib/fuse-dfs/fuse_dfs* /bin/ #ln -s /usr/local/hadoop/build/libhdfs/* /lib/ #mkdir /mnt/hdfs test mount #fuse_dfs_wrapper.sh dfs://hdmaster01:59995 /mnt/hdfs -d & #ls /mnt/hdfs
Archive for July, 2010
how to change apache product name on header vi /apache_1.3.X/src/include/httpd.h หา #define SERVER_BASEVENDOR “Apache Group” #define SERVER_BASEPRODUCT “Apache” #define SERVER_BASEREVISION “1.3.X” #define SERVER_BASEVERSION SERVER_BASEPRODUCT “/” SERVER_BASEREVISION #define SERVER_PRODUCT SERVER_BASEPRODUCT #define SERVER_REVISION SERVER_BASEREVISION #define SERVER_VERSION SERVER_PRODUCT “/” SERVER_REVISION enum server_token_type { SrvTk_MIN, /* eg: Apache/1.3.0 */ SrvTk_OS, /* eg: Apache/1.3.0 (UNIX) */ SrvTk_FULL, /* eg: Apache/1.3.0 [...]
two command #lofiadm -a /root/my.iso /dev/iso01 #mount -F hsfs -o ro /dev/iso01 /mnt one command #mount -F hsfs -o ro `lofiadm -a /root/my.iso` /mnt
# zpool create mypool /dev/dsk/c0t0d0 # zfs list # zfs mount mypool # zfs unmount mypool # zfs create mypool/test # zfs destroy mypool/test # zfs rename mypool/test mypool/test2 # zfs set canmount=off mypool # zfs set mountpoint=/home mypool # zfs set compression=on mypool # zfs set atime=off mypool # zfs set quota=1G mypool/test
bash: rsync: command not found fix by add –rsync-path=PATH
solaris 10 sparc configure: error: C compiler cannot create executables
Posted: 28th July 2010 by admin in Linux How toconfigure: error: C compiler cannot create executables install SUNWarc from dvd for fix it
Edit Default Library Path on solaris 10 type “crle” for list Default Library Path # crle Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /usr/local/lib:/lib:/usr/lib Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib type “crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib” to change Default Library Path #crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib
Install JDK # emerge virtual/jdk Config JVM # java-config –list-available-vms # java-config –set-system-vm ???