1.新建一个没有家目录的用户openstack2.复制/etc/skel为/home/openstack3.改变/home/openstack及其内部的文件的属主,属组均为openstack4./home/openstack及其内部的文件,属组和其他用户没有任何访问权限[root@localhost~]#useradd-Mopenstack
[root@localhost~]#ls-l/home/op..
分类:
系统相关 时间:
2014-05-27 04:18:58
阅读次数:
523
1.创建一个用户mandriva,其ID号为2002,基本组为distro(组ID为3003),附加组为linux[root@localhost~]#groupadd-g3003distro
[root@localhost~]#tail-1/etc/group
distro:x:3003:
[root@localhost~]#groupaddlinux
[root@localhost~]#tail-1/etc/group
linux:x:3004:[root@loca..
分类:
系统相关 时间:
2014-05-27 03:37:39
阅读次数:
409
前言现在sendmail服务是Linux系统自带服务,默认可能没有启动.本文不是讲解如何搭建本地mail服务器,而仅仅是作为客户端,使用外部smtp服务发送邮件,因此无需启动sendmail服务.学习笔记,以备查阅.1.Sendmail配置配置发生邮件的邮箱认证信息vi/etc/mail.rc---增加如下内容---1setfr..
分类:
系统相关 时间:
2014-05-27 03:31:19
阅读次数:
543
CMAKE方式编译安装Mysql5.51、源码cmake方式编译安装MySQL5.5.32安装前先安装:yuminstallncurses-devel-y1.1下载Mysql和cmake安装包:wgethttp://wwwNaNake.org/files/v2.8/cmake-2.8.8.tar.gz1.2查看系统环境cat/etc/redhat-releaseuname-runame-m1.3安装cmake包tarzxfcmake-..
分类:
数据库 时间:
2014-05-27 03:26:20
阅读次数:
368
使用root账户登录系统1.用安装时的账户给root设定密码sudopasswdroot允许root远程ssh登录sudovi/etc/ssh/sshd_configPermitRootLoginyessudoservicesshrestart查询软件包是否安装dpkg-l|greppackage-name查看已安装软件包内的文件dpkg-Lpackage-name查询文件所对应的软件包dpkg..
分类:
其他好文 时间:
2014-05-27 03:16:54
阅读次数:
176
每次ubuntu系统启动总会报SystemProgramProblemDetected而且也没啥报错详细信息,ubuntu下可关闭apport。方法如下:vim/etc/default/apportenabled=1改成0即可PS:也可清空/var/crash目录下的cash文件。
分类:
其他好文 时间:
2014-05-27 03:16:31
阅读次数:
359
/bin = BINaries/dev = DEVices/etc = ETCetera 附加物或
EdiTable Configure file 配置文件/proc = PROCesses/sbin = Superuser BINaries/usr =
Unix Shared Resourcesa...
分类:
系统相关 时间:
2014-05-23 11:13:38
阅读次数:
453
#include #include //function: charTowchar
//purpose:char to WCHAR 、wchar_t、LPWSTR etc void charTowchar(const char *chr,
wchar_t *wchar, int size) { .....
分类:
其他好文 时间:
2014-05-20 11:37:00
阅读次数:
326
[nginx]Step 1Download the shell scriptwget
https://raw.github.com/JasonGiedymin/nginx-init-ubuntu/master/nginx -O
/etc/init.d/nginxStep 2chmod +x /etc...
分类:
数据库 时间:
2014-05-20 09:00:18
阅读次数:
401