1、ntsysv服务配置工具用来配置哪些服务开启或关闭,图形界面,使用键盘来操作。安装ntsysv服务的命令:yuminstall-yntsysv直接运行命令ntsysv 弹出配置界面;按键盘的上下方向键进行移动,按空格键选择,中括号内显示有 * 表示开启,否则不开启。通过这个工具可以看到目前系统中...
分类:
系统相关 时间:
2015-04-24 14:08:03
阅读次数:
191
一、首先安装以下软件:yuminstall-ygccgcc-c++autoconfautomakeyuminstall-yzlibzlib-developensslopenssl-develpcre-devel--->其中gcc,gcc-c++,autoconf,automake,pcre-devel是必须安装的软件。二、下载源码包,并解压:tar-zxvfnginx-1.6.3.tar.gzcdnginx-1.6.3三、编译n..
分类:
其他好文 时间:
2015-04-22 02:09:45
阅读次数:
147
wireshark在linux下也可以安装yuminstall-ywireshark抓包分析http请求:tshark-n-ta-Rhttp.request-Tfields-e"frame.time"-e"ip.src"-e"http.host"-e"http.request.method"-e"http.request.uri"
分类:
Web程序 时间:
2015-04-22 02:08:41
阅读次数:
795
1、编译安装MySQL5.5#yuminstall-ycmakegccgcc-c++makecmakencursesncurses-devel
#groupaddmysql
#useradd-gmysql-s/sbin/nologinmysql
#tarzxvfmysql-5.5.31.tar.gz
#cdmysql-5.5.31#cmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql5.5-DSYSCONFDIR=/usr/local/mysql5.5/etc-D..
分类:
数据库 时间:
2015-04-20 19:08:22
阅读次数:
239
今天要在台式机上安装一个usb网卡当短信猫用用lsusb命令提示-bash:lsusb:commandnotfound应该是安装的mini系统没有安装这个工具包yuminstall-yusbutils把usb工具包安装后正常。[root@sms~]#lsusbBus001Device001:ID1d6b:0002LinuxFoundation2.0roothubBus002Device001:ID1d6b:0..
分类:
其他好文 时间:
2015-04-20 09:41:46
阅读次数:
263
01.BIND·BerkeleyInternetNameDomain,伯克利大学的,全球使用最多的,支持绝大多数操作系统,·BIND的服务名称为named,·yuminstall-ybindbind-chrootbind-utils,安装3个软件,·DNS占用tcp+udp的53端口,953也会占用,远程控制的?·BIND配置文件:·/etc/named.conf,保..
分类:
其他好文 时间:
2015-04-19 19:48:28
阅读次数:
131
192.168.1.210node1
192.168.1.220node2
192.168.1.200nfs
1.200:
yuminstall-ynfs-utils
vim/etc/exports
/data/share192.168.1.0/24(rw,sync,no_root_squash)
/etc/init.d/rpcbindrestart;/etc/init.d/nfsrestart
210,220:
yuminstall-ynfs-utils
showmount-e192.168.1.200
m..
分类:
数据库 时间:
2015-04-17 15:54:57
阅读次数:
194
www.mysql.com官方网站communltyserver社区版免费的显示系统自带的mysql包yumlist|grepmysql安装mysql:yuminstall-ymysql-servermysqlmysql-devel看按的版本:rpm-qimysql-server初始化:servicemysqldstart/restart设置密码:mysqladmin-urootpassword‘密码‘开机启动:chkconf..
分类:
数据库 时间:
2015-04-16 06:51:46
阅读次数:
182
1、安装epel,memcached,php,httpd,php的memcache扩展yuminstall-yepel*yuminstall-yhttpdphpmemcachedphp*memcache2、启动httpd,memcacheservicehttpdstartmemcached-d-m20-uroot-p120003、vim/var/www/html/04.php<?phpphpinfo();?>浏览器打开http://192.168.20.95/04.p..
分类:
系统相关 时间:
2015-04-11 06:49:23
阅读次数:
203
1、安装httpd,epel,redis,php的redis扩展yuminstall-yepel*(先安装epel扩展YUM源)yuminstall-yhttpdredisphp*redis(安装了epel之后,再安装redis,与php的redis扩展)2、启动httpd,redisservicehttpdrestartserviceredisrestart3、vim/var/www/html/01.php<?phpphpinfo();?>..
分类:
其他好文 时间:
2015-04-11 06:47:50
阅读次数:
138