杂七杂八
-
Debian 安装 nodejs 环境
1、安装编译包 sudo apt-get install python g++ make checkinstall 2、 获取最新的 node 源码 mkdir ~/src && cd ~/src wget -N http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz // 最新版ghost博客,最低要求0.10.4 tar xzvf node-v0.10.4.tar.gz && cd node-v* 3、配置编译源码 ./configure sudo checkinstall 注意,运行 checkinstall 需要 sudo,之后选择 3,将 node 的版本号前的 v 去掉, 例如,这里安装的版本为 v0.10.4,改为 0.10.4 即可。 这里编译会比较久,需要耐心等待. 4、 安装(-i)和卸载(-r) ……Jays 2014-12-110 -
Depends: libtasn1-3-dev (>= 0.3.4) but it is not going to be installed
Depends: libtasn1-3-dev (>= 0.3.4) but it is not going to be installed or debian/ubuntu错误解决E: Sub-process /usr/bin/dpkg returned an error code (1) 的解决办法! 办法如下: sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更名 sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹 sudo apt-get update sudo apt-get -f upgrade 然后再安装其他程序应该就正常,debian 7 实测有效 参考:http://yanue.net/post-123.htmlJays 2014-12-110 -
wget 从FTP服务器下载文件
wget P /root/tmp ftp://ovh.ssnpv.tk/XXXX.mp4 --ftp-user=XXX --ftp-password=XXXXXX 说明: wget linux下载命令 P /root/tmp 指定下载到/root/tmp ftp://ovh.ssnpv.tk/XXXX.mp4 --ftp-user=FTP帐号 --ftp-password=帐号对应密码Jays 2014-11-290 -
openwrt 更新源下载速度慢解决办法
hfs下载地址:http://www.melauto.it/rejetto/hfs.exe 完整包下载:http://downloads.openwrt.org/snapshots/trunk/ar71xx/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-x86_64.tar.bz2 下载完成后拉入hfs里面..修改好对opkg.conf里面的对应位置,再执行okpg update . okpg install xxx 就能在线进行安装了 /etc/opkg.conf src/gz barrier_breaker http://192.168.10.122/packages dest root / dest ram /tmp lists_dir ext /var/opkg-lists option overlay_root /overlay https://sqzr.cc/blog/2013/11/09/openwrt-opkgw……Jays 2014-11-210 -
openwrt 无法解析域名的解决方法
rm /etc/resolv.conf ln -s /tmp/resolv.conf.auto /etc/resolv.confJays 2014-11-210 -
Get Custom Essay
Using a minor planning, a successful dialog that get custom essay get custom essay sets you aside from other challengers vying for school vice get custom essay president can be written by you. Participate your market by having an inspiring offer about command, by what motivated one to function for school vice president, or discuss a quick particular tale. Wrap by asking friends for their election your dialog up. Point out how your skills demonstrate that you will be capable of quickly going ge……Jays 2014-07-180