-
火狐浏览器修改userAgent
所属栏目:[Linux] 日期:2021-01-26 热度:53
火狐浏览器修改userAgent的办法: 在火狐浏览器地址栏输入“about:config”,按下回车进入设置菜单。找到“general.useragent.override”,如果没有这一项,则点右键“新建”->“字符串”,输入这个字符串。将其值设为自己想要的UserAgent[详细]
-
Install Redis on CentOS 6.4--转
所属栏目:[Linux] 日期:2021-01-26 热度:198
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 machin[详细]
-
Linux df du 命令
所属栏目:[Linux] 日期:2021-01-26 热度:77
查看系统的分区使用情况,并显示文件系统的类型: $ -hT 查看某个目录所在分区的磁盘使用情况: $ -h nodedemo/ 输出文件系统的 inodes 信息: $ -ih $ -hs $ -hs nodedemo/ -hs nodedemo/Dockerfile $ -hs . $ $[详细]
-
Linux ip forward
所属栏目:[Linux] 日期:2021-01-26 热度:165
.. $ systemctl restart networking ..auto ens39 iface ens39 inet static address span style="color: #800080"192.168.span style="color: #800080"2.254span style="color: #000000" netmask span style="color: #800080"255.255.span style="color: #[详细]
-
linux ss 命令
所属栏目:[Linux] 日期:2021-01-26 热度:96
ss 是 Socket Statistics 的缩写。ss 命令可以用来获取 socket 统计信息,它显示的内容和 netstat 类似。但 ss 的优势在于它能够显示更多更详细的有关 TCP 和连接状态的信息,而且比 netstat 更快。当服务器的 socket 连接数量变得非常大时,无论是使用 ne[详细]
-
Linux mount 命令进阶
所属栏目:[Linux] 日期:2021-01-26 热度:51
可以将任何一个挂载点、普通目录或者文件挂载到其它的地方。 $ -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 内核空间与用户空间
所属栏目:[Linux] 日期:2021-01-25 热度:95
系统调用、软中断和硬件中断。这三种方式每一种都涉及到大量的操作系统知识,所以这里不做展开。 内核空间 -> 用户空间。如下图所示(此图来自互联网):[详细]
-
linux free 命令
所属栏目:[Linux] 日期:2021-01-25 热度:126
$ -h -s Mem 行(第二行)是内存的使用情况。Swap 行(第三行)是交换空间的使用情况。total 列显示系统总的可用物理内存和交换空间大[详细]
-
linux dig 命令
所属栏目:[Linux] 日期:2021-01-25 热度:96
$ dig baidu.com /tr tr tdspan style="font-family: Microsoft YaHei; font-size: 15px"A/td tdspan style="font-family: Microsoft YaHei; font-size: 15px"地址记录,用来指定域名的 IPv4 地址,如果需要将域名指向一个 IP 地址,就需要添加 A 记录。/t[详细]
-
Ubuntu 中登录相关的日志
所属栏目:[Linux] 日期:2021-01-25 热度:174
$ nick@myserver $ vim /var/log/auth.log $ -f /var/log/btmp $ $ -f /var/log/wtmp. $ reboot $[详细]
-
linux sed 命令
所属栏目:[Linux] 日期:2021-01-25 热度:132
aabbcc Hello world! Hello Jack!Hello China!Hello Nick! $ test.txt # 删除第二行到最后一行 选项 -i $ -i '1d' test.txt $ test.txt # 在第一行下面新增一行,内容为 test.txt # 在最后一行下面新增一行,内容为 , test.txt # 一次增加多行需要使用换行[详细]
-
linux kill 命令
所属栏目:[Linux] 日期:2021-01-25 热度:85
[options] span style="color: #000000" […] : 把信号发送给列出的所有进程。 options :- span style="color: #000000" : 指定发送给进程的信号,指定信号的名称或号码都可以。 /span-l : 列出所有信号的名称和号码。/pre $ -l /tr tr tdspan style="font[详细]
-
TeamCity : 安装 Agent
所属栏目:[Linux] 日期:2021-01-25 热度:198
副标题#e# $ $ $ buildAgent.dist.properties buildAgent.properties name=tcagent1 $ cd /var/local/ -R tcuser:tcuser buildagent/ $ #p#副标题#e# #p#副标题#e# #p#副标题#e# #!/bin/=#p#副标题#e# span style="color: #0000ff"case span style="color:[详细]
-
TeamCity : 安装 Server
所属栏目:[Linux] 日期:2021-01-25 热度:160
副标题#e# $ -xf TeamCity-...gz -C ~/ $ ./teamcity-server. start #p#副标题#e# #p#副标题#e# #p#副标题#e# #p#副标题#e# #p#副标题#e# #!/bin//etc/init.d/teamcity - startup script =/usr/lib/jdk1.=${JAVA_HOME}/=.:${JAVA_HOME}/lib:${JRE_HOME}/=${[详细]
-
Ubuntu14.04安装postgresql9.4
所属栏目:[Linux] 日期:2021-01-25 热度:60
安装前的检查 首先查看是否已经安装了旧版本: dpkg -l | postgresql 如果已经安装了某个版本的postgresql,请先卸载。 安装postgresql 添加postgresql源: /etc/apt/sources.list.d/ vim /etc/apt/sources.list.d/pgdb.list 把下面这行数据添加到pgdb.lis[详细]
-
linux 定时任务
所属栏目:[Linux] 日期:2021-01-25 热度:89
p style="margin: 0in; font-size: 11.0pt;" lang="zh-CN"span style="font-family: 'Microsoft YaHei'; font-size: 15px;"习惯了使用span style="font-family: Calibri;" windows span style="font-family: 'Microsoft YaHei';"的计划任务,span style="f[详细]
-
Linux下Makefile的automake生成全攻略--转
所属栏目:[Linux] 日期:2021-01-25 热度:82
副标题#e# http://www.yesky.com/120/1865620.shtml 作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么[详细]
-
20+ Rsync command’s switches and common usages with example
所属栏目:[Linux] 日期:2021-01-24 热度:52
副标题#e# 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[详细]
-
DDNS 的工作原理及其在 Linux 上的实现--转
所属栏目:[Linux] 日期:2021-01-24 热度:142
副标题#e# http://www.ibm.com/developerworks/cn/linux/1305_wanghz_ddns/index.html DDNS (Dynamic DNS) 扩展了 DNS 将客户端 IP 与其域名进行静态映射的功能,它可以将同一域名实时地解析为不同的动态 IP,而不需要额外的人工干预。这在客户端 IP 地址不[详细]
-
探索 Linux 内存模型--转
所属栏目:[Linux] 日期:2021-01-24 热度:176
副标题#e# 引用:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html 理解 Linux 使用的内存模型是从更大程度上掌握 Linux 设计和实现的第一步,因此本文将概述 Linux 内存模型和管理。 Linux 使用的是单一整体式结构 (Monolithic),其中定义[详细]
-
Linux 进程管理剖析--转
所属栏目:[Linux] 日期:2021-01-24 热度:178
副标题#e# 地址: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 热度:121
副标题#e# 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[详细]
-
Linux 2.4调度系统分析--转
所属栏目:[Linux] 日期:2021-01-24 热度:159
副标题#e# 简介:?本文详尽地分析了Linux 2.4内核中调度系统的工作原理,特别是i386体系结构下SMP系统的调度表现。通过对2.4调度系统实现原理及其细节的分析,文章在文末指出了2.4调度系统在功能上、实时性上以及多处理机系统表现上存在的不足,为后继的2.6[详细]
-
10+ commonly using find command switches with example Unix/L
所属栏目:[Linux] 日期:2021-01-24 热度:155
副标题#e# http://crybit.com/find-command-usage-with-example-unixlinux/ find command is one of the best search tool under UNIX/LINUX. Here I’m discussing some common switches of find command with detailed example. Like the name find,the[详细]
-
Anatomy of the Linux kernel--转
所属栏目:[Linux] 日期:2021-01-24 热度:87
副标题#e# ref:http://www.ibm.com/developerworks/linux/library/l-linux-kernel/?S_TACT=105AGX52S_CMP=cn-a-l Given that the goal of this article is to introduce you to the Linux kernel and explore its architecture and major components,let's[详细]