linux文件系统结构图

许靖(Xuki)的个人网站
个人一向最喜欢使用的ssh工具是SSHSecureShellClient,主要是因为它有一个非常方便的功能,自带sftp工具,可以在远程管理服务器的时候方便的上传下载所需要的资料,而不像一些其它ssh工具,还得另外开一个工具来进行上传下载,如图:


cfont()
{
while (($#!=0))
do
case $1 in
-b)
echo -ne ” “;
;;
-t)
echo -ne “\t”;
;;
-n) echo -ne “\n”;
;;
-black)
echo -ne “\033[30m”;
;;
-red) 全文阅读 »
Learning vi or vim is not easy. But it doesn’t have to be that difficult, either. It is, in any case, faster, more powerful, and more productive than editing with any other editor, so you would do very well in investing the time and effort to learn it.
Being a vi lover myself, I came up with the idea of providing a graphical cheat sheet for those learning vi or vim, and I also found out it was a very good way to structure a tutorial. Here are the results for your learning enjoyment (or your colleagues’).
By the way, I recently published the definitive article explaining why vi/vim editing is so much better than regular editing. It should prove useful if you want to read it yourself, or if you want to point your skeptical friends to a description of why it makes sense, apart from being an entertaining read: Why, oh why, do those #?@! nutheads use vi?.
This is a single page describing the full vi/vim input model, the function of all keys, and all major features. You can see it as a compressed vi/vim manual. Click on the image below to access the full-size bitmap image, or download the vector-based, scalable SVG version (zip-compressed - and be sure to view & print the SVG with the open source application Inkscape or the Adobe plug-in for Internet Explorer, Firefox breaks the layout for some reason, apart from rendering it with no anti-alias!).

Linux下刻录光盘非常简单,只需在终端窗口输入以下命令即可: cdrecord -v speed=2 dev=0,0,0 cd.iso
cdrecord软件在发行版中一般都有,如果安装系统时没有安装它,在你的安装盘里应该能找到,安装it。
speed是表明刻录速度的选项,可根据实际情况设置,但不要超过CD-R与刻录机的最大限速;dev是刻录设备的选项,可由
cdrecord -scanbus
命令获得,cd.iso是要刻录的影像文件,可根据实际情况加入路径。
怎么样?简单吧?
现在,还有几个问题值得说明:
1、影像文件如何做
Linux中有一个mkisofs命令,功能非常强大,可以做资料光盘、系统光盘等,还可以做可启动光盘。
mkisofs -r -o cd.iso -m temp burn/ 全文阅读 »
Roderick W. Smith (rodsmith@rodsbooks.com), 顾问和作家2008 年 6 月 02 日
Ext4 是众多 Linux® 文件系统中的最新版本,它将像以前的版本一样重要和流行。作为 Linux 系统管理员,您应该知道迁移到 ext4 的优缺点和基本步骤。本文将介绍何时应采用 ext4、如何在 ext4 中使用传统的文件系统维护工具以及如何充分利用该文件系统。
Linux 支持几个不同的文件系统。这些文件系统中,一些是专用的网络文件系统或为其他操作系统开发的文件系统,但绝大部分还是用作 Linux 本地文件系统 — 您可以将 Linux 根(/)和系统目录放在这种文件系统里。目前,这一类文件系统包括 ext2、ext3、ReiserFS、XFS 和 Journaled File System (JFS)。但是文件系统一直在不断设计和开发中,新的文件系统也将陆续问世。
目前正在开发的最重要的 Linux 文件系统是 ext4 — 它是专门为 Linux 开发的原始的扩展文件系统(ext 或 extfs)的第四版。由于继承了以前版本,ext4 在不久的将来很可能会成为一个重要的 Linux 标准文件系统(可能是 标准文件系统)。
Ext4 与 ext3 的对比 全文阅读 »
就目前发布的 Linux 桌面环境来看,最新版的 KDE 是众多 Linux 桌面环境中最华丽的一个桌面环境,而且功能也相当的强大。开发中的 KDE 4.1每次改变都能给我们带来不少的惊喜,其最终版将在2008年7月29日发布。KDE 4.1外表的巨大变化都是有目共睹的,带了 Linux 全新的用户视觉体验。相信它的发布必将是 Linux 桌面环境一次革命性的变化!下面就来欣赏一下 KDE 4.1 最新的默认主题吧。
另附一段 KDE 4.1 的“show off” 视频 (71 MB) 看了视频后,我真的找不到对 KDE 4.1 说“NO”的理由!
查看英文原文:
http://www.notmart.org/index.php/Graphics/4.1_times_more_Prettyness
OwnLinux.cn —发布Linux/Ubuntu最新资讯,提供Linux/Ubuntu入门使用指南,帮助Linux新手快速提高.
Posted by AtulAthavale on Tue 29 Jan 2008 at 13:04
The idea behind the whole set-up is to get a High availability two node Cluster with redundant data. The two identical Servers are installed with Xen hypervisor and almost same configuration as Cluster nodes. The configuration and image files of Xen virtual machines are stored on drbd device for redundancy. Drbd8 and OCFS2 allows simultaneous mounting on both nodes, which is required for live migration of xen virtual machines.
This Article describes Heartbeat2 Xen cluster Using Ubuntu (7.10) OS, drbd8 and OCFS2 (Ver. 1.39) File system. Although here Ubuntu is used it can be done in almost same way with Debian
Install two Computers with standard minimal Ubuntu Server (7.10) OS. After standard installation is done, we go ahead installing required packets.
在過往印象中,高可用度叢集系統(High-Availability cluster 又名 HA Cluster)應用,對於一般的中小企業來說,是多麼遙不可及的感覺。主因是 HA Cluster 在過去只出現在 IBM、HP、Sun 等等廠商的大型主機系統而並非存在於一般 x86 伺服器,由大型主機所建構成的叢集系統不僅建置成本高、維護的價格也是相當驚人,倘若應用系統所執行的任務並非極度重要,一般來說是沒有資金能夠供養這些 堅不可摧的大型主機叢集系統。
由於這幾年來軟硬體的進步,使得許多企業應用 PC 伺服器搭配 Linux 作業系統,漸漸地擔任企業重要的應用程式任務,像是 ERP、EIP、Web、Mail、DataBase 等等,若執行的任務越是重要,就會更需要高可用度叢集來執行7x24不間斷的服務。當我們建置高可用度叢集系統的伺服節點(Node)時,經常會做共享磁 碟(Shared Storage)架構(如下圖)必須使用到叢集檔案系統(Cluster File System),本文提到的 OCFS2 檔案系統就是知名的叢集檔案系統之一,而另一個知名 Linux 叢集檔案系統就是 RedHat 主推的 GFS(Global File System)。
快照自維基百科「高可用度叢集」示意圖(網址:http://upload.wikimedia.org/wikipedia/en/6/63 /2nodeHAcluster.png),我們這次的主題落在「OCFS2」叢集檔案系統建置,這個 OCFS2 是用於 SAN(Storage Area Network)內的 Disk(例如 Disk 1)由 Server 1 與 Server 2 所共享的叢集檔案系統。 全文阅读 »
This paper describes the process of creating shared storage on a standalone system using SUSE Linux Enterprise Server 10 (SLES10) i.e. OCFS2 and Xen Virtualization. The cool part is there is no real expensive shared storage used. The information provided here works with real shared storage as well.
