配置文件一览表 文件位置及名称,作用
/etc/rc.d/rc.sysinit
系统启动时的公用服务配置
/etc/rc.d/rc.local
系统启动时的本地服务配置
/etc/bashrc、/etc/profile
bash shell的公用配置
/home/username/.bashrc
各用户私人bash shell配置
/etc/securetty
终端安全设置
/etc/hosts
主机名与ip地址的对应文件
/etc/resolv.conf
dns服务器配置
/etc/squid.conf或/etc/squid/squid.conf
squid代理服务器软件配置
/etc/smb.conf或/etc/samba/smb.conf
基于smb的网上邻居配置
/etc/dhcpd.conf
linux下的dhcp服务器配置文件
/etc/filesystems
系统支持的文件系统列表
/etc/fstab
当前系统中已激活分区的信息
/etc/host.conf
指定系统搜索dns记录的配置文件
/etc/lilo.conf
启动程序lilo的配置文件
/etc/grub.conf
启动程序grub的配置文件,->/boot/grub/grub.conf
/etc/syslog.conf
系统日志文件配置文件
/etc/sysctl.con ......
一、启动
1.#su - oracle 切换到oracle用户且切换到它的环境
2.$lsnrctl status 查看监听及数据库状态
3.$lsnrctl start 启动监听
4.$sqlplus / as sysdba 进入sqlplus
5.SQL>conn / as sysdba 以DBA身份登录
6.SQL>startup 启动db
二、停止
1.#su - oracle 切换到oracle用户且切换到它的环境
2.$lsnrctl stop &nbs ......
一、启动
1.#su - oracle 切换到oracle用户且切换到它的环境
2.$lsnrctl status 查看监听及数据库状态
3.$lsnrctl start 启动监听
4.$sqlplus / as sysdba 进入sqlplus
5.SQL>conn / as sysdba 以DBA身份登录
6.SQL>startup 启动db
二、停止
1.#su - oracle 切换到oracle用户且切换到它的环境
2.$lsnrctl stop &nbs ......
http://inthirties.com:90/thread-918-3-1.html
This article describes the installation of
Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux
4.5) using NFS to provide the shared storage.
Introduction
Download Software
Operating System Installation
Oracle Installation Prerequisites
Create Shared Disks
Install the Clusterware Software
Install the Database Software
Create a Database using the DBCA
TNS Configuration
Check the Status of the RAC
Direct and Asynchronous I/O
IntroductionNFS is an abbreviation of Network File System, a
platform independent technology created by Sun Microsystems that allows
shared access to files stored on computers via an interface called the
Virtual File System (VFS) that runs on top of TCP/IP. Computers that
share files are considered NFS servers, while those that access shared
files are considered NFS clients. An individual computer can be either
an NFS server, a NFS client or both.
We can use NFS to provide sha ......
http://inthirties.com:90/thread-918-3-1.html
This article describes the installation of
Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux
4.5) using NFS to provide the shared storage.
Introduction
Download Software
Operating System Installation
Oracle Installation Prerequisites
Create Shared Disks
Install the Clusterware Software
Install the Database Software
Create a Database using the DBCA
TNS Configuration
Check the Status of the RAC
Direct and Asynchronous I/O
IntroductionNFS is an abbreviation of Network File System, a
platform independent technology created by Sun Microsystems that allows
shared access to files stored on computers via an interface called the
Virtual File System (VFS) that runs on top of TCP/IP. Computers that
share files are considered NFS servers, while those that access shared
files are considered NFS clients. An individual computer can be either
an NFS server, a NFS client or both.
We can use NFS to provide sha ......
栈主要用来存放局部变量, 传递参数, 存放函数的返回地址.esp 始终指向栈顶, 栈中的数据越多, esp的值越小.
堆用于存放动态分配的对象, 当你使用 malloc , new 等进行分配时,所得到的空间就在堆中. 动态分配得到的内存附带有分配信息, 所以你能够 realloc 和 free调它们.
全局,静态和常量是分配在数据区中的。数据区包括bss和初始化区。
堆向高内存地址生长
栈向低内存地址生长
堆和栈相向而生,堆和栈之间有个临界点,称为stkbrk
CODE:
进程在内存中的影像.
我们假设现在有一个程序, 它的函数调用顺序如下.
main(...) ->; func_1(...) ->; func_2(...) ->; func_3(...)
即: 主函数main调用函数func_1; 函数func_1调用函数func_2; 函数func_2调用函数func_3
当程序被操作系统调入内存运行, 其相对应的进程在内存中的影像如下图所示.
(内存高址)
+--------------------------------------+
&n ......
栈主要用来存放局部变量, 传递参数, 存放函数的返回地址.esp 始终指向栈顶, 栈中的数据越多, esp的值越小.
堆用于存放动态分配的对象, 当你使用 malloc , new 等进行分配时,所得到的空间就在堆中. 动态分配得到的内存附带有分配信息, 所以你能够 realloc 和 free调它们.
全局,静态和常量是分配在数据区中的。数据区包括bss和初始化区。
堆向高内存地址生长
栈向低内存地址生长
堆和栈相向而生,堆和栈之间有个临界点,称为stkbrk
CODE:
进程在内存中的影像.
我们假设现在有一个程序, 它的函数调用顺序如下.
main(...) ->; func_1(...) ->; func_2(...) ->; func_3(...)
即: 主函数main调用函数func_1; 函数func_1调用函数func_2; 函数func_2调用函数func_3
当程序被操作系统调入内存运行, 其相对应的进程在内存中的影像如下图所示.
(内存高址)
+--------------------------------------+
&n ......
linux目录架构
/ 根目录
/bin 常用的命令 binary file 的目錄
/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内
/boot/grub/menu.lst GRUB设置
/boot/vmlinuz 内核
/boot/initrd 核心解壓縮所需 RAM Disk
/dev 系统周边设备
/etc 系统相关设定文件
/etc/DIR_COLORS 设定颜色
/etc/HOSTNAME 设定用户的节点名
/etc/NETWORKING 只有YES标明网络存在
/etc/host.conf 文件说明用户的系统如何查询节点名
/etc/hosts 设定用户自已的IP与名字的对应表
/etc/hosts.allow 设置允许使用inetd的机器使用
/etc/hosts.deny 设置不允许使用inetd的机器使用
......
contact me go -> xuqiang.docs@hotmail.com
ARM Linux Boot Sequence
The following traces the Linux boot sequence for ARM-based systems in the 2.6.18 kernel. It looks at just the earliest stages of the boot process, until the generic non-processor-specific start_kernel function is called. The line numbers of each statement are in parenthese at the end of the line; the kernel source itself can be conveniently browsed on theLinux Cross-Reference website.
zImage decompression
arch/arm/boot/compressed/head.S: start (108)
First code executed, jumped to by the bootloader, at label "start" (108)
save contents of registers r1 and r2 in r7 and r8 to save off architecture ID and atags pointer passed in by bootloader (118)
execute arch-specific code (inserted at 146)
arch/arm/boot/compressed/head-xscale.S or other arch-specific code file
added to build in arch/arm/boot/compressed/Makefile
linked into head.S by linker section declaration: .section “start”
flush ca ......