配置虚拟主机在apache的httpd.conf文件末添加如下代码:<VirtualHost*:80>ServerName修改成自己的域名DocumentRoot"修改成自己的项目路径"<Directory"修改成自己的项目路径">OptionsFollowSymLinksIncludesNOEXECIndexesDirectoryIndexindex.htmlindex.htmdefault.h..
分类:
其他好文 时间:
2015-08-07 16:29:27
阅读次数:
88
Windowspwdprint working directory//当前路径hostnamemy computer's network name//计算机名称mkdirmake directory//创建文件夹cdchange directory改变路径Cd..//向上路径lslist direc...
restorecon命令SELinuxrestorecon命令用来恢复SELinux文件属性即恢复文件的安全上下文。语法restorecon[-iFnrRv][-eexcludedir][-ofilename][-ffilename|pathname...]选项-i:忽略不存在的文件。
-f:infilename文件infilename中记录要处理的文件。
-e:directory排除目录。
-R..
分类:
其他好文 时间:
2015-08-07 11:29:12
阅读次数:
83
一、expdp导出数据库1、按用户导出expdp scott/tiger@orcl DIRECTORY=oracle_dmp dumpfile=bak.dmp schemas=scott version=10.2.0.1.0;--如果10g导入11g,加上版本号2.按数据库导出expdp sy...
分类:
数据库 时间:
2015-08-07 01:44:03
阅读次数:
229
1.文件加密和解密:#openssldes-salt-infile-outfile.des#openssldes-d-salt-infile.des-outfile那个file可以是归档文件(tararchive)。2.目录归档并加密整个目录#tar-cf-directory|openssldes-salt-outdirectory.tar.des#加密#openssldes-d-salt-indirectory.tar.des|tar-x#解..
分类:
其他好文 时间:
2015-08-06 18:42:15
阅读次数:
800
安装好CentOS后,第一次进入系统使用locate命令,结果出现:locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory解决办法运行updatedb命令即可,如下图所示:
分类:
数据库 时间:
2015-08-06 12:47:14
阅读次数:
349
工程使用CocoaPods管理第三方库,在新的目录update版本的时候出现如下问题 ?问题1描述: diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The san...
分类:
其他好文 时间:
2015-08-06 11:25:27
阅读次数:
541
$cd numpy$ sudo python setup.py build$ sudo python setup.py installRunning from numpy source directory.Cythonizing sourcesnumpy/random/mtrand/mtrand.p...
分类:
编程语言 时间:
2015-08-06 01:59:52
阅读次数:
489
主要原因是右键点击需要加载英特尔集显得加速模块所致具体文件是igfxcui.dll (Intel Graphics Accelerator Library)解决办法:点击击开始,输入regedit,找到 HKEY_CLASSES_ROOT/Directory/Background/shellex/....
分类:
其他好文 时间:
2015-08-06 00:11:17
阅读次数:
116
刚解决了530的问题,又来了个linux-500 OOPS: cannot change directory:/root,什么原因呢,上网查了一下,主要原因还是在于系统启用了SELinux设置的缘故。系统安装时,默认SELinux设置为强制,如果你没有修改。故障排除: 检查SELinux设置,进入系...
分类:
系统相关 时间:
2015-08-05 17:52:43
阅读次数:
258