Ubuntu中常用软件的安装与配置
(2015-05-04 13:57:00)
标签:
linuxpgadmin3postgresqlsublimeubuntu |
分类: 我的IT |
1. Ubuntu安装sublime
一、安装
sudo add-apt-repository ppa:webupd8team/sublime-text
sudo apt-get update
sudo apt-get install sublime-text
二、完成
首先查看一下sublime-text 2安装路径
whereis sublime-text
三、参考
http://www.linuxidc.com/Linux/2013-07/86898.htm
2. Ubuntu安装PostgreSQL
一、安装PostgreSQL 输入如下命令
sudo apt-get install postgresql
二、 修改ubuntu用户postgres的密码
输入如下命令
sudo passwd postgres
三、修改数据库超级用户postgres的密码
1) 切换到ubuntu下postgres用户
sudo su postgres
2) 登录postgres数据库
psql postgres
这样你会看到postgres提示信息如下:
psql (9.0.0)
Type "help" for help.
并出现postgres的命令行提示符号:
postgres=#
3) 输入如下命令
ALTER USER postgres with PASSWORD 'password'
键入“\q”返回到ubuntu命令行。
四、修改postgres密码的第二种方法
使用psql -d postgres,
alter role postgres with login password 'postgres';
修改成功会有“ALTER ROLE”提示
3. Ubuntu安装pgAdmin3
一、 键入如下命令安装pgAdmin3
sudo apt-get install pgadmin3
二、 键入如下命令运行pgAdmin3
pgadmin3
你就会看到pgAdmin3的主界面如下所示
三、更多PostgreSQL pgAdmin3 参考链接
http://www.cnblogs.com/eastday/archive/2013/05/31/3109819.html
4. 装五笔输入法
1:Ctrl+Alt+T 打开终端
2: 输入以下命令: sudo apt-get install ibus ibus-table ibus-table-wubi
安装三个包:ibus,ibus-table ibus-table-wubi
3:打开System setting面板,点击language support,在Keyboard input method system右边的下拉框中选中ibus,退出
4:注销,再次进入系统,在右上角的就会多一个ibus的东东,点开下拉,选择Preference,打开ibus preference面板,
选择Input Method选项卡,选择想要的输入法,然后点击Add按扭.OK!

加载中…