ubuntu 配置

1.配置 ADSL 拨号上网(不需拨号的用户跳过)
sudo pppoeconf
然后按提示安装即可,或也可以安装图形化的拨号程序
sudo apt­get install gnome­ppp

2.修改源

首先备份源,备份是个好习惯,感觉 linux 恢复删除的文件比较麻烦
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
然后打开并修改源文件
sudo gedit /etc/apt/sources.list
选择一个163源替换原来的

deb http://mirrors.163.com/ubuntu/ natty main restricted
deb-src http://mirrors.163.com/ubuntu/ natty main restricted
deb http://mirrors.163.com/ubuntu/ natty-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ natty-updates main restricted
deb http://mirrors.163.com/ubuntu/ natty universe
deb-src http://mirrors.163.com/ubuntu/ natty universe
deb http://mirrors.163.com/ubuntu/ natty-updates universe
deb-src http://mirrors.163.com/ubuntu/ natty-updates universe
deb http://mirrors.163.com/ubuntu/ natty multiverse
deb-src http://mirrors.163.com/ubuntu/ natty multiverse
deb http://mirrors.163.com/ubuntu/ natty-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ natty-updates multiverse
deb http://mirrors.163.com/ubuntu/ natty-security main restricted
deb-src http://mirrors.163.com/ubuntu/ natty-security main restricted
deb http://mirrors.163.com/ubuntu/ natty-security universe
deb-src http://mirrors.163.com/ubuntu/ natty-security universe
deb http://mirrors.163.com/ubuntu/ natty-security multiverse
deb-src http://mirrors.163.com/ubuntu/ natty-security multiverse
deb http://archive.canonical.com/ubuntu natty partner
deb-src http://archive.canonical.com/ubuntu natty partner
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main

然后
sudo apt­-get update
sudo apt­-get upgrade
3.语言支持
选择->系统->系统管理->语言支持,安装语言包,并把里面的 “Chinese” 勾选上。下边为一些软件的安

装,你也可用新立得来安装

4.安装 mplayer 等播放器及相应解码器

 

5.amule


6.安装编译工具
sudo apt­-get install build­-essential

设置 Ubuntu 操作系统包括多个方面,例如基础配置、用户权限管理、网络设置以及远程连接等。以下是详细的配置和设置步骤: ### 基础操作与中文支持 在初次安装 Ubuntu 后,您可能需要对系统的语言环境进行调整以支持中文显示和输入。首先,在系统设置中找到“区域与语言”选项,并将界面语言更改为中文。随后,可以通过终端命令来安装中文语言包: ```bash sudo apt update sudo apt install language-pack-zh-hans ``` 接着,为系统添加中文支持: ```bash sudo locale-gen zh_CN.UTF-8 ``` 为了能够使用中文输入法,您可以选择安装如 IBus 或 Fcitx 等输入法框架,并配合相应的中文输入法引擎[^1]。 ### 用户权限管理 Ubuntu 默认情况下不允许直接使用 root 账户登录,但可以通过 `sudo` 命令获取临时的管理员权限。如果您希望创建一个具有 sudo 权限的新用户,可以执行以下命令: ```bash adduser newusername usermod -aG sudo newusername ``` 这将创建一个新的用户并将其加入到 sudo 组,从而允许该用户通过 `sudo su` 切换至超级管理员身份[^2]。 ### 虚拟机安装与配置 若要在 VMware 中安装 Ubuntu,确保已正确设置了虚拟机硬件参数,比如分配足够的硬盘空间和内存给 Ubuntu 系统。启动虚拟机后,按照屏幕提示选择“尝试 Ubuntu”或“安装 Ubuntu”。完成安装过程后,记得更新系统软件包列表并升级现有软件包至最新版本: ```bash sudo apt update && sudo apt upgrade -y ``` 此外,还可以考虑安装 VMware Tools 以增强客户机性能及用户体验[^3]。 ### 远程连接设置 要实现远程连接 Ubuntu 操作系统,通常采用 SSH 协议。首先确认 OpenSSH 服务器是否已经安装并且正在运行: ```bash sudo systemctl status ssh ``` 如果服务未运行,则启动它: ```bash sudo systemctl start ssh ``` 同时,为了保证安全性,建议修改默认的 SSH 配置文件 `/etc/ssh/sshd_config`,比如更改监听端口、禁用密码认证改用密钥对验证等方式。最后重启 SSH 服务使更改生效: ```bash4 sudo systemctl restart ssh ``` 以上就是关于 Ubuntu 操作系统的几个关键配置点。根据实际需求,还可能涉及到更多高级设置如 Samba 文件共享、增加交换分区大小等。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值