fedora

Install fedora:

1 download vmlinuz and initrd.img to (hd0,0) from fedora offical's web site;

2 start system and then stop at grub :

grub>kernel (hd0,0)/vmlinuz

grub>initrd (hd0,0)/initrd.img

grub>boot

3 auto install from internet(two hours/4M ADSL);

   or select iso from local disk(1 hours)???.

 

System settings:

1 root login:

grub menu---e--->kernel---e---> append(single)--->

/etc/pam.d/gdm#auth required pam_succeed_if.souser != root quiet
/etc/pam.d/gdm-passwaord
#auth required pam_succeed_if.souser != root quiet

2 power off:

UserName -> Press ALT

yum install gnome-shell-extensions-alternative-status-menu -y

3 fedora 15 is a multi-language linux version:

system-config-language

4 change icon theme, date format:

install gnome-tweak-tool

gnome-tweak-tool

5 install wine

   bcompare for linux

6 install nautilus-open-terminal

7 install flash-plugin

8 goto->location->smb://192.168.1.18

9 nvidia card driver:

yum localinstall http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

yum localinstall http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

yum install akmods

yum install akmod-nvidia

yum update -y

10 mplayer (flash player):

yum install gnome-mplayer*

yum install gstreamer-plugins-bad gstreamer-ffmpeg gstreamer-plugins-ugly

flash player in add-one.

11 clear menu items generate by wine:

(1) Other: ~/.local/share/applications/wine/Programs/
(2) ~/.config/menus/applications-merged/

12 title bar width:

sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
 

13 install add-one: downthemall

14 fedora 15 can auto find and install tools from internet !!!

15 gparted live cd: booted cd to resize/edit partitions of hard disks.

16 grub boot from iso:

title iso-boot
map (hd0,0)/xxx.iso (hd32)
map --hook
chainloader (hd32)
boot

17 # cryptsetup --verbose --verify-passphrase -c aes-xts-plain -s 512 luksFormat /dev/sda3
或者:
# cryptsetup -v -y -c aes-xts-plain -s 512 luksFormat /dev/sda3
打开:
# cryptsetup luksOpen /dev/sda3 crypt3

格式化crypt3:
# mkfs.ext4 /dev/mapper/crypt3

挂载crypt3到/mnt:
# mount /dev/mapper/crypt3 /mnt

关闭crypt3:
# cryptsetup luksClose crypt3

18 changed swap partition and remount:

change fstab by set UUID of new swap partition;

find UUID : ll /dev/disk/by-uuid

19 ##########################

虚拟机C盘容量不足问题的解决方法:

1 关闭虚拟机.

2 运行以下命令, 将winxp.vdi容量改为20000MB:

        VBoxManage modifyhd winxp.vdi --resize 20000

3 重启虚拟机.

4 在虚拟机中, 使用磁盘分区大师, 调整C盘容量.

#########################################

20 ########################################

1 yum install subversion

2 svnadmin create --fs-type fsfs /home/svn/rtl8196c

3 vi conf/svnserve.conf, passwd --- 明文

增加用户 --- 加密

如果是第一次创建用户,则是用下面命令:

# htpasswd -c /home/svnroot/repository/authfile username

回车后输入用户密码,完成对用户的增加,以后创建用户可以使用:

# htpasswd /home/svnroot/repository/authfile 用户名

4 svnserve -d -r /home/svn/rtl8196c 

5 Import local project:

    svn import -m "context" /your-project file://svn/project

6 Import local project to remote svn server:

     svn import /your-project \
svn+ssh://svn.FOO.codehaus.org/home/project
 

7 Checkout from remote svn:

    svn checkout svn://192.168.1.182/svn/prg /localdir

###########################################

21 Fedora13下搭建pppoe服务器

服务器设置:

1 安装rp-pppoe

2 修改/etc/ppp/chap-secrets增加一行(用户名称密码):

    zpz *       "123456"        *

3 修改/etc/ppp/pppoe-server-options:

    require-chap
    login
    lcp-echo-interval 10
    lcp-echo-failure 2
    ms-dns 202.99.134.45

4 运行: pppoe-server -I eth0 -L 192.168.0.1 -R 192.168.0.2

客户端设置:

1 用pppoe客户端软件登陆, (用户名:zpz, 密码:123456), 登陆成功后的信息:

    ip: 192.168.0.2

    dns: 202.99.134.45

    server-ip: 192.168.0.1

#######################################################

22

 

本文出自 “天高云淡” 博客,谢绝转载!

你可能感兴趣的:(职场,休闲,fc15)