-
linux定时任务之crontab
所属栏目:[Linux] 日期:2021-01-26 热度:127
1.使用crontab crontab -u //设定某个用户的cron服务? crontab -l //列出某个用户cron服务的详细内容? crontab -r //删除某个用户的cron服务? 2. cron表达式 基本格式?:?*??*??*??*??*??command?分?时?日?月?周?命令?第1列表示分钟1~59?每分钟用*或者?*/1表[详细]
-
Install Redis on CentOS 6.4--转
所属栏目:[Linux] 日期:2021-01-25 热度:76
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[详细]
-
Linux df du 命令
所属栏目:[Linux] 日期:2021-01-25 热度:124
查看系统的分区使用情况,并显示文件系统的类型 : $ -hT 查看某个目录所在分区的磁盘使用情况 : $ -h nodedemo/ 输出文件系统的 inodes 信息 : $ -ih $ -hs $ -hs nodedemo/ -hs nodedemo/Dockerfile $ -hs . $ $[详细]
-
Linux ip forward
所属栏目:[Linux] 日期:2021-01-25 热度:78
. . $ systemctl restart networking . . auto ens39 iface ens39 inet static address span style="color: #800080"192.168 .span style="color: #800080"2.254 span style="color: #000000" netmask span style="color: #800080"255.255 .span style="colo[详细]
-
Linux mount 命令进阶
所属栏目:[Linux] 日期:2021-01-25 热度:62
可以将任何一个挂载点、普通目录或者文件挂载到其它的地方。 $ -p bind/bind1/ -p bind/bind2/ --bind ./bind/bind1 ./bind/bind2 $ /var/log /opt/ /var/ --bind /opt/var_log /var/log $ -o bind,ro ./bind/bind1 ./bind/ ./bind/bind2/sub1/abc $ aaa >[详细]
-
Linux mount 命令
所属栏目:[Linux] 日期:2021-01-25 热度:100
device :指定要挂载的设备,比如磁盘、光驱等。 dir :指定把文件系统挂载到哪个目录。 type :指定挂载的文件系统类型,一般不用指定,mount 命令能够自行判断。 options :指定挂载参数,比如 ro 表示以只读方式挂载文件系统。 $ -h $ /proc/filesystems[详细]
-
linux ss 命令
所属栏目:[Linux] 日期:2021-01-25 热度:136
ss 是 Socket Statistics 的缩写 。ss 命令可以用来获取 socket 统计信息,它显示的内容和 netstat 类似。但 ss 的优势在于它能够显示更多更详细的有关 TCP 和连接状态的信息,而且比 netstat 更快。当服务器的 socket 连接数量变得非常大时,无论是使用 net[详细]
-
linux diff(differential) 命令
所属栏目:[Linux] 日期:2021-01-25 热度:119
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 热度:82
半年前,我写了 ,探讨BIOS和主引导记录的作用。 那篇文章不涉及操作系统,只与主板的板载程序有关。今天,我想接着往下写,探讨操作系统接管硬件以后发生的事情,也就是操作系统的启动流程。 这个部分比较有意思。因为在BIOS阶段,计算机的行为基本上被写死[详细]
-
BEA-141150 - An error occurred while preparing application c
所属栏目:[Linux] 日期:2021-01-25 热度:186
网上查询的 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 热度:83
本文从IPV4协议栈原始套接字的分类入手,详细介绍了链路层和网络层原始套接字的特点及其内核实现细节。并结合原始套接字的实际应用,说明各类型原始套接字的适应范围,以及在实际使用时需要注意的问题。 一、原始套接字概述 链路层原始套接字可以直接用于接[详细]
-
Linux下C语言的调试--转
所属栏目:[Linux] 日期:2021-01-25 热度:68
调试是每个程序员都会面临的问题. 如何提高程序员的调试效率,更好更快地定位程序中的问题从而加快程序开发的进度,是大家共同面对的问题. 可能Windows用户顺口就会说出:用VC呗 :-),它提供了设置断点,单步跟踪等的图形界面,使调试起来直观易用. 但Linux用户可[详细]
-
Install Tomcat 6 on CentOS or RHEL --转载
所属栏目:[Linux] 日期:2021-01-25 热度:152
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 热度:82
1.tcp协议 2. udp协议 3.并发编程[详细]
-
IP Failover Setup using Keepalived on CentOS/Redhat 6
所属栏目:[Linux] 日期:2021-01-25 热度:165
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 热度:195
程序 # rpm -qa??????????????? # 查看所有安装的软件包 系统 # uname -a?????????????? # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue?? # 查看操作系统版本 # cat /proc/cpuinfo????? # 查看CPU信息 # hostname?????????????? # 查看计算机名 # lsp[详细]
-
火狐浏览器修改userAgent
所属栏目:[Linux] 日期:2021-01-25 热度:195
火狐浏览器修改userAgent的办法: 在火狐浏览器地址栏输入“about:config”,按下回车进入设置菜单。找到“general.useragent.override”,如果没有这一项,则点右键“新建”->“字符串”,输入这个字符串。将其值设为自己想要的UserAgent[详细]
-
20+ Rsync command’s switches and common usages with example
所属栏目:[Linux] 日期:2021-01-24 热度:121
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 热度:68
http://www.ibm.com/developerworks/cn/linux/1305_wanghz_ddns/index.html DDNS (Dynamic DNS) 扩展了 DNS 将客户端 IP 与其域名进行静态映射的功能,它可以将同一域名实时地解析为不同的动态 IP,而不需要额外的人工干预。这在客户端 IP 地址不断发生变化[详细]
-
探索 Linux 内存模型--转
所属栏目:[Linux] 日期:2021-01-24 热度:129
引用:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html 理解 Linux 使用的内存模型是从更大程度上掌握 Linux 设计和实现的第一步,因此本文将概述 Linux 内存模型和管理。 Linux 使用的是单一整体式结构 (Monolithic),其中定义了一组原语[详细]
-
Linux 进程管理剖析--转
所属栏目:[Linux] 日期:2021-01-24 热度:195
地址: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 热度:183
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[详细]
-
Common Linux log files name and usage--reference
所属栏目:[Linux] 日期:2021-01-24 热度:197
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 热度:169
在vi中按u可以撤销一次操作 u?? 撤销上一步的操作Ctrl+r 恢复上一步被撤销的操作 注意: 如果你输入“u”两次,你的文本恢复原样,那应该是你的Vim被配置在Vi兼容模式了。重做如果你撤销得太多,你可以输入CTRL-R(redo)回退前一个命令。换句话说,它撤销一[详细]
-
Linux内核--网络栈实现分析(二)--数据包的传递过程--转
所属栏目:[Linux] 日期:2021-01-24 热度:162
转载地址 作者:闫明 本文分析基于Linux Kernel 1.2.13 注:标题中的”(上)“,”(下)“表示分析过程基于数据包的传递方向:”(上)“表示分析是从底层向上分析、”(下)“表示分析是从上向下分析。 ?上篇: 上一篇博文中我们从宏观上分析了Linux内核[详细]