Ubuntu Linux下载和安装

来源:互联网 发布:responsebody返回json 编辑:程序博客网 时间:2024/06/10 17:42

为安装Ruby on Rails,我去安装一个Ubuntu Linux

官方下载地址

国内假官方下载


下载了一个iso文件

然后在vmware player里面安装

安装中提示输入一个非root用户名和口令

安装过程中(看样子是)在线下载一些应用软件包

自动过程中自动安装vmware tools for Linux

Note: You better have latest vmware software, otherwise you would failed to compileand install the vmware tools for latest Ubuntu Linux

===================================================

启动后,已经内置中文显示的支持(firefox访问www.baidu.com可以显示中文)


如果不是使用vmware自动安装Ubuntu,安装过程中根据提示选择中国locale,则连拼音中文输入法都帮你安装好了。

启动后,GUI界面是中文的,按CTL + SPACE就可以切换到中文输入法。

===================================================

安装后,第一件事情,想启动命令行窗口,按CTL + ALT + T即可。

参考 Ubuntu中快速启动终端窗口

===================================================

第二件事情,启用SSH服务

$ sudo apt-get install openssh-server
Ubuntu缺省安装了openssh-client,所以在这里就不安装了,如果你的系统没有安装的话,再用apt-get安装上即可。
然后确认sshserver是否启动了:
$ ps -e |grep ssh
如果只有ssh-agent那ssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明ssh-server已经启动了。
ssh-server配置文件位于/ etc/ssh/sshd_config,在这里可以定义SSH的服务端口,默认端口是22,你可以自己定义成其他端口号,如222。然后重启SSH服务:
sudo /etc/init.d/ssh restart
ssh连接:ssh 92.168.152.129
断开连接:exit

===================================================

转载  用PuTTY连Ubuntu的SSH出现乱码的解决

1、打开PuTTY主程序。选择window-〉Appearance-〉Font settings-〉点击Change.按钮,字体中选择“新宋体”

2、在window-〉Appearance-〉Translation里面有有一个Received data assumed to be in which character set下拉选择的,选择“UTF-8”

3、回到Session项,点击Save。

呵呵。乱码不见了,看到的是工整的中文了。

===================================================

Install chrome browser

Installing Google Chrome on Ubuntu 11.10 – Oneiric Ocelot

#1 Get the debian package of chrome from its official website.

Download Google Chrome

#2 Now, you can either install it using Software Center or from command line.

installing-chrome on Ubuntu 11.10

Installing Chrome using Ubuntu Software Center

You can also use the dpkg tool to install the *.deb package. Open the terminal (CTRL+ALT+T), and type (move to other directory instead ofDownloads f you’ve saved it  some where else) :

$ sudo dpkg -i file_name.deb

#3 If any dependency error occurs then run the following command(s)

$ sudo apt-get -f install

start google chrome browser by

$ google-chrome &



Ubuntu 11上面安装Sun JDK 1.6


如果厌烦反复键入"sudo" 可以通过键入"sudo -s -H" 和您的密码转换到超级用户

原创粉丝点击