![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
文章平均质量分 56
iteye_20413
这个作者很懒,什么都没留下…
展开
-
Linux 防火墙
查看防火墙状态 service iptables status 停止防火墙 serbice iptables stop原创 2011-08-10 15:50:19 · 53 阅读 · 0 评论 -
Linux hosts 主机名
转自: http://space.itpub.net/21639366/viewspace-604530 1、关于/etc/host,主机名和IP配置文件 Hosts - The static table lookup for host name(主机名查询静态表) hosts文件是Linux系统中一个负责IP地址与域名快速解析的文件,以ASCII格式保存在“/etc”目录下...原创 2011-04-20 13:45:42 · 98 阅读 · 0 评论 -
Linux常用命令
su使用 以userName执行xx.sh su - [userName] -c /home/xx.sh 日志方法 echo `date` user-`whoami` INFO: domain start >> /home/testlog 2011年 08月 31日 星期三 14:50:47 CST user-root INFO: domain start fi...原创 2011-04-20 11:40:52 · 67 阅读 · 0 评论 -
Linux开机自启动
/etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style ...原创 2011-04-18 15:21:11 · 103 阅读 · 0 评论 -
Linux中open files数
open file参数执行:ulimit -n 应该会显示默认值1024 执行:ulimit -n 8192 但是ulimit直接修改的数字,在系统重启后会重置,所以还要修改: 1、/etc/security/limits.conf,在里面加上: * soft nofile 8192 * hard nofile 20480 -1 无限 2、/etc/pam.d/login...原创 2011-03-21 16:25:36 · 272 阅读 · 0 评论 -
查看统计Linux连接数
Linux有各种搜索过滤方式,组合后可以灵活运用 以tcp开头的各种状态连接数 netstat -n | awk '/^tcp/ {++state[$NF]} END {for(key in state) print key,"\t",state[key]}' netstat -na|grep ESTABLISHED|awk '{print $5}'|awk -F: '{prin...原创 2011-03-21 16:25:01 · 251 阅读 · 0 评论 -
重设 修改 忘记 MySQL root 密码
参考: http://www.linuxidc.com/Linux/2008-02/11137.htm原创 2011-10-18 13:41:11 · 90 阅读 · 0 评论 -
Linux 安装 MySQL
RHEL 参考:http://www.linuxidc.com/Linux/2007-12/9962.htm ubuntu 自动安装 参考:http://wiki.ubuntu.org.cn/MySQL%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97 安装MySQL sudo apt-get install mysql-serv...原创 2011-10-11 13:52:44 · 75 阅读 · 0 评论 -
通用kill shell外壳
#!/bin/bash appName="appName" appPsCommond="appPsCommond" appPath="/home/appPath" isRunning(){ appPs=`ps -ef | grep "$appPsCommond" | grep -v "grep" | grep -v "stop" | awk ' { print $原创 2011-09-13 19:44:54 · 102 阅读 · 0 评论 -
Linux 用户与用户组管理
转:http://www.jb51.net/os/RedHat/1234.html useradd –d /home/newusername -m -g root newusername useradd [新用户名] passwd [新用户名] [新用户密码] su - [username] ...原创 2011-09-02 15:19:16 · 76 阅读 · 0 评论 -
Linux rpm ftp资源
http://globalfilesearch.net/browser/ftp.uni-koeln.de/mirrors/centos/5.0/os/x86_64/CentOS/ ftp://ftp.uni-koeln.de/mirrors/centos/5.0/os/x86_64/CentOS/ ftp://ftp.redhat.com/pub/redhat/linux/u...原创 2011-08-24 16:50:08 · 123 阅读 · 0 评论 -
linux-GFS与RHCS安装记录.docx
附件原创 2011-08-23 10:53:15 · 90 阅读 · 0 评论 -
Linux JDK卸载与安装
###################################################JDK卸载 [root@192.xxx.xxx.xxx boot]# java -version //检查JDK版本命令 java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46) [...原创 2011-08-15 17:00:28 · 121 阅读 · 0 评论 -
启动ssh服务
检查是否安装ssh rpm -qa|grep openssh 启动 service sshd start ssh配置文件为: /etc/ssh/sshd_config 参数参考:http://lamp.linux.gov.cn/OpenSSH/sshd_config.html # $OpenBSD: sshd_config,...原创 2011-11-11 15:10:21 · 131 阅读 · 0 评论