??xml version="1.0" encoding="utf-8" standalone="yes"?>五月激情综合色,亚洲男人天堂九九视频,亚洲精品偷拍 http://www.aygfsteel.com/hellxoul/category/53523.htmlzh-cn Wed, 20 Nov 2013 05:42:56 GMT Wed, 20 Nov 2013 05:42:56 GMT 60 ubuntu tools http://www.aygfsteel.com/hellxoul/archive/2013/11/19/406543.htmlhellxoul hellxoul Tue, 19 Nov 2013 12:53:00 GMT http://www.aygfsteel.com/hellxoul/archive/2013/11/19/406543.html http://www.aygfsteel.com/hellxoul/comments/406543.html http://www.aygfsteel.com/hellxoul/archive/2013/11/19/406543.html#Feedback 0 http://www.aygfsteel.com/hellxoul/comments/commentRss/406543.html http://www.aygfsteel.com/hellxoul/services/trackbacks/406543.html Sublime Text 2 --------------- 非常好用的文本编辑器Q虽是收费的Q但是现在可以免费不限时间试用? Shell代码
sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text-2 ?sublime 作ؓ默认的文本编辑器 sudo subl /usr/share/applications/defaults.list 把所有的 gedit.desktop 替换?sublime-text-2.desktop Jupiter ---------------- 据说可以?Ubuntu 不那么耗电.... 我的本子跑的时候比较烫Q权且相信了。这个工兯可以关闭触摸屏,q点比较实用?Shell代码
sudo add-apt-repository ppa:webupd8team/jupiter sudo apt-get update sudo apt-get install jupiter Tweak ---------------- 使用q后才发现确实比 MyUnity 要好用,功能也更多? d方网站下载吧Q?|址代码
http://ubuntu-tweak.com/ MyUnity ---------------- ?Ubuntu 转用 Unity 后就一直褒贬不一Q我个hq是比较喜欢q种设计的,比较前卫Q很漂亮Q还把菜单栏和顶部栏合ؓ一体,比较节省本子本来已经很小的垂直视野;但是也有些东?很恼人,比如左侧栏L会弹出,非常影响体验。有了这个工具就可以很方便的定制界面了。比如我把左侧栏羃到 40Q然后固定,q是比较 Nice 的?Shell代码
sudo add-apt-repository ppa:myunity/ppa sudo apt-get update sudo apt-get install myunity Guake ---------------------------------- 非常好用?TerminatorQ可以在 Ubuntu 软g中心安装? Fish (Friendly Interactive Shell) ----------------------------------- 正如其名字,比默认的 shell terminate 更加友好Q更加方便用。添加的语法高亮Q用下划U标出存在的地址Q等{?Shell代码
sudo apt-get install fish 如果你和我一样喜Ƣ把他作为默认的 shell 的话Q可以按下面Ҏ做: 1. 定 fish 安装路径: Shell代码
whereis fish 2. d为默认: Shell代码
chsh -s /usr/local/bin/fish(注,q个地址׃面的命o得到) dnsmasq ------------------------- DNS ~存Q加速访问网? 1. 安装 Shell代码
sudo apt-get install dnsmasq 2. 配置 dnsmasq.conf Shell代码
sudo vim /etc/dnsmasq.conf 查找 #listen-address= 修改?nbsp;listen-address=127.0.0.1 3. 配置 dhclient.conf 有些|站修改的是 /etc/dhcp3/dhclient.confQ我用的?ubuntu 11.10Q没有找到这个文Ӟ修改的是 /etc/dhcp/dhclient.conf Shell代码
sudo vim /etc/dhcp/dhclient.conf 查找 #prepend domain-name-servers 127.0.0.1; 删除注释W号 # 变成 prepend domain-name-servers 127.0.0.1; 4. 配置 resolv.conf Shell代码
sudo vim /etc/resolv.conf 修改为: # Local Cached DNS nameserver 127.0.0.1 # Google DNS nameserver 8.8.8.8 nameserver 8.8.4.4 # OpenDNS nameserver 208.67.220.220 nameserver 208.67.222.222 5. 重启 dnsmasq Shell代码
sudo /etc/init.d/networking restart ]]> RsnapshotQ一N向Linuxq程文gpȝ备䆾工具 http://www.aygfsteel.com/hellxoul/archive/2013/11/15/406353.htmlhellxoul hellxoul Fri, 15 Nov 2013 01:34:00 GMT http://www.aygfsteel.com/hellxoul/archive/2013/11/15/406353.html http://www.aygfsteel.com/hellxoul/comments/406353.html http://www.aygfsteel.com/hellxoul/archive/2013/11/15/406353.html#Feedback 0 http://www.aygfsteel.com/hellxoul/comments/commentRss/406353.html http://www.aygfsteel.com/hellxoul/services/trackbacks/406353.html 阅读全文 ]]> RedHat5.6?.0使用CentOS yum?/title> http://www.aygfsteel.com/hellxoul/archive/2013/10/23/405549.htmlhellxoul hellxoul Wed, 23 Oct 2013 05:39:00 GMT http://www.aygfsteel.com/hellxoul/archive/2013/10/23/405549.html http://www.aygfsteel.com/hellxoul/comments/405549.html http://www.aygfsteel.com/hellxoul/archive/2013/10/23/405549.html#Feedback 0 http://www.aygfsteel.com/hellxoul/comments/commentRss/405549.html http://www.aygfsteel.com/hellxoul/services/trackbacks/405549.html 转自Qhttp://elf8848.iteye.com/blog/455676
如何修改Centos yum?br />
--------------------------------------
国内yum源: 163和搜狐的yum源?
本文章介l的yum源支持的版本是CentOS 5pdQ理Z支持RHEL5pd?
更新Ҏ如下Q?
先进入yum源配|目?br />
cd /etc/yum.repos.d
备䆾pȝ自带的yum?br />
mv CentOS-Base.repo CentOS-Base.repo.save
下蝲其他更快的yum?br />
中科大的yum源:Q现在打不开?Q?br />
wget http://centos.ustc.edu.cn/CentOS-Base.repo
163的yum源:
wget http://mirrors.163.com/.help/CentOS-Base-163.repo
修改CentOS-Base.repo Q不修改会报错)Q下载到本地?#8220;$releasever”Q替换成“5”
sohu的yum?br />
wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
更新玩yum源后Q徏议更C下,使操作立即生?br />
yum makecache
RedHat5.6使用CentOS yum源更新的Ҏ
================================================================================
׃RedHat的yum在线更新是收费的Q我们的RedHat没有注册Q不能在U更C载rpm包?br />
需RedHat的yum卸蝲后,重启安装Centos的yum,再配|其他yum源?
一、确认RedHat的版?br />
cat /etc/redhat-release
uname -m
二、删除redhat原有的yum?br />
rpm -aq|grep yum|xargs rpm -e --nodeps
三、下载CentOS的yum安装包(163源) (可以在这里手工找rpm包:http://mirrors.163.com/centos/)
32位系l:
wget http://mirrors.163.com/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
wget http://mirrors.163.com/centos/5/os/i386/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm
wget http://mirrors.163.com/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
64位系l:
wget http://mirrors.163.com/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm
wget http://mirrors.163.com/centos/5/os/x86_64/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm
wget http://mirrors.163.com/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
q依赖python-iniparse-0.2.3-4.el5.noarch.rpmQ?br />
但我的系l里已安装了Q是pȝ默认Python2.4中自带的?br />
如果你的pȝ没有安装Q请安装吧?br />
四、安装yum软g?br />
32位系l:
rpm -ivh yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
rpm -ivh yum-3.2.22-39.el5.centos.noarch.rpm yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
注意Q最后两个安装包要放在一起同时安装,否则会提C相互依赖,安装p|?br />
64位系l:
rpm -ivh yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm
rpm -ivh yum-3.2.22-39.el5.centos.noarch.rpm yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm
注意Q最后两个安装包要放在一起同时安装,否则会提C相互依赖,安装p|?br />
五、更改yum? #我们使用|易的CentOS镜像?br />
cd /etc/yum.repos.d/
vi CentOS6-Base-163.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-5 - Base - 163.com
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os
baseurl=http://mirrors.163.com/centos/5/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-5 - Updates - 163.com
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates
baseurl=http://mirrors.163.com/centos/5/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons - 163.com
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=addons
baseurl=http://mirrors.163.com/centos/5/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras - 163.com
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extras
baseurl=http://mirrors.163.com/centos/5/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus - 163.com
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus
baseurl=http://mirrors.163.com/centos/5/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib - 163.com
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=contrib
baseurl=http://mirrors.163.com/centos/5/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
六、清?br />
yum clean all
yum makecache
如果报错Qimary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.
执行Qyum makecache
七、更?
cd /etc/pki/rpm-gpg
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
yum update
很长旉的下载后Q报错:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: '/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5'
q是因ؓQ指定的文g/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5在本C存在D的?
解决Q?br />
d|http://mirror.centos.org/centos/下蝲相应文g
cd /etc/pki/rpm-gpg
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
================================================================================
RedHat6.0使用CentOS yum源更新的Ҏ
--------------------------------------------------------------------
׃RedHat的yum在线更新是收费的Q我们的RedHat没有注册Q不能在U更C载rpm包?br />
需RedHat的yum卸蝲后,重启安装Centos的yum,再配|其他yum源?
一、确认RedHat的版?br />
cat /etc/redhat-release
uname -m
二、删除redhat原有的yum?br />
rpm -aq|grep yum|xargs rpm -e --nodeps
三、下载CentOS的yum安装包(163源)
32位系l?Q?br />
wget http://mirrors.163.com/centos/6/os/i386/Packages/yum-3.2.29-22.el6.centos.noarch.rpm
wget http://mirrors.163.com/centos/6/os/i386/Packages/yum-metadata-parser-1.1.2-16.el6.i686.rpm
wget http://mirrors.163.com/centos/6/os/i386/Packages/yum-plugin-fastestmirror-1.1.30-10.el6.noarch.rpm
wget http://mirrors.163.com/centos/6/os/i386/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm
四、安装yum软g?br />
rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm
rpm -ivh yum-metadata-parser-1.1.2-16.el6.i686.rpm
rpm -ivh yum-3.2.29-22.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-10.el6.noarch.rpm
注意Q最后两个安装包要放在一起同时安装,否则会提C相互依赖,安装p|?br />
五、更改yum? #我们使用|易的CentOS镜像?br />
cd /etc/yum.repos.d/
vi CentOS6-Base-163.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-6 - Base - 163.com
baseurl=http://mirrors.163.com/centos/6/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-6 - Updates - 163.com
baseurl=http://mirrors.163.com/centos/6/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-6 - Extras - 163.com
baseurl=http://mirrors.163.com/centos/6/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-6 - Plus - 163.com
baseurl=http://mirrors.163.com/centos/6/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-6 - Contrib - 163.com
baseurl=http://mirrors.163.com/centos/6/contrib/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=contrib
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
六、清?br />
yum clean all
yum makecache
如果报错Qimary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.
执行Qyum makecache
xQRedhat6可以使用CentOS的yum源在U安装Y件了Q?
]]>
վ֩ģ壺
ɽ |
|
|
|
ƽȪ |
|
|
|
|
ʦ |
ϻ |
|
˰ |
|
|
ɽ |
ޭ |
|
|
|
|
ζ |
¤ |
ˮ |
ԫ |
ʯ |
|
ţ |
|
|
̫ |
|
ľ |
ɽ |
ɳ |
Ͽ |
|
ɽ |
ƽ |
|
Ͻ |