大约有 40,000 项符合查询结果(耗时:0.0216秒) [XML]
Linux日志管理Rsyslog入门 - C/C++ - 清泛网移动版 - 专注C++内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
Linux日志管理Rsyslog入门 - C/C++ - 清泛网 - 专注C/C++及内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
Linux日志管理Rsyslog入门 - C/C++ - 清泛网 - 专注C/C++及内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
Linux日志管理Rsyslog入门 - C/C++ - 清泛网移动版 - 专注C/C++及内核技术
...的Linux缺省使用Syslog,其配置大致如下所示:
shell> cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
# kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication mes...
linux 下巧妙使用squid代理服务器 - 更多技术 - 清泛网 - 专注C/C++及内核技术
... -q squid
2.Squid代理服务的基本配置
2.1 Squid主配置文件是/etc/squid/squid.conf ,最基本的设置如下。
http_port 192.168.16.1:8080
cache_mem 64 MB
cache_dir ufs /var/spool/squid 4096 16 256
cache_effective_user squid
cache_effective_group squid
dns_nameserver...
服务器保持大量TIME_WAIT和CLOSE_WAIT的解决方法 - C/C++ - 清泛网 - 专注C/C++及内核技术
...收和重用那些TIME_WAIT的资源。
下面来看一下我们网管对/etc/sysctl.conf文件的修改:
#对于一个新建连接,内核要发送多少个 SYN 连接请求才决定放弃,不应该大于255,默认值是5,对应于180秒左右时间
net.ipv4.tcp_syn_retries=2
#net.ip...
What is LDAP used for?
...ntain by network administrators. For example you can:
use the same login/passwd to login on an Intranet and on your local computer.
give specific permissions to a group of user. For example some could access some specific page of your Intranet, or some specific directories on a shared drive.
get a...
对外网用户的squid代理+认证 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...e depend
jiulongproxynew# make
jiulongproxynew# make install
3、配置/etc/rc.conf:
hostname="jiulongproxynew.jscpu.com"
defaultrouter="221.6.117.97"
ifconfig_em0="inet 221.6.117.50 netmask 255.255.255.240"
ifconfig_em1="inet 128.0.0.4 netmask 255.255.252.0"
sendmail_enable="NONE"
inet...
linux下iptables配置详解 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...令配置IP一样,重起就会失去作用),怎么保存.
[root@tp ~]# /etc/rc.d/init.d/iptables save
这样就可以写到/etc/sysconfig/iptables文件里了.写入后记得把防火墙重起一下,才能起作用.
[root@tp ~]# service iptables restart
现在IPTABLES配置表里什么配...
Linux bpftrace学习笔记(持续更新) - 操作系统(内核) - 清泛网 - 专注IT技能提升
...5 head -1 2 libc.so.6
4235 head 3 0 /etc/ld.so.cache
4235 head 3 0 /lib64/libc.so.6
4235 head -1 2 /usr/lib/locale/locale-archive
4235 head 3 0 /usr/share/locale/locale.alias
4235 head -...