情况:Windows下网站直接拷贝至Ubuntu1.删除cache下的所有临时文件。(需保留Thinkphp Runtime下的文件结构,删除文件内容)2.提权,在Linux命令行输入 sudo chmod 777 -R /var/www
分类:
Web程序 时间:
2014-07-24 12:12:45
阅读次数:
1949
先安装GIT 然后从 git://github.com/phalcon/cphalcon.git 这里下载安装文件 编译完成就可以安装了!编译chmod -R 777 cphalcon1. 创建从C源扩展遵循这些步骤:自动检测你的架构git clone --depth=1 git://github....
分类:
系统相关 时间:
2014-07-24 10:16:33
阅读次数:
273
1.开始Vim test.py#!/usr/bin/pythonprint "hello,world!";chmod +x test.py./test.py2.基本知识Python有五个标准的数据类型:Numbers(数字)String(字符串)List(列表)Tuple(元组)Dictionary...
分类:
编程语言 时间:
2014-07-22 22:32:16
阅读次数:
270
linux下文件的读写操作(openreadwrite)转http://www.2cto.com/os/201403/285837.htmlopen(打开文件)相关函数 read,write,fcntl,close,link,stat,umask,unlink,fopen表头文件 #include#...
分类:
系统相关 时间:
2014-07-22 00:35:33
阅读次数:
373
一、配置环境root用户运行groupadd oinstallgroupadd dbauseradd -d /home/oracle -g oinstall -G dba -m oracle mkdir -p /u01/app/oracle/product/11.2.0 chown -R oracl...
分类:
数据库 时间:
2014-07-22 00:21:36
阅读次数:
425
linuxC之access函数access():判断是否具有存取文件的权限相关函数stat,open,chmod,chown,setuid,setgid表头文件#include定义函数int access(const char * pathname, int mode);函数说明access()会检...
分类:
数据库 时间:
2014-07-21 23:39:36
阅读次数:
473
apache-tomcat的配置
首先下载软件包
apache-tomcat-6.0.33.tar.gz tomcat-connectors-1.2.32-src.tar.gz
httpd-2.2.17.tar.gz jdk-6u25-linux-i586-rpm.bin
1.安装JDK
chmod +x jdk-6u25-linux-i586.bin
./j...
分类:
系统相关 时间:
2014-07-21 11:24:44
阅读次数:
317
1、安装samba(CentOS Linux):yum install samba system-config-samba samba-client samba-common 2、创建www账号 ?/usr/sbin/groupadd www/usr/sbin/useradd -g www www mkdir -p /data/ chown -R www:www /...
分类:
其他好文 时间:
2014-07-21 10:32:32
阅读次数:
263
一、chown 命令 用途:更改文件的所有者或组。命令由单词change owner组合而成。 使用示例: 1,更改文件的所有者: chown jim program.c 文件 program.c 的所有者更改为 jim。作为所有者,jim 可以使用 chmod 命...
分类:
其他好文 时间:
2014-07-21 10:19:30
阅读次数:
185
写出以下shell脚本1 判定一个用参数指定的文件是否为可执行,如果不是,则改为可执行#!/bin/bash if [ -x $1 ]then echo "OK"else echo "chmod a+x"chmod a+x $1fi 2 用while和until循环,实现输出某年前9个月月历的效果 ...
分类:
其他好文 时间:
2014-07-21 08:19:28
阅读次数:
279