-
Linux定时增量更新文件--转
所属栏目:[Linux] 日期:2020-12-13 热度:196
http://my.oschina.net/immk/blog/193926 动机与需求:现在有两台服务器A和B,由于A的存储随时会挂(某些原因),所以需要B机器上有A的备份,并且能够与A同步更新 一、crontab定时任务 发现了crontab这个东西 简单实践了一下,把使用的过程写到下面: 首先是[详细]
-
Getting over the dangers of rm command in Linux---reference
所属栏目:[Linux] 日期:2020-12-13 热度:73
reference:http://www.coolcoder.in/2014/01/getting-over-dangers-of-rm-command-in.html When we want to delete a directory and everything in it,we normally usually use rm -rf . However,this? is a bad habit to get into. If you make a mistake,[详细]
-
Linux 线程实现机制分析--转
所属栏目:[Linux] 日期:2020-12-13 热度:188
div class="ibm-columns" div class="ibm-col-1-1" 按照教科书上的定义,进程是资源管理的最小单位,线程是程序执行的最小单位。在操作系统设计上,从进程演化出线程,最主要的目的就是更好的支持SMP以及减小(进程/线程)上下文切换开销。 无论按照怎样的分[详细]
-
linux下logrotate配置和理解---转
所属栏目:[Linux] 日期:2020-12-13 热度:176
对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件,对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系统中的最新的事件。logrotate 还可[详细]
-
Linux 信号signal处理函数--转
所属栏目:[Linux] 日期:2020-12-13 热度:160
alarm(设置信号传送闹钟) 相关函数 signal,sleep 范例 #include void handler() {printf("hello/n");}main(){int i;signal(SIGALRM,handler);alarm(5);for(i=1;i kill(传送信号给指定的进程) 相关函数 raise,signal 表头文件 #include #include 定义函[详细]
-
Signal Handling--ref
所属栏目:[Linux] 日期:2020-12-13 热度:60
signal is a software interrupt delivered to a process. The operating system uses signals to report exceptional situations to an executing program. Some signals report errors such as references to invalid memory addresses; others report asy[详细]
-
linux定时任务之crontab
所属栏目:[Linux] 日期:2020-12-13 热度:51
1.使用crontab crontab -u //设定某个用户的cron服务? crontab -l //列出某个用户cron服务的详细内容? crontab -r //删除某个用户的cron服务? 2. cron表达式 基本格式?:?*??*??*??*??*??command?分?时?日?月?周?命令?第1列表示分钟1~59?每分钟用*或者?*/1表[详细]
-
linux diff(differential) 命令
所属栏目:[Linux] 日期:2020-12-13 热度:198
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] 日期:2020-12-13 热度:81
半年前,我写了 ,探讨BIOS和主引导记录的作用。 那篇文章不涉及操作系统,只与主板的板载程序有关。今天,我想接着往下写,探讨操作系统接管硬件以后发生的事情,也就是操作系统的启动流程。 这个部分比较有意思。因为在BIOS阶段,计算机的行为基本上被写死[详细]
-
BEA-141150 - An error occurred while preparing application c
所属栏目:[Linux] 日期:2020-12-13 热度:87
网上查询的 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] 日期:2020-12-13 热度:183
本文从IPV4协议栈原始套接字的分类入手,详细介绍了链路层和网络层原始套接字的特点及其内核实现细节。并结合原始套接字的实际应用,说明各类型原始套接字的适应范围,以及在实际使用时需要注意的问题。 一、原始套接字概述 链路层原始套接字可以直接用于接[详细]
-
Linux下C语言的调试--转
所属栏目:[Linux] 日期:2020-12-13 热度:71
调试是每个程序员都会面临的问题. 如何提高程序员的调试效率,更好更快地定位程序中的问题从而加快程序开发的进度,是大家共同面对的问题. 可能Windows用户顺口就会说出:用VC呗 :-),它提供了设置断点,单步跟踪等的图形界面,使调试起来直观易用. 但Linux用户可[详细]
-
Install Tomcat 6 on CentOS or RHEL --转载
所属栏目:[Linux] 日期:2020-12-13 热度:156
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] 日期:2020-12-13 热度:163
1.tcp协议 2. udp协议 3.并发编程[详细]
-
IP Failover Setup using Keepalived on CentOS/Redhat 6
所属栏目:[Linux] 日期:2020-12-13 热度:122
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[详细]
-
BEA-150021 - The admin server failed to authenticate the ide
所属栏目:[Linux] 日期:2020-12-13 热度:105
原因:用户名、密码错误。 解决方法:修改boot.properties用户名密码为明文方式,然后重新启动就OK了,自动加密。[详细]
-
Linux的一些命令
所属栏目:[Linux] 日期:2020-12-13 热度:76
程序 # rpm -qa??????????????? # 查看所有安装的软件包 系统 # uname -a?????????????? # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue?? # 查看操作系统版本 # cat /proc/cpuinfo????? # 查看CPU信息 # hostname?????????????? # 查看计算机名 # lsp[详细]
-
火狐浏览器修改userAgent
所属栏目:[Linux] 日期:2020-12-13 热度:143
火狐浏览器修改userAgent的办法: 在火狐浏览器地址栏输入“about:config”,按下回车进入设置菜单。找到“general.useragent.override”,如果没有这一项,则点右键“新建”->“字符串”,输入这个字符串。将其值设为自己想要的UserAgent[详细]
-
tar exclue文件夹
所属栏目:[Linux] 日期:2020-12-13 热度:63
tar zcvf logs.tar.gz logs --exclude=logs/log1[详细]
-
清除WebLogic8.1缓存
所属栏目:[Linux] 日期:2020-12-13 热度:70
在Domain目录下面有一个以server命名的文件夹,删除整个文件夹就可以了。[详细]
-
cp: omitting directory”错误
所属栏目:[Linux] 日期:2020-12-13 热度:155
?[详细]
-
Install Redis on CentOS 6.4--转
所属栏目:[Linux] 日期:2020-12-13 热度:73
h4 class="post_title"a href="http://thoughts.z-dev.org/2013/05/27/install-redis-on-centos-6-4/"gt;Install Redis on CentOS 6.4 source:http://thoughts.z-dev.org/2013/05/27/install-redis-on-centos-6-4/ We’re provisioning production machines[详细]
-
解决两台centos虚拟机Telnet服务无法联机的问题
所属栏目:[Linux] 日期:2020-12-13 热度:181
关闭防火墙 [root@localhost ~]# service iptables stopiptables: Flushing firewall rules:???????????????????????? [? OK? ]iptables: Setting chains to policy ACCEPT: filter????????? [? OK? ]iptables: Unloading modules:?????????????????????????[详细]
-
linux主机间复制文件
所属栏目:[Linux] 日期:2020-12-13 热度:128
命令基本格式: 1、从 本地 复制到 远程? ? * 复制文件:? ? ? ? ? * 命令格式:? ? ? ? ? ? ? ? ? scp local_file remote_username@remote_ip:remote_folder? ? ? ? ? ? ? ? ? 或者? ? ? ? ? ? ? ? ? scp local_file remote_username@remote_ip:remote_file[详细]
-
解决 ERROR: JDWP Transport dt_socket failed to initialize, T
所属栏目:[Linux] 日期:2020-12-13 热度:69
解决方案: 在java_opts="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n address=port" 中修改port值。[详细]