自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(14)
  • 资源 (11)
  • 收藏
  • 关注

原创 如何让你的程序在linux开机时自动启动

只需要在/etc/rc.local里添加你的程序即可,例如需要nginx服务在每次开机时自动运行则可以加入如下的配置,添加最后一行/usr/local/nginx/sbin/nginx即可#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own

2012-12-19 15:42:50 1000 5

转载 如何在linux上添加新硬盘

在linux中有新磁盘插入后,为了使系统识别新磁盘,必须随即重新引导系统。这里,可以用以下命令来使系统识别新的驱动器:echo "scsi add-single-device w x y z" > /proc/scsi/scsi为使该命令正常运行,必须指定正确的参数值 w、x、y 和 z,如下所示: w 是主机适配器标识,第一个适配器为零(0)x 是主机适配器上的 SCSI

2012-12-19 11:06:43 491

原创 linux 手动安装中文字体

首先在Windows电脑中的C:\Windows\Fonts目录复制字体文件把需要的字体拷贝到linux的/usr/share/fonts目录下进入fonts目录执行fc-cache重启需要使用中文字体的应用程序,这样应用程序就支持中文了

2012-12-19 10:53:56 724

转载 linux上查看系统信息

1.查看CPU信息  在/proc目录下有一个cpuinfo文件,里面有关于CPU的一些信息。想知道cpu有几个核可以使用这个命令。  Bash代码  cat /proc/cpuinfo | grep processor | wc -l  其实这个命令显示的核数并不一定是真实的,因为现在普遍使用超线程技术,所以显示的核数可能是真实核数的两倍。  想要查看CP

2012-12-19 10:05:26 351

原创 查看linux操作系统信息

查看操作系统信息  查看内核版本可以用uname。  uname -r  查看操作系统的版本可以查看/proc/version文件。

2012-12-19 10:03:18 373

原创 自动mount卷

Automatically Mounting VolumesYou can configure your system to automatically mount the Gluster volume each time your system starts. To automatically mount a Gluster volume To mount a volume, e

2012-12-19 09:58:31 496

原创 Unix上的几个性能监视工具

tcpdumpiftop带宽监视工具(如 wmnet)

2012-12-12 17:12:07 369

原创 Makefile怎样写

#一个最简单的Makefile,自己测试一下代码段的时候很有用CC=gccCFLAGS=-g #此句和下面一句为一个section,指定YourProgramName的规则。YourProgramName: Object1.o #指明程序YourProgramName由YourProgramName.o生成,有多个Object时,再末尾继续添加即可$(CC) -o Your

2012-12-12 11:24:54 366

原创 NGINX笔记

|--ngx_http_static_handler |--ngx_http_discard_request_body |--ngx_http_read_discarded_request_body |--recv

2012-12-11 11:27:11 858

转载 sh脚本异常:/bin/sh^M:bad interpreter: No such file or directory

1 在windows下转换利用一些编辑器如UltraEdit或EditPlus等工具先将脚本编码转换,再放到Linux中执行。转换方式如下(UltraEdit):File-->Conversions-->DOS->UNIX即可。  2 在Linux中转换2.1 首先要确保文件有可执行权限 #sh>chmod a+x filename 2.2 然后修改文件格式

2012-12-05 10:56:50 642

转载 nginx源码跟踪

请关注最新修正合订:http://lenky.info/ebook/这一系列的文章还是在09年写的,存在电脑里很久了,现在贴出来。顺序也不记得了,看到那个就发那个吧,最近都会发上来。欢迎转载,但请保留链接:http://lenky.info/,谢谢。nginx函数众多,指针复杂,加上大量函数指针的干扰,要仅靠阅读源代码来理清nginx程序的执行流程难度较大,这一节,我将提供一个获得ngin

2012-12-05 10:21:09 691

原创 中国不是不能也有苹果

国货手机真想做好就要多跟苹果学少发新款稳定点每次硬件不要改变太多然后把安卓优化到极致给开发者一点利益多做精品应用培养客户群

2012-12-01 09:26:52 367

转载 Nginx实践:用proxy_store实现高效的静态文件分布缓存服务器

曾经写过是否要放弃使用varnish/squid, 经过几天的实验,终于找到一种比较理想的解决方案:  直接使用proxy模块的proxy_store来实现分布mirror.  首先说说我的需求:  1. 我需要将一些静态文件从应用服务器剥离, 负载到其他的节点.  2. 这些文件主要是静态Html和图片,包括缩略图. 这些文件一旦创建,更新的频率很少.

2012-12-01 09:06:11 5918

转载 Nginx 的 proxy_store 缓存

有这么一个情况,有个运行Asp的应用,比较土,还是用本地 *.mdb 的数据库。这么一来,就不可能通过 Apache ::: asp 这样的插件令其运行在Linux的环境中。而且是相当烂的一个 asp 程序,连html模板都没单独目录存放,直接跟 *.asp 混在一块。幸好这个世界有 Nginx, 是对待这种破东西最好的优化。如果直接靠 IIS 既处理 asp 又处理静态文

2012-12-01 09:05:19 4012

MySQL 5.7 参考手册(英文版).pdf

MySQL最新版5.7版语法大全及最全使用指南数据库人员必备

2021-04-28

cuda-430.64-desktop-win10-64bit-international-dch-whql.exe

Nvidia cuda 10.2 win10 64位 安装程序 深度学习必备 DCH版

2021-04-28

cuda-430.64-desktop-win10-64bit-international-whql.exe

Nvidia cuda 10.2 win10 64位 安装程序 深度学习必备

2021-04-28

ARINC 604-1-1988(BIT).pdf

GUIDANCE FOR DESIGN AND USE OF BUILT-IN TEST EQUIPMENT ARINC REPORT 604-1 PUBLISHED: OCTOBER 31, 1988

2020-11-16

ARINC 839 2014.pdf

This standard defines an Internet Protocol (IP)-based communication management function for data communications called the Manager of Air/Ground Interface Communications (MAGIC). This standard recognizes that the number of available off-board communication links is expanding (e.g., broadband satellite, broadband terrestrial, Gatelink), and that each link may be provided by a different service provider. In addition, each link may be available to the aircraft in specific flight phases and in specific geographic locations. As the industry continues to increasingly embrace IP-based communications, there is reason to define an aircraft routing function that provides standardized access by all aircraft subnets to available communication links.

2020-02-09

ARINC 830 2014.pdf

The purpose of this document is to define a general purpose non-proprietary information exchange framework and protocol for the conduct of Internet Protocol based message traffic between aircraft and airline ground infrastructure. This standard is motivated by the vision to substantially simplify information processing management for airlines by eliminating multiple dissimilar implementations with a single universal system and thereby establishing a more economical environment.

2020-02-09

node-v8.11.2-linux-x64.tar.xz

node-v8.11.2-linux-x64.tar.xz

2018-06-01

uwsgi-2.0.16-1.el7.x86_64.rpm

uwsgi-2.0.16-1.el7.x86_64.rpm for centos7uwsgi-2.0.16-1.el7.x86_64.rpm for centos7uwsgi-2.0.16-1.el7.x86_64.rpm for centos7

2018-06-01

nginx-1.14.0-1.el7_4.ngx.x86_64.rpm

nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7 nginx rpm package for centos7

2018-06-01

云计算文档

最有用的云计算技术文档 大话存储II_大话存储2_存储入门经典_网络存储必读.pdf

2013-08-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除