-
centos复制到另外一台电脑连不上网
所属栏目:[Linux] 日期:2021-01-24 热度:92
http://snow-berry.iteye.com/blog/1991754 从一台电脑virtual box克隆出来的centos.vdi复制到另外一台电脑,找不到网卡,提示 Device eth0 does? not seem to be present 故障现象: service network restart Shutting down loopback insterface:??????????[详细]
-
18 Command Line Tools to Monitor Linux Performance
所属栏目:[Linux] 日期:2021-01-24 热度:84
By? ?Under:? ,? ?On:? December 26,2013 It’s really very tough job for every? System ?or? Network ?administrator to monitor and debug Linux System Performance ?problems every day. After being a? Linux Administrator ?for? 5 years ?in? IT in[详细]
-
Linux getopt()函数 getopt_long()函数---转
所属栏目:[Linux] 日期:2021-01-24 热度:97
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 热度:183
地址:http://hi.baidu.com/hehongrong/item/20c296bcf8d834432aebe3b2 如何看linux是32位还是64位 查看linux是多少位的几位方法: 查看linux机器是32位还是64位的方法: 方法一: file /sbin/init??? 或者?? file /bin/ls 结果如下: /sbin/init: ELF 64-bi[详细]
-
10 Linux DIG Command Examples for DNS Lookup--reference
所属栏目:[Linux] 日期:2021-01-24 热度:95
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 (Understand dig[详细]
-
Common Linux log files name and usage--reference
所属栏目:[Linux] 日期:2021-01-24 热度:150
div id="post-body-7256318887016413630" class="post-single-body post-body" div dir="ltr"If you spend lot of time in Linux environment,it is essential that you know where the log files are located,and what is contained in each and every log[详细]
-
linux vi 撤销重做于前进后退--转
所属栏目:[Linux] 日期:2021-01-24 热度:59
在vi中按u可以撤销一次操作 u?? 撤销上一步的操作Ctrl+r 恢复上一步被撤销的操作 注意: 如果你输入“u”两次,你的文本恢复原样,那应该是你的Vim被配置在Vi兼容模式了。重做如果你撤销得太多,你可以输入CTRL-R(redo)回退前一个命令。换句话说,它撤销一[详细]
-
Linux内核--网络栈实现分析(二)--数据包的传递过程--转
所属栏目:[Linux] 日期:2021-01-24 热度:161
转载地址 作者:闫明 本文分析基于Linux Kernel 1.2.13 注:标题中的”(上)“,”(下)“表示分析过程基于数据包的传递方向:”(上)“表示分析是从底层向上分析、”(下)“表示分析是从上向下分析。 ?上篇: 上一篇博文中我们从宏观上分析了Linux内核[详细]
-
linux乱码问题
所属栏目:[Linux] 日期:2021-01-24 热度:187
命令输入: export LANG=zh_CN.GBK grep?匹配时高亮 先执行:export GREP_OPTIONS== 这条命令添加到 ~/.bash_profile 的最后,重启,就不用每次都执行该命令。 nohub ? /dev/null?2>1? . 单一个 符号,且放在完整指令列的最后端,即表示将该指令列放入后台[详细]
-
Linux内核--网络栈实现分析(一)--网络栈初始化--转
所属栏目:[Linux] 日期:2021-01-24 热度:173
转载地址? 作者:闫明 ?本文分析基于内核Linux Kernel 1.2.13 以后的系列博文将深入分析Linux内核的网络栈实现原理,这里看到曹桂平博士的分析后,也决定选择Linux内核1.2.13版本进行分析。 原因如下: 1.功能和网络栈层次已经非常清晰 2.该版本与其后续版[详细]
-
20+ Rsync command’s switches and common usages with example
所属栏目:[Linux] 日期:2021-01-24 热度:88
reference:http://crybit.com/rsync-commands-switches/ The “rsync” is a powerful command under the Linux environment. The rsync stands for Remote Sync. Normally rsync is used to transfer file from one server(source) to another server(dest[详细]
-
DDNS 的工作原理及其在 Linux 上的实现--转
所属栏目:[Linux] 日期:2021-01-24 热度:127
http://www.ibm.com/developerworks/cn/linux/1305_wanghz_ddns/index.html DDNS (Dynamic DNS) 扩展了 DNS 将客户端 IP 与其域名进行静态映射的功能,它可以将同一域名实时地解析为不同的动态 IP,而不需要额外的人工干预。这在客户端 IP 地址不断发生变化[详细]
-
探索 Linux 内存模型--转
所属栏目:[Linux] 日期:2021-01-24 热度:179
引用:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html 理解 Linux 使用的内存模型是从更大程度上掌握 Linux 设计和实现的第一步,因此本文将概述 Linux 内存模型和管理。 Linux 使用的是单一整体式结构 (Monolithic),其中定义了一组原语[详细]
-
Linux 进程管理剖析--转
所属栏目:[Linux] 日期:2021-01-24 热度:164
地址:http://www.ibm.com/developerworks/cn/linux/l-linux-process-management/index.html Linux 是一种动态系统,能够适应不断变化的计算需求。Linux 计算需求的表现是以 进程 ?的通用抽象为中心的。进程可以是短期的(从命令行执行的一个命令),也可以[详细]
-
15+ tar command usages with examples – Unix/Linux--referenc
所属栏目:[Linux] 日期:2021-01-24 热度:174
reference :http://crybit.com/tar-command-usages-with-examples/ The ‘tar’ saves many files together into a single tape or disk archive,and can restore individual files from the archive. It is very useful in such conditions like when we wa[详细]
-
expect实现自动交互由浅入深
所属栏目:[Linux] 日期:2021-01-22 热度:107
h1 id="expect实现自动交互由浅入深"expect实现自动交互由浅入深 作为运维人员可以通过Shell可以实现简单的控制流功能,如:循环、判断等。但是对于需要交互的场合则必须通过人工来干预,有时候我们可能会需要实现和交互程序如telnet服务器等进行交互的功能[详细]
-
sersync自动化同步部署
所属栏目:[Linux] 日期:2021-01-22 热度:67
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/{www,bbs}) -[详细]
-
详解IPTABLES
所属栏目:[Linux] 日期:2021-01-22 热度:69
h1 id="详解iptables"详解IPTABLES Iptables 是Linux 内核集成的 IP 信息包过滤系统。如果Linux 系统连接到因特网或 LAN、服务器或连接 LAN 和因特网的代理服务器, 则该系统有利于在 Linux 系统上更好地控制 IP 信息包过滤和防火墙配置。 防火墙在做信息包[详细]
-
批量执行工具PSSH详解
所属栏目:[Linux] 日期:2021-01-22 热度:88
h1 id="批量执行工具pssh详解"批量执行工具PSSH详解 pssh是一个python编写可以在多台服务器上执行命令的工具,同时支持拷贝文件,是同类工具中很出色的,使用必须在各个服务器上配置好密钥认证访问。 yum install pssh -y # 安装setuptools包,如果安装了跳[详细]
-
Linux性能评估工具
所属栏目:[Linux] 日期:2021-01-22 热度:50
div class="toc" p class="toc-title"目录 div class="toc-list" 检测服务器当前的性能,主要检查的项目如下: 负载:uptime 内核信息: dmesg 内存:vmstat、free CPU:top、mpstat、 I/O:iostat 网络:sar 有些命令需要安装sysstat包 $ uptime 22:37:31 u[详细]
-
VMware 安装提示缺少MicrosoftRuntime DLL 问题解决办法
所属栏目:[Linux] 日期:2021-01-22 热度:117
VMware 安装提示缺少MicrosoftRuntime DLL 问题解决办法 ?[详细]
-
linux查看主机端口进程命令
所属栏目:[Linux] 日期:2021-01-22 热度:128
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?? loc[详细]
-
ubuntu安装配置jdk tomcat mysql ...
所属栏目:[Linux] 日期:2021-01-22 热度:189
安装之前大家一定要检查好各个版本问题 以免造成不兼容。 ? (一)下载所需安装包: ?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 热度:191
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 span style="co[详细]
-
Linux环境下实现管道通信-问题
所属栏目:[Linux] 日期:2021-01-22 热度:132
div class="cnblogs_code[详细]