-
linux diff(differential) 命令
所属栏目:[Linux] 日期:2021-01-25 热度:189
temp.diff table class="mtable" style="margin-bottom: 2em; border: 0px solid silver; background-color: #e5e5e5; width: 858px; margin-left: auto; margin-right: auto; color: #454545; font-family: Verdana,sans-serif; font-size: 16px; font-styl[详细]
-
Linux 的启动流程--转
所属栏目:[Linux] 日期:2021-01-25 热度:185
半年前,我写了 ,探讨BIOS和主引导记录的作用。 那篇文章不涉及操作系统,只与主板的板载程序有关。今天,我想接着往下写,探讨操作系统接管硬件以后发生的事情,也就是操作系统的启动流程。 这个部分比较有意思。因为在BIOS阶段,计算机的行为基本上被写死[详细]
-
BEA-141150 - An error occurred while preparing application c
所属栏目:[Linux] 日期:2021-01-25 热度:171
网上查询的 Cause: This is either because the resource it self is not available on the administration server or due a misconfiguration of security such that the managed server is not properly authorized to download application resources. 我[详细]
-
Linux原始套接字实现分析---转
所属栏目:[Linux] 日期:2021-01-25 热度:188
本文从IPV4协议栈原始套接字的分类入手,详细介绍了链路层和网络层原始套接字的特点及其内核实现细节。并结合原始套接字的实际应用,说明各类型原始套接字的适应范围,以及在实际使用时需要注意的问题。 一、原始套接字概述 链路层原始套接字可以直接用于接[详细]
-
Linux下C语言的调试--转
所属栏目:[Linux] 日期:2021-01-25 热度:83
调试是每个程序员都会面临的问题. 如何提高程序员的调试效率,更好更快地定位程序中的问题从而加快程序开发的进度,是大家共同面对的问题. 可能Windows用户顺口就会说出:用VC呗 :-),它提供了设置断点,单步跟踪等的图形界面,使调试起来直观易用. 但Linux用户可[详细]
-
Install Tomcat 6 on CentOS or RHEL --转载
所属栏目:[Linux] 日期:2021-01-25 热度:192
p class="entryContent"? p class="entryContent"source:http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos p class="entryContent"This post will cover installation and configuration of Tomcat 6 on CentOS 5. We will also show how[详细]
-
linux下c的网络编程---转载
所属栏目:[Linux] 日期:2021-01-25 热度:116
1.tcp协议 2. udp协议 3.并发编程[详细]
-
IP Failover Setup using Keepalived on CentOS/Redhat 6
所属栏目:[Linux] 日期:2021-01-25 热度:92
source url: Keepalived ?is used for IP failover between two servers. It facilities for?load balancing?and high-availability to Linux based infrastructures. It works on VRRP ( Virtual Router Redundancy Protocol ) protocol. We have running[详细]
-
Linux的一些命令
所属栏目:[Linux] 日期:2021-01-25 热度:86
程序 # rpm -qa??????????????? # 查看所有安装的软件包 系统 # uname -a?????????????? # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue?? # 查看操作系统版本 # cat /proc/cpuinfo????? # 查看CPU信息 # hostname?????????????? # 查看计算机名 # lsp[详细]
-
火狐浏览器修改userAgent
所属栏目:[Linux] 日期:2021-01-25 热度:65
火狐浏览器修改userAgent的办法: 在火狐浏览器地址栏输入“about:config”,按下回车进入设置菜单。找到“general.useragent.override”,如果没有这一项,则点右键“新建”->“字符串”,输入这个字符串。将其值设为自己想要的UserAgent[详细]
-
Linux新手入门:通过chmod改变文件权限--转
所属栏目:[Linux] 日期:2021-01-25 热度:74
前面介绍过在,在中我们介绍了Linux文件的三种身份和四种权限,三种身份分别为: u:文件的拥有者 g:文件所属的群组 o:其他用户 对于每个身份,又有四种权限,分别为: r:读取文件的权限(read) w:写入文件的权限(write) x:执行的权限(execute) s[详细]
-
rsync+inotify实现实时同步案例--转
所属栏目:[Linux] 日期:2021-01-25 热度:169
转自:http://chocolee.blog.51cto.com/8158455/1400596 随着应用系统规模的不断扩大,对数据的安全性和可靠性也提出的更好的要求, rsync 在高端业务系统中也逐渐暴露出了很多不足,首先, rsync 同步数据时,需要扫描所有文件后进行比对,进行差量传输。如[详细]
-
Fast portable non-blocking network programming with Libevent
所属栏目:[Linux] 日期:2021-01-24 热度:104
h2 id="_learning_libevent"Learning Libevent div class="sectionbody" div class="ulist" These documents are Copyright (c) 2009-2010 by Nick Mathewson,and are made available under the Creative Commons Attribution-Noncommercial-Share Alike lic[详细]
-
Linux下*.tar.bz2等文件如何解压--转
所属栏目:[Linux] 日期:2021-01-24 热度:67
如果tar不支持j这个参数就先用?bzip2 -d xxx.tar.bz2?把它解压成.tar文件,然后再用?tar xvf xxx.tar?拆包。压缩解压?linux下怎么解后缀名是gzip的文件??1.以.a为扩展名的文件:?#tar xv file.a?2.以.z为扩展名的文件:?#uncompress file.Z?3.以.gz为扩展名的[详细]
-
How to allow/block PING on Linux server – IPTables rules fo
所属栏目:[Linux] 日期:2021-01-24 热度:92
div class="post-content-left" div class="random-posts" ?-?APRIL,9TH 2014 The ‘PING’,it’s a command-line tool to check a host is reachable or not. We can manage it by the help of ‘iptables’. The ‘ping’ is using ICMP to communicate. W[详细]
-
批量执行工具PSSH详解
所属栏目:[Linux] 日期:2021-01-23 热度:140
h1 id="批量执行工具pssh详解"批量执行工具PSSH详解 pssh是一个python编写可以在多台服务器上执行命令的工具,同时支持拷贝文件,是同类工具中很出色的,使用必须在各个服务器上配置好密钥认证访问。 yum install pssh -y # 安装setuptools包,如果安装了跳[详细]
-
Linux性能评估工具
所属栏目:[Linux] 日期:2021-01-23 热度:72
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-23 热度:137
VMware 安装提示缺少MicrosoftRuntime DLL 问题解决办法 ?[详细]
-
linux查看主机端口进程命令
所属栏目:[Linux] 日期:2021-01-23 热度:191
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-23 热度:152
安装之前大家一定要检查好各个版本问题 以免造成不兼容。 ? (一)下载所需安装包: ?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-23 热度:102
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-23 热度:197
div class="cnblogs_code[详细]
-
Linux环境下实现哲学家就餐问题
所属栏目:[Linux] 日期:2021-01-23 热度:89
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: #0000ff;"g[详细]
-
mount 需要同时设置 noatime 和 nodiratime 吗?
所属栏目:[Linux] 日期:2021-01-23 热度:130
div class="entry" 相信对性能、优化这些关键字有兴趣的朋友都知道在 Linux 下面挂载文件系统的时候设置 noatime 可以显著提高文件系统的性能。默认情况下,Linux ext2/ext3 文件系统在文件被访问、创建、修改等的时候记录下了文件的一些时间戳,比如:文件[详细]
-
xfsdump命令使用
所属栏目:[Linux] 日期:2021-01-23 热度:189
div id="article_content" class="article_content" 一:使用xfsdump备份和恢复xfs文件系统 首先了解一下xfsdump的备份级别有以下两种,默认为0(即完全备份) 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?完全备份 1 ? ? 1.创建xfs文件系统并挂载到/data目录下 -[详细]