2015年1月26日
摘要: 查什么占用了端口 netstat -nlp |grep :80root@zzx:/usr/local/mysql# netstat -nlp |grep :80tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 25269/nginx.conf#查看mysql实例的状态[root... 阅读全文
posted @ 2015-01-26 19:51 寒星12345678999 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 创建或解压tar.xz文件的方法习惯了 tar czvf 或 tar xzvf 的人可能碰到 tar.xz也会想用单一命令搞定解压或压缩。其实不行 tar里面没有征对xz格式的参数比如 z是针对 gzip,j是针对 bzip2。创建tar.xz文件:只要先 tar cvf xxx.tar xxx/ ... 阅读全文
posted @ 2015-01-26 15:39 寒星12345678999 阅读(239) 评论(0) 推荐(0) 编辑
摘要: centos下载 http://ftp.sjtu.edu.cn/centos/7.9.2009/isos/x86_64/ http://isoredirect.centos.org/centos/7/isos/x86_64/?spm=a2c6h.12873639.article-detail.4.6 阅读全文
posted @ 2015-01-26 11:14 寒星12345678999 阅读(339) 评论(2) 推荐(0) 编辑
摘要: 因为是centos linux,默认可以采用yum方式安装,则采用如下命令安装gcc编译器即可:# yum -y install gcc安装更新了如下几个组件:gcc 4.1.2-44.el5binutils 2.17.50.0.6-9.el5cpp 4.1.2-44.el5glibc-devel ... 阅读全文
posted @ 2015-01-26 11:13 寒星12345678999 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Linux mint 12 修改加速软件源更新和安装 ubuntu 软件中心由于 linux mint 12 是基于 ubuntu 的,可以使用 ubuntu 的源(Ubuntu 11.10 代号 Oneiric Ocelot),要想 获得最快的下载速度可以把/etc/apt/sources.lis... 阅读全文
posted @ 2015-01-26 09:37 寒星12345678999 阅读(635) 评论(0) 推荐(0) 编辑