论坛首页 综合技术版 Linux

重新安装ubuntu7.04全部路程 2

浏览 296 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
时间:2008-01-13
重新安装ubuntu7.04全部路程 1 预览我的文章 编辑 删除
1 设数据源:

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list

用以下内容替换文件中的所有内容






deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse

sudo apt-get update

我 没有用这个 sudo apt-get install w32codecs

装jdk: 方法:
在系统 --- 新立得软件包----选jdk1.5 (索: sun 就可以了)

sudo gedit /etc/profile

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi

umask 022


JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13

export JRE_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre

export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH

export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH

装mplayer:
在系统 --- 新立得软件包----选mplayer (索: mplayer 就可以了) 里面有w32codecs 一起选了





# Archive.ubuntu.com 欧洲,此为官方源,推荐使用 ,PING=500
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse

这个有很多 的 软件,是99没有的。我现在用的是它
当想下w32codecs用99把

下来是mysql的安和设它的密码。

后是
  • 2e76ff30-2aa1-381b-932d-8a84d304c635-thumb
  • 描述:
  • 大小: 102.2 KB
  • 87d3b20b-aeb0-3c10-9c42-d3e856d4f672-thumb
  • 描述:
  • 大小: 102.5 KB
   
论坛首页 综合技术版 Linux

跳转论坛:
JavaEye推荐