LAMP related 1
2015-06-29 18:35
232 查看
1. check in your OS verison:
2. 我好不容易下载了个 文件 然后准备解压,可是当我输入
原来tar也是间接调用了gzip,而gzip的使用是有限制的:Files created by zip can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method.
也就是说单文件用deflation压缩的包才可以用gzip解压,好在有workaround ---- unzip
unzip用法也非常简单,直接敲unzip 就有提示,最后一句命令搞定:
zhou@ubuntu:~/Downloads$ unzip nginx-1.9.2.zip -d /home/zhou/Downloads/unfiles
安装PHP 5.6.10 ( http://cn2.php.net/distributions/php-5.6.10.tar.bz2)
下载命令: axel http://cn2.php.net/distributions/php-5.6.10.tar.bz2
解压命令: tar -jcvf php-5.6.10.tar.bz2 -C
/home/zhou/Downloads/unfiles
以上两个命令好像不行 最后下面这个OK:
cd ~/Downloadswget http://am1.php.net/distributions/php-5.4.29.tar.gz
tar zxvf ~/Downloads/php-5.4.29.tar.gz -C ~/setup/
http://www.linuxidc.com/Linux/2015-04/115788.htm
/etc/issue
2. 我好不容易下载了个 文件 然后准备解压,可是当我输入
tar -zxvf xxxx.zip
gzip: stdin has more than one entry--rest ignored tar: Child returned status 2 tar: Error is not recoverable: exiting now
原来tar也是间接调用了gzip,而gzip的使用是有限制的:Files created by zip can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method.
也就是说单文件用deflation压缩的包才可以用gzip解压,好在有workaround ---- unzip
unzip用法也非常简单,直接敲unzip 就有提示,最后一句命令搞定:
zhou@ubuntu:~/Downloads$ unzip nginx-1.9.2.zip -d /home/zhou/Downloads/unfiles
安装PHP 5.6.10 ( http://cn2.php.net/distributions/php-5.6.10.tar.bz2)
下载命令: axel http://cn2.php.net/distributions/php-5.6.10.tar.bz2
解压命令: tar -jcvf php-5.6.10.tar.bz2 -C
/home/zhou/Downloads/unfiles
以上两个命令好像不行 最后下面这个OK:
cd ~/Downloadswget http://am1.php.net/distributions/php-5.4.29.tar.gz
tar zxvf ~/Downloads/php-5.4.29.tar.gz -C ~/setup/
http://www.linuxidc.com/Linux/2015-04/115788.htm
相关文章推荐
- linux C判断文件是否存在
- 如何在eclipse中引用第三方jar包
- python—命名规范(转)
- 开源Redis安装1
- 将数组组成最小的数
- Codeforces Round #310 (Div. 2)
- jQuery EasyUI Combobox 无法获取属性 options 的值: 对象为 null 或未定义
- Android数据库存储与访问
- iframe自适应高度(兼容多种浏览器)
- android中handler用法总结
- hdu 2829 dp+四边形不等式优化
- HTTP服务器nginx在android平台的使用(用于在线播放本地视频)
- 置换开方 POJ3128
- C++ 的lambda 与template结合使用
- linux基础命令
- windows下编译安装wireshark出现的问题及解决方法
- 导入Opencv自带Sample项目 face-detection 报错
- 【网易公开日】《梦幻西游》手游服务器如何实现200万玩家同时在线?(技术篇)
- sync、fsync、fdatasync、fflush函数
- iOS-协议