|
Post by ZF on Aug 11, 2009 22:46:31 GMT -5
Download the GPG key from download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-ExtrasType: rpm --import /root/RPM-GPG-KEY-Fedora-Extras and rpm.livna.org/RPM-LIVNA-GPG-KEY//Setup internet proxy login for yum Edit .bashrc in root dir and add : function proxy(){ echo -n "username:" read -e username echo -n "password:" read -es password export http_proxy="http://$username:$password@lps3.amk.st.com:8080" } //The proxy may have changed, so do check. Add the below to /etc/yum.conf [extras] name=Fedora Extras - $releasever - $basearch baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/ gpgcheck=1 gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras [livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable #gpgcheck=1 Type: proxy //key in ur username and pwd yum list yum install vlc To install vlc, you need the above 2 keys and repository
|
|
|
Post by ZF on Aug 11, 2009 23:05:16 GMT -5
# .bashrc
# User specific aliases and functions
alias rm='rm -i' alias cp='cp -i' alias mv='mv -i'
# Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi
# User specific aliases and functions cd(){ builtin cd "$@" && ls }
alias 1='cd /home/zongfu/directv/jetheadsvn/st_cdi_integration' alias 2='cd /home/zongfu/directv/rootfs/target.7111/root'
function proxy(){ echo -n "username:" read -e username echo -n "password:" read -es password export http_proxy="http://$username:$password@lps3.snj.st.com:8080" }
MY_IP=`/sbin/ifconfig eth0 | grep inet | grep -v inet6 | cut -d: -f2 |awk '{ print $1}'` echo "IP ADDRESS = "$MY_IP echo "" ls
|
|