I tried to use wget -crmmirroring http://archive.cloudera.com, but 416 Requested Range Not Satisfiable is reported when files have been updated.
The -c uses a range header to perform a partially download especially for incomplete download tasks, but if I want to replace old files with new ones, this is a bad choice.
wget provides an -m/–mirror, as it’s said in the manual, is the shorthand for ‘-r -l inf -N’, which means wget -m/–mirror is enough for mirroring sites.
Incoming search terms:
CNAME: sskaje.name => sskaje.me, *.sskaje.name => sskaje.name
HTTP redirect: http://xxx.sskaje.name/aaa/bbb => http://xxx.sskaje.me/aaa/bbb
rewrite ^(.*) http://sskaje.me$1 redirect;
rewrite ^(.*) http://$domain.sskaje.me$1 redirect;
Incoming search terms:
1 Download Mavericks installer
Download from Mac App Store or anywhere.
The default folder name is ‘Install OS X Mavericks.app‘ not accessible directly from Mac Finder. There’s a DMG file locate at ‘Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg‘, this DMG contains all files we need.
2 Mount DMG directly from Terminal
hdiutil attach Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg
The DMG will be mount at /Volumes/OS X Install ESD/
Continue reading “Create OS X Mavericks Bootable USB Drive from AppStore Release” »
From: https://help.ubuntu.com/community/PPTPServer and https://help.ubuntu.com/community/L2TPServer
This is an integrated & simplified intro about installing pptp/l2tp server on ubuntu 12.04.
pptpd, xl2tpd, openswan are needed.
ppp should be installed by default, you can
apt-get install ppp just for sure.
dnsmasq is needed to simplify dns issue.
So, just type commands:
sudo apt-get install pptpd openswan l2tpd dnsmasq
Server ip is assigned as: 192.168.210.1
Client ip are in : 192.168.210.100~192.168.210.200
Continue reading “Notes: PPTP/L2TP Server on Ubuntu” »
bash-4.2# port upgrade outdated
---> Extracting expat
Error: org.macports.extract for port expat returned: command execution failed
Please see the log file for port expat for details:
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
bash-4.2# tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
:info:extract Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:info:extract Exit code: 127
:error:extract org.macports.extract for port expat returned: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
:info:extract Warning: targets not executed for expat: org.macports.destroot org.macports.extract org.macports.patch org.macports.configure org.macports.build
:notice:extract Please see the log file for port expat for details:
Continue reading “Macports upgrade outdated failed on OS X 10.9 Mavericks” »