码迷,mamicode.com
首页 >  
搜索关键字:etc/    ( 45464个结果
linux常用查看硬件设备信息命令(转载)
系统 # uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo# 查看CPU信息# hostname# 查看计算机名# lspci -tv# 列出所有PCI设备# lsusb -tv # 列出所有...
分类:系统相关   时间:2015-07-12 15:27:39    阅读次数:196
如何解决CRITICAL glance [-] AttributeError: 'NoneType' object has no attribute 'drivername'
今天在配置OpenStack的Glance时,前边进行的都很顺利,当作到这一步时sudo glance-manage db_sync时出现了如下错误 根据错误提示,想到可能是配置问题,于是就查找了配置文档,发现需要在/etc/glance/glance-registry.conf和/etc/glance/glance-api.conf中加入下面一句话 sql_connection = mys...
分类:Web程序   时间:2015-07-12 12:51:16    阅读次数:375
Linux系统信息查看命令
[导读] 系统 uname -a 查看内核 操作系统 CPU信息 head -n 1 etc issue 查看操作系统版本 cat proc cpuinfo 查看CPU信息 hostname 查看计算机名 lspci -tv 列出所有PCI设备 lsusb -tv 系统 # uname -a #查看内核/操作系统/CPU信息 # head -n 1 /etc/issu...
分类:系统相关   时间:2015-07-12 12:50:22    阅读次数:186
Ubuntu 14.04静态ip设置
找到文件interfaces,路径:/etc/network/interfaces打开interfaces文件,看到以下内容:auto loiface lo inet loopbackauto dsl-provideriface dsl-provider inet ppppre-up /sbin/i...
分类:系统相关   时间:2015-07-12 12:36:29    阅读次数:185
putty software caused connection abort
错误现象:在很短的时间内就失去连接,并报"Software caused connection abort” 解决办法:首先得排除是网络不是不通畅,如果在局域网中要确定IP没有冲突,验证方法很简单,ping www.baidu.com 即可; 然后修改服务器中/etc/ssh/sshd.config 文件,将LoginGraceTime的值设为0,默认为2m,TCPKeepAlive 设为y...
分类:其他好文   时间:2015-07-12 11:18:45    阅读次数:214
MySQL的配置
MySQL的配置文件/etc/my.cnf编辑配置文件[root@LAMPLINUX~]#vim/etc/my.cnf#TheMySQLserver[mysqld]port=3306socket=/tmp/mysql.sockskip-lockingkey_buffer_size=256Mmax_allowed_packet=1Mtable_open_cache=256sort_buffer_size=1Mread_buffer_size=1Mread_rnd_buffer_size=4..
分类:数据库   时间:2015-07-12 08:26:44    阅读次数:163
hdu2222Keywords Search (特里)
Problem DescriptionIn the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feature t...
分类:其他好文   时间:2015-07-11 21:26:08    阅读次数:111
Install Nagios (Agent) nrpe client and plugins in Ubuntu/Debian
安装apt-get install nagios-nrpe-server nagios-plugins修改nrpe.cfgvi/etc/nagios/nrpe.cfg修改Allow Host,添加监控机的IPservice nagios-nrpe-server restart安装流量监控下载插件ch...
分类:移动开发   时间:2015-07-11 21:22:43    阅读次数:137
LAMP里php.ini配置文件详解
路径:/usr/local/php/etc/php.iniphp用“;”作为“注释”符号,shell用“#”作为“注释”符号;编辑php.ini[root@LAMPLINUX~]#vim/usr/local/php/etc/php.ini1.查询/disable_functions设置禁用函数disable_functions=eval,assert,popen,passthru,escapeshellarg,escapeshellc..
分类:Web程序   时间:2015-07-11 18:46:06    阅读次数:148
[Linux] - CentOS IP设置方法
CentOS 7的IP设置方法:1、手动设置IP方法 a) 运行命令,cd到目录:cd /etc/sysconfig/network-scripts/ b) 运行命令:ls -l找到类似这个文件名文件:ifcfg-enp0s3 c) 运行命令:vi ifcfg-enp0s3 编辑内容,如:T...
分类:系统相关   时间:2015-07-11 18:19:35    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!