Archive | May, 2010

Linux – /etc/fstab Read only

27 May

1. edit GRUB, set menjadi singgle –> dengan menekan tombol e –> edit dengan
menambahkan single –> esc –> b

GNU GRUB  version 0.97  (638K lower / 1037184K upper memory)
+————————————————————————-+
| root (hd0,0)                                                            |
| kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet console>  |
| initrd /boot/initrd-2.6.18-92.el5.img                                   |
|                                                                         |
|                                                                         |
+————————————————————————-+
Use the ^ and v keys to select which entry is highlighted.
Press ‘b’ to boot, ‘e’ to edit the selected command in the
boot sequence, ‘c’ for a command-line, ‘o’ to open a new line
after (‘O’ for before) the selected line, ‘d’ to remove the
selected line, or escape to go back to the main menu.

[ Minimal BASH-like line editing is supported.  For the first word, TAB
lists possible command completions.  Anywhere else TAB lists the possible
completions of a device/filename.  ESC at any time cancels.  ENTER
at any time accepts your changes.]

<uiet console=tty0 console=ttyS0,9600n8 single

2. remount
sh-3.2# mount /dev/hda1 / -o remount,rw

3. edit /etc/fstab
sh-3.2# vi /etc/fstab

4. reboot

linux serial console

27 May

=================================

CentOS release 5.2 (Final)
Kernel 2.6.18-92.el5 on an x86_64

=================================

[root@rac ~]# vi /etc/grub.conf
timeout=30
serial –unit=0 –speed=9600 –word=8 –parity=no –stop=1
terminal –timeout=15  serial console

default=0
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
#hiddenmenu

title CentOS (2.6.18-92.el5) !!!! monitor console !!!!
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet console=ttyS0 console=tty0
initrd /boot/initrd-2.6.18-92.el5.img

title CentOS (2.6.18-92.el5) !!!! serial console !!!!
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet console=tty0 console=ttyS0,9600n8
initrd /boot/initrd-2.6.18-92.el5.img

[root@rac ~]# vi /etc/inittab
co:2345:respawn:/sbin/agetty ttyS0 -L 9600 ttyS0 vt100-nav
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

[root@rac ~]# vi /etc/securetty
ttyS0

[root@rac ~]# mv /lib/security/pam_limits.so /lib/security/pam_limits.so.asli
[root@rac ~]# cp /lib64/security/pam_limits.so /lib/security/pam_limits.so

1 instance – more listener with more LAN card in Oracle 11g di Linux

12 May

1. periksa ip server
[oracle@orcl4 ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:76:9A:37:3C
inet addr:172.20.33.35  Bcast:172.20.255.255  Mask:255.255.0.0
inet6 addr: fe80::216:76ff:fe9a:373c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:88951 errors:0 dropped:0 overruns:0 frame:0
TX packets:1436 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7085890 (6.7 MiB)  TX bytes:421790 (411.9 KiB)
Interrupt:201 Base address:0xe000
(more…)

1 instance membuat banyak listener Oracele 11g di Linux

11 May

1. umumnya konfigurasi listener adalah sebagai berikut
[oracle@orcl4 u01]$ vi /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orcl4.localdomain)(PORT = 1521))
)
)
(more…)

Follow

Get every new post delivered to your Inbox.