`
owen-zhang
  • 浏览: 27436 次
文章分类
社区版块
存档分类
最新评论
文章列表
1、下载安装MinGW到C:\MinGW,把C:\MinGW\bin加入到Path环境变量里 2、下载解压Sublime Text2, 修改安装目录下的 Data\Packages\Default\exec.py 以支持中文,第45行改为   # proc_env[k] = os.path.expandvars(v).encode(sys.getfilesystemencoding()) proc_env[k] = os.path.expandvars(v.decode(sys.getfilesystemencoding())).encode(sys.getfilesystemenc ...
----- BEGIN LICENSE ----- Andrew Weber Single User License EA7E-855605 813A03DD 5E4AD9E6 6C0EEB94 BC99798F 942194A6 02396E98 E62C9979 4BB979FE 91424C9D A45400BF F6747D88 2FB88078 90F5CC94 1CDC92DC 8457107A F151657B 1D22E383 A997F016 42397640 33F41CFC E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D 5CDB ...
第一步:解压 [root@test02 software]# tar zxvf redis-2.6.4.tar.gz   第二步:编译安装 [root@test02 software]# cd redis-2.6.4   [root@test02 redis-2.6.4]# make   [root@test02 redis-2.6.4]# make test   执行make test 时会提示 You need 'tclsh8.5' in order to run the Redis test,需要安装tclsh   [root@test02 software]# t ...
  目标:在服务器安装两个mysql5.5端口分别为3316和3326   // 添加mysq用户、l用户组 [root@test02 software]# groupadd mysql [root@test02 software]# useradd -r -g mysql mysql   // 解压 [root@test02 software]# tar zxf mysql-5.5.22-linux2.6-i686.tar.gz   // 重命名 [root@test02 software]# mv mysql-5.5.22-linux2.6-i686 mysql-3 ...
安装nginx1.2.3 第一步:解压 [root@test02 software]# tar zxvf nginx-1.2.3.tar.gz   第二步:编译 [root@test02 nginx-1.2.3]# ./configure --prefix=/usr/local/nginx-1.2.3 [root@test02 nginx-1.2.3]# make [root@test02 nginx-1.2.3]# make install   如果提示缺少pcre库,执行yu ...
应用场景: 同步接收方:test01 接收目录:/opt/software/test/a/ 同步发起方:test02 同步目录:/opt/software/test/a/   在test02的 /opt/software/test/a/ 目录下做新增、创建、删除、移动操作都会同步到test01的/opt/software/test/a/目录   第一步 ...
第一步:安装apache 见 http://owen-zhang.iteye.com/blog/1704396   第二步:解压php [root@test02 software]# tar zxvf php-5.4.4.tar.gz   第三步:编译安装   [root@test02 php-5.4.4]# ./configure --prefix=/usr/local/php5.4 --with-apxs2=/usr/local/httpd2.2.22/bin/apxs --with-mysql   这样会在 /usr/local/httpd2/modules 目录下生成一 ...
第一步:解压 httpd-2.2.22.tar.gz [root@test02 software]# tar zxvf httpd-2.2.22.tar.gz   第二步:编译 [root@test02 software]# ./configure --prefix=/usr/local/httpd2.2.22 [root@test02 software]# make [root@test02 software]# make install   最后运行   [root@test02 software]# cd /usr/local/httpd2.2.22 [root@te ...
第一步:先解压 [root@test02 software]# tar -zxvf rzsz-3.48.tar     第二步:编译生成可执行文件     [root@test02 src]# make posix   第三步:复制rz sz 到 /usr/bin 目录下
检查了服务器的同步的目录权限都没有问题,网上找了说是开启了SELinux 的enforce模式,于事   [root@test01 etc]# getenforce Enforcing   果然是enforce模式,然后 [root@test01 etc]# setenforce 0 关闭enforce模式   [root@test01 etc]# getenforce Permissive  
应用场景:test01 ssh访问test02,不需要输入密码   登录test01   第一步:生成公钥、私钥 [root@test01 ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been save ...
# CentOS-Media.repo # # This repo is used to mount the default locations for a CDROM / DVD on #  CentOS-5.  You can use this repo and yum to install items directly off the #  DVD ISO that we release. # # To use this repo, put in your DVD and use it with the other repos too: #  yum --enablerepo ...
[root@localhost ~]# mount -t cifs -o username=administrator,password=123456 //192.168.1.102/360Downloads /mnt     360Downloads是windows上的共享目录 /mnt是把这个共享目录挂载到/mnt
1、设置virtualbox的网络连接方式,如下图使用桥接方式,桥接的网卡为宿主正在上网的网卡,现在我是通过无线来上网的,所以选择1030这个无线网卡。     2、在命令行中运行 dhclient eth0,这时将会自动分配ip给eth0。这样每次重启电脑后都要手动运行dhclient eth0才能获得ip,要让它随系统启动后自动获取需要修改 /etc/sysconfig/network-scripts/ifcfg-eth0,将ONBOOT="no"改为ONBOOT="yes"。    
Global site tag (gtag.js) - Google Analytics