-
lnmp环境里安装mssql及mssql的php扩展
所属栏目:[Linux] 日期:2021-02-23 热度:184
小活中用到mssql,于是在自己lnmp环境中安装各mssql数据库 (1)下载freetds-stable-0.91源码:(花了4积分,没有积分的找我要,微信zmd1047773569) ? ? ? ? ? 上传到根目录下的download文件中 (2)编译安装: # cd /download ? ? ? ? ? ?# tar zxvf freetds[详细]
-
LNMP环境下安装Redis,以及php的redis扩展
所属栏目:[Linux] 日期:2021-02-23 热度:191
1.下载 2.解压 3.重命名 4.编译 有可能会出现 那就去安装 成功了 set name jackOK get name 安装PHP-redis扩展 1.下载 2.解压 3.找到phpize文件,生成配置 在redis-4.0.2文件夹中执行 4.配置 这个时候会报一些错误,打开php.ini 去除 shell_exec,proc_open 5[详细]
-
Linux gzip命令
所属栏目:[Linux] 日期:2021-02-23 热度:155
语法: 参数 : -a或--ascii 使用ASCII文字模式。 -c或--stdout或--to-stdout 把压缩后的文件输出到标准输出设备,不去更动原始文件。 -d或--decompress或----uncompress 解开压缩文件。 -f或--force 强行压缩文件。不理会文件名称或硬连接是否存在以及该文件[详细]
-
linux ss 命令
所属栏目:[Linux] 日期:2021-01-28 热度:130
ss 是 Socket Statistics 的缩写 。ss 命令可以用来获取 socket 统计信息,它显示的内容和 netstat 类似。但 ss 的优势在于它能够显示更多更详细的有关 TCP 和连接状态的信息,而且比 netstat 更快。当服务器的 socket 连接数量变得非常大时,无论是使用 net[详细]
-
Linux 内核空间与用户空间
所属栏目:[Linux] 日期:2021-01-26 热度:192
系统调用、软中断和硬件中断。这三种方式每一种都涉及到大量的操作系统知识,所以这里不做展开。 内核空间 -> 用户空间。如下图所示(此图来自互联网):[详细]
-
linux free 命令
所属栏目:[Linux] 日期:2021-01-26 热度:153
$ -h -s Mem 行(第二行)是内存的使用情况。 Swap 行(第三行)是交换空间的使用情况。 total 列显示系统总的可用物理内存和交换空间大[详细]
-
linux dig 命令
所属栏目:[Linux] 日期:2021-01-26 热度:114
$ 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-26 热度:51
$ nick@myserver $ vim /var/log/auth.log $ -f /var/log/btmp $ $ -f /var/log/wtmp. $ reboot $[详细]
-
linux sed 命令
所属栏目:[Linux] 日期:2021-01-26 热度:167
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-26 热度:136
[options] span style="color: #000000" […] : 把信号发送给列出的所有进程。 options : - span style="color: #000000" : 指定发送给进程的信号,指定信号的名称或号码都可以。 /span-l : 列出所有信号的名称和号码。/pre $ -l /tr tr tdspan style="font-[详细]
-
TeamCity : 安装 Agent
所属栏目:[Linux] 日期:2021-01-26 热度:112
$ $ $ buildAgent.dist.properties buildAgent.properties name=tcagent1 $ cd /var/local/ -R tcuser:tcuser buildagent/ $ #!/bin/ = span style="color: #0000ff"case span style="color: #800000"" span style="color: #800000"$1 span style="color: #8[详细]
-
TeamCity : 安装 Server
所属栏目:[Linux] 日期:2021-01-26 热度:149
$ -xf TeamCity- . . .gz -C ~/ $ ./teamcity-server. start #!/bin/ /etc/init.d/teamcity - startup script =/usr/lib/jdk1. =${JAVA_HOME}/ =.:${JAVA_HOME}/lib:${JRE_HOME}/ =${JAVA_HOME}/ = =-Djava.awt.headless= $ -stop-daemon --start -c tcuser[详细]
-
Ubuntu14.04安装postgresql9.4
所属栏目:[Linux] 日期:2021-01-26 热度:81
安装前的检查 首先查看是否已经安装了旧版本: dpkg -l | postgresql 如果已经安装了某个版本的postgresql,请先卸载。 安装postgresql 添加postgresql源: /etc/apt/sources.list.d/ vim /etc/apt/sources.list.d/pgdb.list 把下面这行数据添加到pgdb.list[详细]
-
linux 定时任务
所属栏目:[Linux] 日期:2021-01-26 热度:77
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="fon[详细]
-
iptables详解--转
所属栏目:[Linux] 日期:2021-01-25 热度:135
出处:http://yijiu.blog.51cto.com/433846/1356254 iptables 详解 基本概念: 1. 防火墙工作在主机边缘:对于进出本网络或者本主机的数据报文,根据事先设定好的检查规则对其检查,对形迹可疑的报文一律按照事先定义好的处理机制做出相应处理 对linux而言tcp[详细]
-
Find command usage in Linux with excellent examples--referen
所属栏目:[Linux] 日期:2021-01-25 热度:131
find searches ?the directory tree rooted at each given file name by evaluating? the ?given expression from left to right,according to the rules of prece dence,until the outcome is known (the left ?hand side is false for? and ?operations,tr[详细]
-
Linux下Makefile的automake生成全攻略--转
所属栏目:[Linux] 日期:2021-01-25 热度:199
http://www.yesky.com/120/1865620.shtml 作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了。?[详细]
-
Linux 2.4调度系统分析--转
所属栏目:[Linux] 日期:2021-01-25 热度:99
简介: ?本文详尽地分析了Linux 2.4内核中调度系统的工作原理,特别是i386体系结构下SMP系统的调度表现。通过对2.4调度系统实现原理及其细节的分析,文章在文末指出了2.4调度系统在功能上、实时性上以及多处理机系统表现上存在的不足,为后继的2.6系统的分析[详细]
-
10+ commonly using find command switches with example Unix/L
所属栏目:[Linux] 日期:2021-01-25 热度:156
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 “find” com[详细]
-
Anatomy of the Linux kernel--转
所属栏目:[Linux] 日期:2021-01-25 热度:113
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 start with[详细]
-
DNS服务器全面解析--转
所属栏目:[Linux] 日期:2021-01-24 热度:172
引用地址:http://pangge.blog.51cto.com/6013757/1273087 基础认知篇 DNS 服务的概述 DNS 是Domain Name System 的缩写,即域名系统。DNS服务主要功能是将域名转换为相应的IP地址,提供DNS服务的系统就是DNS服务器。形如它能够把www.baidu.com这样的域名转[详细]
-
Linux / Unix Command: bunzip2--reference
所属栏目:[Linux] 日期:2021-01-24 热度:81
http://linux.about.com/library/cmd/blcmdl1_bunzip2.htm NAME bzip2,bunzip2 - a block-sorting file compressor,v1.0.2? bzcat - decompresses files to stdout? bzip2recover - recovers data from damaged bzip2 files ? SYNOPSIS bzip2 ?[ ?-cdfkqstvz[详细]
-
linux文件操作命令--转
所属栏目:[Linux] 日期:2021-01-24 热度:172
引用地址:http://bbsunchen.iteye.com/blog/1010993 想自己一开始处理文件的时候,看文件有多少行,都要写个perl脚本,好不麻烦啊...以此文纪念自己傻逼的科研生活 linux 文本操作命令 1. cat 查看文件中的内容, -n 查看时为每一行加编号; -b 和-n类似,只[详细]
-
centos6.4使用man查找命令时,报错No manual entry for xxxx
所属栏目:[Linux] 日期:2021-01-24 热度:75
前提:安装man的命令 yum -y install man 使用man报错 [root@localhost objs]# man fcntlNo manual entry for fcntl[root@localhost objs]# cd [root@localhost ~]# man fcntlNo manual entry for fcntl[root@localhost ~]# which man/usr/bin/man 解决报错[详细]
-
linux man使用方法 和centos安装中文man包 --转
所属栏目:[Linux] 日期:2021-01-24 热度:138
http://blog.chinaunix.net/uid-25100840-id-302308.html 中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 1.手册页(Man Pages)对于Linux初学者,不能将手册页当教程,因为它只是简明的参考资料.在你需要了解某一命[详细]