my blog my blog

Monthly 6月 2011
Fedora15命令速查手册

今天在笨兔兔那里看到这个手册,觉得不错,就转过来了,希望对上手Fedora15的朋友有所帮助。

Privileges
sudo command – run command as root
sudo -s – open a root shell
sudo -s -u user – open a shell as user
sudo -k – forget sudo passwords
gksudo command – visual sudo dialog (GNOME)
kdesudo command – visual sudo dialog (KDE)
sudo visudo – edit /etc/sudoers
sudo nautilus – root file manager (GNOME)
sudo konqueror – root file manager (KDE)
passwd – change your password
Application Names
nautilus – file manager (GNOME)
dolphin – file manager (KDE)
kate – text editor (KDE)
gedit – text editor (GNOME)
System Services

sudo service service status – check if
service is running
sudo service service start – start service
sudo service service stop – stop service
sudo service service restart – restart ser-
vice
runlevel – get current runlevel
sudo chkconfig –level 35 service on/off –
set service to run/not run in runlevels 3,5
uname -r – get kernel version
uname -a – get all kernel information
Setup YUM and SUDO
Setting up SUDO: su -c ‘echo "$USER
ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers’
Setting up YUM: sudo rpm -ivh
http://download1.rpmfusion.org/free/fedora/rpmfus
ion-free-release-stable.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpm
fusion-nonfree-release-stable.noarch.rpm && sudo
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-
rpmfusion-* && sudo rpm –import /etc/pki/rpm-
gpg/*
Firewall
sudo service iptables on – start firewall
sudo service iptables off – stop firewall
sudo iptables -L – show current config
sudo iptables -a INPUT -j ACCEPT – allow all
connections
sudo iptables -a INPUT -j REJECT – deny all
connections
sudo iptables -a INPUT –dport port -j
ACCEPT – allow connection to port
sudo iptables -a INPUT –dport port -j
REJECT – deny connection to port
sudo iptables -F – Reset firewall config

Network
ifconfig – show network information
iwconfig – show wireless information
sudo iwlist scan – scan for wireless network
sudo service network restart – reset network
for manual configuration
(file)/etc/sysconfig/network-scripts/ifcfg-
interface – edit your gateway here
sudo service NetworkManager restart – reset
network to use NetworkManager
sudo chkconfig –level 35 network on \ sudo
chkconfig –level 35 NetworkManager off –
in case you have network problems with the
NetworkManager applet.
ifup interface – bring interface online
ifdown interface – disable interface
Display
Ctrl+Alt+Bksp – restart X display if frozen
(file)/etc/X11/xorg.conf – display config
Xorg -configure – create new config file
Ctrl+Alt+FN – switch to ttyN
Ctrl+Alt+F1 – switch back to X display
Package Management
sudo yum update – same as update
sudo yum check-update – check for availabi-
lity of updates for installed packages
sudo yum install pkg – install pkg
sudo yum remove pkg – remove pkg
sudo yum clean – clean the cache
(file) /etc/yum.conf – configuration for the
repos. Set keepcache=1 in this file for
retaining all packages downloaded by yum
Fixing the YUM/RPM Database:
sudo yum clean all
sudo yum clean metadata
sudo yum clean dbcache
sudo rpm -vv –initdb
sudo rm -f /var/lib/rpm/__db*
sudo rpmdb -vv –rebuilddb > /dev/null
Setup MP3 and Video
Audio(MP3): sudo yum install rhythmbox
gstreamer-plugins-ugly gstreamer-plugins-bad
gstreamer-ffmpeg
Video: sudo yum install xine xine-lib-extras
xine-lib-extras-freeworld
Flash Plugin
Flash Support: sudo rpm -ivh
http://fpdownload.macromedia.com/pub/flashplayer/
current/flash-plugin-10.3.181.14-release.i386.rpm
&& su -c ‘yum install flash-plugin alsa-plugins-
pulseaudio libcurl’

PDF版本文档下载:点此下载Fedora15命令速查手册

引用自:http://www.bentutu.com/2011/06/fedora-15-reference-cheat-sheet/

Linux Deepin真的很不错

 

近日国内的Deepin Linux的主站被封,无法访问,也算是一场不小的风波了。记得几个月前,奶牛测试Deepin 的linux系统的时候有些朋友反馈深度linux并没有那么好用,但是作为一个桌面用户的奶牛自己觉得,其实,Linux Deepin真的很不错。

不论是Deepin还是雨林木风,奶牛觉得主要都是面向用户的桌面系统,所以,不要对它们有太苛刻的看法。一个桌面用户,除了上网聊天看电影,邮件办公Office,奶牛觉得也不会有太多的其它需求。而对于这些常用应用的支持上,奶牛觉得Deepin Linux做得挺不错了,至少奶牛是这么觉得。当时WebQQ3.0还没有发布,Linux下最好的奶牛用着最习惯的还是Deepin Wine来安装的QQ,Deepin Linux的桌面也做得整体效果不错。如果单作为一个桌面系统的话,奶牛是推荐Deepin Linux的。

想一下,一个对中文支持的很好的Linux系统,基于Ubuntu,对于扩展应用方面也是相当强大的。自身设计又充分为国人着想,奶牛觉得没什么可以挑剔的。当然问题总是会有的,比如奶牛卸载其集成的wine后出现了一系列的问题,但是瑕不掩瑜。

从袁萌的博客看到最近袁老也是很关注Linux Deepin的动态,而且很希望深度Linux跟永中联合对抗微软,奶牛觉得操作系统迅猛发展的今天,这是绝对有可能的。对于微软的操作系统,无非是以其图形界面见长,它可以把系统的图形界面做得很简单,让人容易操作,但现在的linux 桌面系统也都在很努力啊,Unity Shell纵然批评很多,但是也有其独特的设计,长远看来后劲儿不可小觑,Gnome3的发布也算Gnome的一个里程碑了,虽然bug还不少,不过在fedora下体验已经相当流畅了,KDE设计的界面之华丽,Linus Torvalds在批评Gnome的时候就觉得KDE做得不错,等等吧,微软一家独大绝对不会长久。

在这里,奶牛衷心祝愿中国的开源项目会发展得更好。最后为大家提供Deepin Linux的下载地址与官方站的地址

Linux Deepin官方地址:http://www.linuxdeepin.com

Deepin Linux 10.12.1镜像下载地址:

主力镜像: http://sf.net/projects/deepin/files/
(sf.net 的文件大小计算方式,可能是 1000byte 为 1k,所以显得文件很大)
10.12版在sf.net的下载地址:http://sourceforge.net/projects/deepin/files/10.12/deepin_10.12.1_i386.iso

镜像二: http://ftp.osuosl.org/pub/deepin
镜像三: http://doc.31sky.net/Deepin
镜像四: http://ubuntu.srt.cn/Deepin
镜像五: http://l.jdkcn.com/deepin
镜像六: http://68.144.27.18/iso/deepin

教育网镜像(公网也可以访问)
http://mirrors.ustc.edu.cn/deepin-cd/
http://linux.swu.edu.cn/swudownload/Distributions/Deepin/
ipv6: http://mirrors6.ustc.edu.cn/deepin-cd/

Android壁纸下载,奶牛收集的30P Android壁纸

 

奶牛手机了30P Android的壁纸,放出来大家分享下哈~~~

喜欢Andorid小机器人滴朋友们不要错过哦~~~

下载Android壁纸:yunfile网盘下载  115临时空间下载

PS:奶牛也知道yunfile慢,但是大家体谅下吧,下载速度慢就多等下就好了。奶牛的115不到5级,所以文件31天自动到期后就自动删除了,yunfile的只要有人下载有人需要就会自动延期到90天。

预览图片:

andorid 壁纸 下载

 android 壁纸

android 壁纸