Currently browsing category

Linux, Page 35

/etc/fstab

## 編輯 /etc/fstab 檔案 /dev/sda1 /mnt/usbdrive ext3 noauto,user,kudzu 0 0 # 使用外接usb.讓其他使用者可以自由掛載(mount) USB硬碟 /dev/sda2 /mnt/dos vfat users,umask=000 0 0 # 讓其他使用者有權限寫入,掛載 Windows …

Fedora Core 3 NFS install

Find a NFS sharing the ISOs of the installation. example: 192.168.0.5:/export/fc3/iso/ Boot from CD. Type : linux askmethod

Howto reconstruct RAID 1

[root@localhost Desktop]# rpm -q raidtools raidtools-1.00.3-8 [root@localhost Desktop]# lsraid -p [dev 9, 0] /dev/md0 30820DF2.C88E49A4.8199EFC8.5B50C228 online [dev 8, 1] /dev/sda1 30820DF2.C88E49A4.8199EFC8.5B50C228 good …

watch command

[root@localhost ~]# watch Usage: watch [-dhntv] [–differences[=cumulative]] [–help] [–interval=] [–no-title] [–version] examples: # watch –interval=0.1 cat /proc/mdstat

/etc/skel

[root@xxx skel]# ls -f . .kde .bash_logout .bashrc .emacs .. .canna .bash_profile .gtkrc .zshrc

/etc/sysconfig/iptables

-A RH-Firewall-1-INPUT -p tcp –dport XX -s XXX.XXX.XXX.0/24 -j ACCEPT # -p protocol # –dport destination port # –dports ssh,www,https,pop3,smtp,imap,imaps,pop3s # -s …

Setting up Apache with mod-ssl

This is very quick and dirty guide to setting up Apache with mod-ssl. The end result is a secure connection but one …