/etc/sysconfig/network-scripts/ifcfg-eth0IPADDR=x.x.x.xGATEWAY=y.y.y.yNETMASK=x.x.x.xyum
-y install openssh-server openssh-clientschkconfig sshd onser...
分类:
其他好文 时间:
2014-05-09 04:25:47
阅读次数:
287
原文QT 4.5.2 嵌入式开发平台的搭建系统环境:ubuntu
9.04编译环境:crosstool 0.43 安装后生成4.1版本的arm-linux-GCC在配置之前,sudo apt-get install
build-essential 来安装基本的开发环境Qtx11(源码安装) 安装准备...
分类:
其他好文 时间:
2014-05-09 04:00:08
阅读次数:
464
1、Ubuntu12.04 安装nginx+php+mysql
(lnmp)的web服务器环境http://blog.db89.org/ubuntu12-04-install-nginx-php-mysql-lnmp-of-the-web-server-environment/2、Ubuntu
12...
分类:
数据库 时间:
2014-05-09 03:57:10
阅读次数:
308
Ubuntu14.04下:1. 安装cups
和cups-pdf,其中cups-pdf是虚拟打印的主要模块: sudo apt-get install cups-pdf2. cups-pdf 的
backend 要求 root 权限,所以设置一下权限: sudo chmod 4755 /usr/.....
分类:
其他好文 时间:
2014-05-09 03:50:52
阅读次数:
271
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#mongodb-as-a-windows-serviceC:\mongodb\bin\mongod.exe
--dbpath d:\test\mongodb\dat...
分类:
数据库 时间:
2014-05-09 03:31:30
阅读次数:
340
强烈建议使用ubuntu系统,apt-get指令太好用了,安装各种依赖相当简单。
1.首先到bochs网站上下载一个linux版本bochs。在安装之前需要安装一些依赖:
sudo apt-get install build-essential
sudo apt-get install xorg-dev
sudo apt-get install libgtk2.0-dev
sudo ap...
分类:
系统相关 时间:
2014-05-09 02:09:44
阅读次数:
387
1, Nginx 安装,http://nginx.org/en/download.html.下载解压,configure,make ,make install.安装过程中确实包,需要先下载安装依赖包2,安装lighttpd的spawn-fastcgi 下载http://www.lighttpd.net/download/lighttpd-1.4.19.tar.gz ./configuremake...
分类:
其他好文 时间:
2014-05-09 01:46:02
阅读次数:
358
1. 首先安装nodejs (http://nodejs.org/)
2. 然后在命令行输入 npm 回车
如果出现下图:
则表示安装成功
3. 安装
npm install -g cordova
4. 安装JDK
这里最麻烦的就是环境变量的配置了
配置环境变量:右击“我的电脑”-->"高级"-->"环境变量"
1)在系统变量...
分类:
移动开发 时间:
2014-05-09 00:37:25
阅读次数:
448
书写一个shell脚本并使之执行的步骤:1. 打开一个文件,以 #!
bin/bash作为开头2.在文件中写入一些正确可执行的shell语句3.保存文件4.更改文件权限,执行文件一些小技巧:
如果想在系统中添加自己的命令,比如执行自己建好的shell脚本语句这样一条命令实例: 1.创建文件cd......
分类:
其他好文 时间:
2014-05-08 22:34:19
阅读次数:
378
使用shell判断系统时区if[[!`grep-aCST-8/etc/localtime`]];then
rm-rf/etc/localtime
ln-s/usr/share/zoneinfo/Asia/Shanghai/etc/localtime
fiNginx日志切割脚本#!/bin/bash
logs_path="/alidata/server/log/nginx/"
mv${logs_path}access.log${logs_path}access_$(date-d"ye..
分类:
系统相关 时间:
2014-05-08 16:41:18
阅读次数:
403