放羊的博客

万能的技术,苦逼的技术.

Windows外壳名字空间的浏览

2016-05-26

Windows95/98对Dos/Win3.x作了许多重大改进,在文件系统方面,它除了采用长文件名替代Dos中的8.3文件名以外,引入外壳名字空间(Shell Name Space)来代Dos文件系统是其又一大突破.本文将简要地介绍如何在Windows 95/98或Windows NT4.0以上版本。

定制Apache索引样式

2015-12-08

虽然很多服务都迁移到Nginx了,但是一直不太满意Nginx的目录索引展示效果,所以目录索引的网站一直用的还是Apache。不过好像Nginx可以用fancyindex模块来定制所以的展示方式,http://mirrors.163.com 好像用的就是这个,不过还没有研究,有时间再看看吧。

Rsync Script

2015-03-30

注意原路径末尾有没有/符号

  • 如果没有/则在目录中创建原路径最后的目录;
  • 如果有/,则在目标路径的根目录下创建源目录中的文件;

重要文件夹结构说明

2015-03-07

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/                   #根文件系统
+---archive
+---backup
|   \---website
+---book
|   |   1.rtf
|   |   q.txt
|   |   sf.txt
|   |
|   +---fd
|   \---fs
+---current
+---document
+---Environment
+---list
+---Resources
+---software
\---workspace
  • Raven-GitCafePC上的重要文件夹以及文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Raven-GitCafePC.
+---C:
|   +---SRE
|   \---Users
|       \---Raven
|           |    .bash_history
|           |    .gemrc
|           |    .gitconfig
|           |    .gvimrc
|           |    .npmrc
|           |    .viminfo
|           |    .vimrc
|           |    _viminfo
|           |
|           +---.gnupg
|           +---.ssh
|           \---.vim
|
+---D:
|   +---KuGou
|   +---Resources
|   \---SoftWare
|
+---E
|   +---dev
|   +---scm
|   +---Sync
|   \---Tools
|
\---F:
    \---PT

The Localhost Server Information

2015-02-28

  • 基本信息

  • 网络信息

  • 支持协议

    • http(80)
    • https(443)
    • git()
    • ssh(22)
    • samba(,)
    • ftp(21)
  • 使用的端口

    • 21
    • 53
    • 80
    • 443
  • 绑定的域名

    • git.myrsoft.local
    • gitweb.myrsoft.local
    • cgit.myrsoft.local
    • gallery.myrsoft.local
  • 运行的网站信息

  • 提供的服务

    • 源代码版本库
      • 支持协议: git://,ssh://,samba://,http://,https://
      • 运行环境:Gitolite,cgit,gitweb,nginx,apache
    • 画廊图库
      • 支持协议: http://,ftp://,samba://
      • 运行环境:Piwigo,php,mysql,nginx
    • 文件管理(MFS)
      • 支持协议:http://,ftp://,samba://,ssh://
    • 项目管理
      • 支持协议:https://,http://
      • 运行环境:redmine+nginx+mysql
    • 博客文档(知识库)
      • 支持协议:http://
      • 运行环境:
        • 方案1:Nginx
        • 方案2:Octopress+Node.js+ruby+Nginx+Rbenv
        • 方案3:jekyll+ruby+Nginx
        • 方案4:wordpress+php+nginx+mysql
        • 方案5:Node.js+Raneto+nginx
    • 服务器状态监控和管理
      • 支持协议:http://
      • 运行环境:Nginx+phpmyadmin+apache
  • 安装的基础软件

    • hamachi
    • Git
    • Gitolite
    • Cgit
  • 服务器类型

    • Web服务器
    • FTP服务器
    • DNS服务器
    • 数据库服务器
    • Samba服务器
    • ssh服务器
    • Git服务器

Linux常用难记命令

2015-02-28

1
2
3
4
5
6
[root@host named]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.0.1406 (Core)
Release:        7.0.1406
Codename:       Core