场景描述:一直以来都以为fdisk-l显示的Id代表的是文件系统的格式,比如ext4ext3ext2等等。实际上是标注为linux类型的文件系统,适合于linux文件系统类型。[root@bogonDesktop]#fdisk-lDeviceBootStartEndBlocksIdSystem/dev/sdb11130610490413+83Linux其中Id显示的是Linux相关..
分类:
其他好文 时间:
2014-05-27 04:18:23
阅读次数:
1125
[root@qycaishenye]#tail-f/data/caishenye/sa_9_0.logPHPWarning:mkdir():Nosuchfileordirectoryin/data/caishenye/sa_9_0.phponline18PHPFatalerror:Calltoundefinedfunctionmysql_pconnect()in/data/caishenye/sa_9_0.phponline25InteractivemodeenabledPHPWarning:mkdir():..
分类:
数据库 时间:
2014-05-27 04:00:48
阅读次数:
466
4 安装Oracle前的准备4.1基本配置4.1.1关闭防火墙[root@oracle~]#serviceiptablesstopiptables:SettingchainstopolicyACCEPT:filter[OK]iptables:Flushingfirewallrules:[OK]iptables:Unloadingmodules:[OK]关闭iptables开机自启动功能[root@oracle~]#chkconfigiptablesof..
分类:
数据库 时间:
2014-05-27 03:56:59
阅读次数:
598
#!/usr/bin/python
#-*-coding:utf-8-*-
importparamiko,os,datetime
server_ip=‘192.168.1.123‘
server_user=‘root‘
server_passwd=‘10241010‘
server_port=22
#local_dir=‘C:\Python27‘
#remote_dir=‘/soft2/nba/‘
defssh_connect():
ssh=paramiko.SSHClient()
ssh.set_missi..
分类:
编程语言 时间:
2014-05-27 03:51:40
阅读次数:
283
cobblerdefault文件说明1、cobblerdefault文件目录所在目录/var/lib/tftpboot/pxelinux.cfg2、default文件(fuelcobblerdefault文件内容)[root@fuelpxelinux.cfg]#catdefaultDEFAULTmenuPROMPT0MENUTITLEBootmenuTIMEOUT50#超时时间是50秒TOTALTIMEOUT0ONTIMEOUTbootstrap#超..
分类:
其他好文 时间:
2014-05-27 03:48:55
阅读次数:
427
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
使用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
5 安装Oracle[root@oracle~]#cd/temp/[root@oracletemp]#lslinux.x64_11gR2_database_1of2.ziplost+foundyumlinux.x64_11gR2_database_2of2.zippdksh-5.2.14-37.el5_8.1.x86_64.rpm[root@oracletemp]#unziplinux.x64_11gR2_database_1of2.zip[root@oracletemp]#unziplinux..
分类:
数据库 时间:
2014-05-27 03:12:07
阅读次数:
459
1,下载安装lighttpd-1.4.34lighttpd官网下载最新稳定版本[root@localhostsoftware]#tar-zxvflighttpd-1.4.34.tar.gz[root@localhostsoftware]#cdlighttpd-1.4.34[root@localhostlighttpd-1.4.34]#./configure--prefix=/usr/local/lighttpd#安装默认模块[root@localhostlighttpd..
分类:
其他好文 时间:
2014-05-20 23:29:06
阅读次数:
313
1.创建账号信息登录为root用户,#su–l创建nagios账号并设置密码#/usr/sbin/useraddnagios#passwdnagios2.安装nagios插件创建下载文件存放文件夹#mkdir~/downloads#cd~/downloads下载nagios插件#wgethttp://nagios-plugins.org/download/nagios-plugins-1.4.6.tar.gz解压文件#..
分类:
其他好文 时间:
2014-05-20 21:33:48
阅读次数:
510