-
centos6.4使用man查找命令时,报错No manual entry for xxxx
所属栏目:[Linux] 日期:2021-01-24 热度:110
前提:安装man的命令 yum -y install man 使用man报错 [root@localhost objs]# man fcntlNo manual entry for fcntl[root@localhost objs]# cd [root@localhost ~]# man fcntlNo manual entry for fcntl[root@localhost ~]# which man/usr/bin/man 解决报[详细]
-
linux man使用方法 和centos安装中文man包 --转
所属栏目:[Linux] 日期:2021-01-24 热度:91
http://blog.chinaunix.net/uid-25100840-id-302308.html 中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 1.手册页(Man Pages)对于Linux初学者,不能将手册页当教程,因为它只是简明的参考资料.在你需要了解某一[详细]
-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2021-01-24 热度:170
http://snow-berry.iteye.com/blog/1991754 从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示Device eth0 does? not seem to be present故障现象:service network restartShutting down loopback insterface:????????????[详细]
-
18 Command Line Tools to Monitor Linux Performance
所属栏目:[Linux] 日期:2021-01-24 热度:176
副标题#e# By??Under:?,??On:?December 26,2013 It’s really very tough job for every?System?or?Network?administrator to monitor and debugLinux System Performance?problems every day. After being a?Linux Administrator?for?5 years?in?IT indust[详细]
-
Linux getopt()函数 getopt_long()函数---转
所属栏目:[Linux] 日期:2021-01-24 热度:80
http://hi.baidu.com/scoundrelgg/item/d4083f8412eea05d26ebd97f get_opt()函数: 函数原型:: #include int getopt(int argc,char * const argv[],const char *optstring); extern char *optarg;extern int optind,opterr,optopt; 用法见右边栏 1.参数[详细]
-
如何看linux是32位还是64位--转
所属栏目:[Linux] 日期:2021-01-24 热度:148
地址:http://hi.baidu.com/hehongrong/item/20c296bcf8d834432aebe3b2 如何看linux是32位还是64位 查看linux是多少位的几位方法: 查看linux机器是32位还是64位的方法: 方法一: file /sbin/init??? 或者?? file /bin/ls 结果如下: /sbin/init: ELF 64-[详细]
-
10 Linux DIG Command Examples for DNS Lookup--reference
所属栏目:[Linux] 日期:2021-01-24 热度:54
副标题#e# by??on? Dig stands for domain information groper. Using dig command you can query DNS name servers for your DNS lookup related tasks. This article explains 10 examples on how to use dig command. 1. Simple dig Command Usage (Unde[详细]
-
iptables详解--转
所属栏目:[Linux] 日期:2021-01-24 热度:156
副标题#e# 出处:http://yijiu.blog.51cto.com/433846/1356254 iptables详解 基本概念: 1.防火墙工作在主机边缘:对于进出本网络或者本主机的数据报文,根据事先设定好的检查规则对其检查,对形迹可疑的报文一律按照事先定义好的处理机制做出相应处理 对lin[详细]
-
Find command usage in Linux with excellent examples--referen
所属栏目:[Linux] 日期:2021-01-24 热度:179
find searches?the directory tree rooted at each given file name by evaluating? the?given expression from left to right,according to the rules of precedence,until the outcome is known (the left?hand side is false for?and?operations,true f[详细]
-
expect实现自动交互由浅入深
所属栏目:[Linux] 日期:2021-01-23 热度:106
副标题#e# h1 id="expect实现自动交互由浅入深"expect实现自动交互由浅入深 作为运维人员可以通过Shell可以实现简单的控制流功能,如:循环、判断等。但是对于需要交互的场合则必须通过人工来干预,有时候我们可能会需要实现和交互程序如telnet服务器等进行[详细]
-
sersync自动化同步部署
所属栏目:[Linux] 日期:2021-01-23 热度:145
副标题#e# div class="toc" p class="toc-title"目录 div class="toc-list" 部署rsync+sersync服务,实现实时监控目录的变化,并实时同步变化文件。 192.168.1.9:安装rsync server服务。 192.168.1.10:安装rsync,sersync服务。 监控192.168.1.10(/data/{[详细]
-
详解IPTABLES
所属栏目:[Linux] 日期:2021-01-23 热度:144
副标题#e# h1 id="详解iptables"详解IPTABLES Iptables 是Linux 内核集成的 IP 信息包过滤系统。如果Linux 系统连接到因特网或 LAN、服务器或连接 LAN 和因特网的代理服务器, 则该系统有利于在 Linux 系统上更好地控制 IP 信息包过滤和防火墙配置。 防火墙[详细]
-
批量执行工具PSSH详解
所属栏目:[Linux] 日期:2021-01-22 热度:135
副标题#e# h1 id="批量执行工具pssh详解"批量执行工具PSSH详解 pssh是一个python编写可以在多台服务器上执行命令的工具,同时支持拷贝文件,是同类工具中很出色的,使用必须在各个服务器上配置好密钥认证访问。 yum install pssh -y # 安装setuptools包,如[详细]
-
Linux性能评估工具
所属栏目:[Linux] 日期:2021-01-22 热度:132
副标题#e# div class="toc" p class="toc-title"目录 div class="toc-list" 检测服务器当前的性能,主要检查的项目如下: 负载:uptime 内核信息: dmesg 内存:vmstat、free CPU:top、mpstat、 I/O:iostat 网络:sar 有些命令需要安装sysstat包 $ uptime[详细]
-
VMware 安装提示缺少MicrosoftRuntime DLL 问题解决办法
所属栏目:[Linux] 日期:2021-01-22 热度:152
VMware 安装提示缺少MicrosoftRuntime DLL 问题解决办法 ?[详细]
-
linux查看主机端口进程命令
所属栏目:[Linux] 日期:2021-01-22 热度:162
div id="blog_content" class="blog_content" 1、查看主机信息 # more /etc/hosts # Do not remove the following line,or various programs # that require network functionality will fail. 127.0.0.1?????? xyn-redhat????? localhost.localdomain?? l[详细]
-
ubuntu安装配置jdk tomcat mysql ...
所属栏目:[Linux] 日期:2021-01-22 热度:59
安装之前大家一定要检查好各个版本问题 以免造成不兼容。 ? (一)下载所需安装包: ?jdk-7u76-linux-x64.tar.gz ?apache-tomcat-7.0.63.tar.gz ?MySQL-server-5.1.73-1.glibc23.x86_64.rpm ?MySQL-client-5.1.73-1.glibc23.x86_64.rpm (二).安装jdk: 1[详细]
-
Linux环境下实现生产者消费者问题
所属栏目:[Linux] 日期:2021-01-22 热度:189
副标题#e# div class="cnblogs_code" include stdio.hspan style="color: #000000;" include semaphore.hspan style="color: #000000;" include stdlib.hspan style="color: #000000;" include pthread.hspan style="color: #000000;" include unistd.h spa[详细]
-
Linux环境下实现管道通信-问题
所属栏目:[Linux] 日期:2021-01-22 热度:163
div class="cnblogs_code" #include pipe_fd[ w_buffer[],r_buffer[ (pipe(pipe_fd) ) ); ((pid2=fork( ))==) ]); sprintf(w_buffer,=], (pid2>) ); close(pipe_fd[]); (read(pipe_fd[],r_buffer,)>(read(pipe_fd[],)> ?[详细]
-
Linux环境下实现哲学家就餐问题
所属栏目:[Linux] 日期:2021-01-22 热度:66
副标题#e# div class="cnblogs_code" #include pthread_mutex_t chopstick[] ; *eat_think( * phi = *( *)arg; left,right; = = = = = = = = = = /spanspan style="color: #0000ff;"gt;int/spanspan style="color: #000000;"gt; i;/spanspan style="color:[详细]
-
mount 需要同时设置 noatime 和 nodiratime 吗?
所属栏目:[Linux] 日期:2021-01-22 热度:126
div class="entry" 相信对性能、优化这些关键字有兴趣的朋友都知道在 Linux 下面挂载文件系统的时候设置 noatime 可以显著提高文件系统的性能。默认情况下,Linux ext2/ext3 文件系统在文件被访问、创建、修改等的时候记录下了文件的一些时间戳,比如:文[详细]
-
xfsdump命令使用
所属栏目:[Linux] 日期:2021-01-22 热度:159
div id="article_content" class="article_content" 一:使用xfsdump备份和恢复xfs文件系统 首先了解一下xfsdump的备份级别有以下两种,默认为0(即完全备份) 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?完全备份 1 ? ? 1.创建xfs文件系统并挂载到/data目录下[详细]
-
[Linux]Linux下redis的安装及配置.
所属栏目:[Linux] 日期:2021-01-21 热度:149
在上一篇?我们已经将redis所需tar包拷贝到了linux下的root 根目录下,接着我们只需要解压就可以了.? 先将Redis的tar包拷贝到Linux下的根目录 解压后的目录结构: 编译: 使用Make命令安装: 安装好之后的目录:? 6379 下的目录结构:(这个rdb文件时: redis datab[详细]
-
Linux服务器可以进百度,但是进阿里云或者别的一些网站提示‘错
所属栏目:[Linux] 日期:2021-01-21 热度:91
昨天遇到一个头疼的事情,在阿里云买了一台服务器; 然后环境各种都装了,因为本人是小白,所以一般都装MATE界面; 一开始环境没配好,访问百度可以进去,进万网但是进不去,先也没急着搞这个事情,第一天晚上下班很晚了,就先装了可视化界面不管了。 第二[详细]
-
docker初体验,搭建自用的gitlab服务
所属栏目:[Linux] 日期:2021-01-21 热度:111
副标题#e# 一、前言 git在如日中天的版本管理系统,现在如果不是工作在git版本管理系统下,几乎都不好意思给人打招呼。现在就有现成的互联网的git服务器提供给大家使用,例如号称程序的社交网络github。 正好gitlab公司提供了gitlab社区版,gitlab安装方式[详细]