Monday, March 12, 2007
Linux Guides
REF:http://www.linuxhq.com/guides/index.html
--
Happy day, happy life!
- Linux Getting Started Guide
Linux Installation and Getting Started is an installation and new-user guide to the Linux system. Linux is a free clone of the UNIX operating system developed for 80386 and 80486 machines. This book describes how to obtain and install Linux on your system, as well as how to start using it. Information on configuration of X-Windows, basic system administration, and much more is included. - System Administrator's Guide
This is a manual and tutorial for keeping a Linux system up and running. This version is not finished, but the finished version is supposed to cover all the central topics except networking (for which see the Linux Network Administrators' Guide). This manual does not try to be a reference manual, or a manual to all the different programs that a system administrator might use. Separate documentation (such as man pages) exist for those. - Network Administrator's Guide
This guide provides an overview to setting up and running a network using Linux. It covers such topics as, UUCP, TCP, Security, Hardware configuration and many other useful topics. - Linux Programmer's Guide
This guides covers general programming hints and HOW-TO's for programming in the Linux environment. Topics include Unix pipes, IPC, Sound programming, character based app development, I/O ports, and porting applications to Linux from other operating systems. - Linux User's Guide
Anyone who has Linux, the free Unix clone written by Linus Torvalds , on their PC but doesn't know what to do next should read this book. In this book, we'll cover most of the basic Unix commands, as well as some of the more advanced ones. We'll also talk about GNU Emacs , a powerful editor, and several other large Unix applications. - The Linux Kernel
The kernel is at the heart of the Operating System. This book is a guide to how the kernel fits together, how it works; a tour of the kernel. - The Linux Kernel Module Programming Guide
This document is for people who want to write kernel modules.
--
Happy day, happy life!
Links Linux Sites
REF:http://www.linuxhq.com/links/
There are many, many really good Linux sites out there. Here are a selection of "bounce" sites which collect links to other Linux sites. We also provide links to other development sites.
--
Happy day, happy life!
There are many, many really good Linux sites out there. Here are a selection of "bounce" sites which collect links to other Linux sites. We also provide links to other development sites.
Linux Link Sites
- Linux Online
- Linux Life
- Linux Documentation Project - Linux Links
- Woven Goods for Linux
- Linux Web Watcher
- Linux Center
- #LinuxOS IRC Channel
- UK.LINUX.ORG
- Mining Co. - Linux
- LinuxStart
- Connecta Linux Places
- Linux Links by Goob
- Necroscope's Linux Links
- Ivan Griffin's Linux WWW Resources
- Penn State Linux Links
- Linux Weekly News Links Page
- Linux-HOWTO.com
- OpenTechnology.org
- Linux Webring
- TipOfTheWeek site
- Linux 2000 Online
Kernel Development Sites
Hardware Compatibility Sites
Driver Sites
- BTTV Video Driver
- LCD Display Driver
- Linux Network Drivers
- External Parallel Port devices and Linux
- NTFS Filesystem Driver
- OSS Sound Drivers
- QuickCam Third-Party Drivers
- Video For Linux
- Plug-n-Play Hardware
- UltraSound Driver
Open Source Software Directories
- Linux Applications and Utilities
- Linux Software Encyclopedia
- Woven Goods - Linux Software
- Freshmeat AppIndex
- FileWatcher.org
- www.linuxapps.com
- Linux NOW! File Library
- IceWalkers
- AppWatch
Specialized Software Directories
- The Linux Programmer's BouncePoint
- Linux Game Tome
- X11 Games
- Window Managers for X
- Linux Enterprise Computing
- Christopher B. Browne's Financial Links
- Christopher B. Browne's Linux Database Links
- SAL -- Scientific Applications on Linux
- Simulation Software
- Linux Lab Project
- Astronomical Software on Linux
Commercial Software Directories
Non-English Linux Sites
Belgian
Chinese
Croatian
Czech
Danish
Dutch
Esperanto
Estonian
French
German
Greek
Hungarian
Italian
- Italian Linux Documentation Project
- Italian Linux Society
- La Home Page di Linux
- Linux Gazette Edizione Italiana
Japanese
Korean
Norwegian
Polish
- Polska Grupa Uzytkownikow Linuxa
- Witajna Linux Documentation Site
- Krakowska Grupa Uzytkownikow Linuxa
Portuguese
Russian
- Linux in Russia
- Russian Linux Page
- ftp.itep.ru
- Nexus NDG Linux Page
- Welcome to Linux - "Chainik"
- Linux Focus - Russian
Spanish
- Directorio Linux
- Linux Documentation Project (Castellano)
- Indice de Linux
- Linux Landia
- Linux en Mexico
- Linux en Costa Rica
- Linux Focus - Castellano
Swedish
Swiss
Thai
Turkish
--
Happy day, happy life!
The Linux Kernel Module Programming Guide
REF: http://www.faqs.org/docs/kernel/
--
Happy day, happy life!
- Table of Contents
- Foreword
- 1. Introduction
- 2. Hello World
- 2.1. Hello, World (part 1): The Simplest Module
- 2.2. Compiling Kernel Modules
- 2.3. Hello World (part 2)
- 2.4. Hello World (part 3): The __init and __exit Macros
- 2.5. Hello World (part 4): Licensing and Module Documentation
- 2.6. Passing Command Line Arguments to a Module
- 2.7. Modules Spanning Multiple Files
- 3. Preliminaries
- 3.1. Modules vs Programs
- 4. Character Device Files
- 5. The /proc File System
- 6. Using /proc For Input
- 7. Talking To Device Files
- 8. System Calls
- 8.1. System Calls
- 9. Blocking Processes
- 9.1 . Blocking Processes
- 10. Replacing Printks
- 10.1. Replacing printk
- 11. Scheduling Tasks
- 11.1. Scheduling Tasks
- 12. Interrupt Handlers
- 12.1. Interrupt Handlers
- 13. Symmetric Multi Processing
- 14. Common Pitfalls
- 14.1. Common Pitfalls
- A. Changes: 2.0 To 2.2
- B. Where To Go From Here
- B.1. Where From Here?
- Index
- List of Examples
- 2-1. hello-1.c
- 2-2. Makefile for a basic kernel module
- 2-3. hello-2.c
- 2-4. Makefile for both our modules
- 2-5. hello-3.c
- 2-6. hello-4.c
- 2-7. hello-5.c
- 2-8. start.c
- 2-9. stop.c
- 2-10. Makefile for a multi-filed module
- 4-1. chardev.c
- 4-2. some title
- 5-1. procfs.c
- 6-1. procfs.c
- 7-1. chardev.c
- 7-2. chardev.h
- 7-3. ioctl.c
- 8-1. procfs.c
- 9-1. sleep.c
- 10-1. print_string.c
- 11-1. sched.c
- 12-1. intrpt.c
| Next | ||
| Foreword |
--
Happy day, happy life!
Official Linux Kernel-Docs
REF: http://kernelbook.sourceforge.net/
--
Happy day, happy life!
| The Parallel Port Subsystem by Tim Waugh | |
| The Z8530 Programming Guide by Alan Cox | |
| Synchronous PPP and Cisco HDLC Programming Guide by Alan Cox | |
| The Video4Linux Book by Alan Cox | |
| The MCA Driver Programming Interface by Alan Cox | |
| CML2: Kernel Configuration Menu Language by Eric S. Raymond | |
| The Linux Kernel API | |
| Unreliable Guide to Kernel Hacking by Paul 'Rusty' Russel | |
| Unrealiable Guide to Locking by Paul 'Rusty' Russel |
--
Happy day, happy life!
Here are some good resources if you are interested in kernel programming
REF:http://www.linuxhq.com/lkprogram.html#filesystem
--
Happy day, happy life!
- Kernel Analysis HOWTO
This document tries to explain some things about the Linux Kernel, such as the most important components, how they work, and so on. This HOWTO should help prevent the reader from needing to browse all the kernel source files searching for the "right function", declaration, and definition, and then linking each to the other. - The Linux Kernel
This book is for Linux enthusiasts who want to know how the Linux kernel works. It is not an internals manual. Rather it describes the principles and mechanisms that Linux uses; how and why the Linux kernel works the way that it does. - Kernel Newbies
A good place to start if you are new to kernel programming. They also run the IRC channel #kernelnewbies which you can reach at irc.kernelnewbies.org. - Kernel Traffic
Kernel Traffic is a weekly summary of what is going on in the linux-kernel mailing-list. Very nice if you want to see where development is going, but dont wish to subscribe to that mailing-list (which is very high-traffic) - Official Linux Kernel-Docs
Various documents on kernel programming - Unreliable Guide To Hacking The Linux Kernel
This document describes the common routines and general requirements for kernel code: its goal is to serve as a primer for Linux kernel development for experienced C programmers. - Linux 2.4.x Initialization for IA-32
This document is a description of the Linux 2.4 kernel initialization sequence on IA-32 processors. - Linux Kernel 2.4 Internals
Introduction to the Linux 2.4 kernel. - Cross-Referencing Linux
Easy browsing of the linux kernel code - User-mode Linux
User-Mode Linux is a safe, secure way of running Linux versions and Linux processes. Run buggy software, experiment with new Linux kernels or distributions, and poke around in the internals of Linux, all without risking your main Linux setup. - Yet Another HOWTO Add a Syscall to Linux
This is a short, quick example of how to add a system call to Linux for x86. This example is specific to Linux version 2.4.18 but it should be easy to modify the patch to work with other kernel versions. - Linux System Call Table
This page lists the system calls for the Linux 2.2 kernel. It could also be thought of as an API for the interface between user space and kernel space. - The Second Extended Filesystem
Covers Linux filesystems history, ext2 features, design, physical structure on disk etc. It is written by three of the top ext2 hackers, and is a must read! - Overview of the Virtual File System
Brief introduction to the Linux Virtual File System. What is it, how it works, operations taken when opening a file or mounting a file system and description of important data structures explaining the purpose of each of their entries. - A Dual-Disk File System: ext4
This paper presents the design and implementation of a Unix-compatible file system, ext4, which uses two disk partitions to store its data. One partition is used exclusively for directory-related information, and one partition for ordinary files. - Linux Kernel Module Programming
A bit dated, but an excellent guide for anyone wishing to get started on kernel module programming. - (nearly) Complete Linux Loadable Kernel Modules
Another guide on kernel module programming, with focus on security - Linux Device Drivers, 2nd Edition
Online version of an excellent book by Alessandro Rubini & Jonathan Corbet on how to write device drivers. - Writing a Linux device driver
Quick primer on device driver programming. - Linux SCSI Generic (sg) HOWTO
This HOWTO describes the SCSI Generic driver (sg) found in the Linux 2.4 production series of kernels. - Programming Guide for Linux USB Device Drivers
This document should give detailed information about the current state of the USB subsystem and its API for USB device drivers. You will learn about different types of devices and their properties. Going into detail you will see how USB devices communicate on the bus. There is an overview of the Linux USB subsystem and the device driver framework. Then the API and its data structures will be explained step by step. - Linux netfilter Hacking HOWTO
This document describes the netfilter architecture for Linux, how to hack it, and some of the major systems which sit on top of it, such as packet filtering, connection tracking and Network Address Translation. - The journey of a packet through the linux 2.4 network stack
This document describes the journey of a network packet inside the linux kernel 2.4.x. This has changed drastically since 2.2 because the globally serialized bottom half was abandoned in favor of the new softirq system. - Netfilter connection tracking and nat helper modules
This document gives a brief description how to write netfilter connection tracking helper and nat helper modules. Netfilter is the packet filtering / NAT infrastructure provided by the Linux 2.4.x kernel. - skb - Linux network buffers
Short description about the linux network buffers (skb's) - Building into the Linux Network Layer
Phrack article that points out interesting things that can be done using Kernel Modules in the Network Layer. Like most Phrack articles it is very interesting reading, especially if you are interested in security.
- Weakening the Linux Kernel
Yet another excellent Phrack article. This one is about modifying system calls, Kernel Module hiding etc. Interesting security issue, if your kernel allows module usage. Mainly focus on the 2.0.x kernel series
- Hardening the Linux Kernel
This article covers a few areas of potential insecurity in the Linux OS and attempts to improve upon them. It contains several security related kernel patches for the 2.0.x kernels. - Writing Linux Kernel Keylogger
This article begin by describing how the linux keyboard driver work, and discusses methods that can be used to create a kernel based keylogger. It then presents a smart, kernel-based linux keylogger. - Linux MM
This site is supposed to provide full documentation on the Linux MM subsystem and to give a good overview of what's happening in the Linux MM community. - Rik van Riel lectures
Very good texts on various aspects of memory management - Linux 2.4 Virtual Memory Overview
On this page you can find some studies of Linux 2.4 VM system. This page was created to help us out to visualize VM system better. - Outline of the Linux Memory Management System
These pages contain notes on the Linux memory-management system.
| Various | |
|---|---|
| | |
| | |
| | |
| | |
| | |
| | |
| Filesystems | |
| | |
| | |
| Module programming | |
| | |
| Devices | |
| | |
| | |
| Networking | |
| | |
| | |
| | |
| Security | |
| | |
| | |
| Memory Management | |
| | |
| | |
--
Happy day, happy life!
Sunday, March 11, 2007
Install DotNetNuke 4.4.0 on Windows XP
Steps:
Exceptions encountered during installation:
--
Happy day, happy life!
- Precondition: Your box has been installed the VS 2005 and Sql Server 2005
- Download a copy of DotNetNuke 4.4.0 source pack from its government site.
- Config IIS
- Extract the the source pack:DotNetNuke_4.4.0_Source to C:\DotNetNuke\.
- Setup a Virtual directory with name DotNetNuke from IIS, which will point to c:\DotNetNuke\WebSite\
- Set the the DotNetNuke site: execute permissions-> Scripts and Exectutables, Asp.Net version at the ASP.NET Tab -> 2.0.50727
- Enable the Enable-Default-Document setting on the Documents tab and make sure the the Default.aspx is in the list.
- Configure Sql Server 2005
- Create a new data base named as DotNetNuke
- Create a new sql server login user: dnn
- Add the dnn user as the dbowner of DotNetNuke data base
- Configure Web.Config
- At the root of the site (C:\DotNetNuke\Website), rename the release.config as Web.config
- Modify the Connection string of web.config file as following:
- In connectionstring section:<connectionStrings>
<!-- Connection String for SQL Server 2005 Express
<add
name="SiteSqlServer"
connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
providerName="System.Data.SqlClient" />
-->
<!-- Connection String for SQL Server 2000/2005-->
<add name="SiteSqlServer" connectionString ="Server=(local);Database=DotNetNuke;uid=dnn;pwd=dnn;" providerName="System.Data.SqlClient " />
</ connectionStrings> - In appsettings section:<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules
<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
-->
<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=dnn;pwd=dnn;" /> - Set site root access permission
- First enable the Enable-Simple-File-Sharing setting of XP
- Add the full control permission of ASP.NET user on the site root folder:C:\DotNetNuke\Website and inherit the setting to all its child files and folders.
- Start to install
- Access the site url:http://localhost/dotnetnuke/
- You will see the installation successfully message after a few minutes.
Exceptions encountered during installation:
- Error (HTTP 403 Forbidden) :
- Detail:
- This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage.
For more information about HTTP errors, see Help. - Solution:
- Make sure the Enable-Default-Document setting is enabled on the Documents tab of IIS web site property page and the the Default.aspx is in the document list.
- Access to the path 'C:\DotNetNuke\Website\web.config' is denied.
- Detail:
- DotNetNuke Configuration Error
Access to the path 'C:\DotNetNuke\Website\web.config' is denied.
DotNetNuke has extensive file upload capabilities for content, modules, and skins. These features require custom security settings so that the application is able to create and remove files in your website.
Using Windows Explorer, browse to the root folder of the website ( C:\DotNetNuke by default ). Right-click the folder and select Sharing and Security from the popup menu ( please note that if you are using Windows XP you may need to Enable Simple File Sharing before these options are displayed ). Select the Security tab. Add the appropriate User Account and set the Permissions.
If using Windows 2000 - IIS5
the {Server}\ASPNET User Account must have Read, Write, and Change Control of the virtual root of your website.
If using Windows 2003 - IIS6
the NT AUTHORITY\NETWORK SERVICE User Account must have Read, Write, and Change Control of the virtual root of your website. - Solution:
--
Happy day, happy life!
Saturday, March 10, 2007
个人发展的新想法
我做技术也许会成为有名的专家,但是难道我不能再做一些切实能给人们生活带来改善的事情,例如修灯泡!
把技术当成业余爱好吧!
把自己放到社会中最需要人才的地方吧,即使是收垃圾的工作。
--
Happy day, happy life!
把技术当成业余爱好吧!
把自己放到社会中最需要人才的地方吧,即使是收垃圾的工作。
--
Happy day, happy life!
Subscribe to:
Posts (Atom)














