Ubuntu安装后的常见配置

来源:互联网 发布:php中获得resource 编辑:程序博客网 时间:2024/04/29 19:42

http://ianysoft.iteye.com/category/139447

文章列表

Ubuntu下管理启动服务

    博客分类:
  • ubuntu
ubuntu 
方式一:service --status-allsudo update-rc.d -f myservice defaultsudo update-rc.d -f myservice remove方式二:sudo install sysv-rc-confsudo sysv-rc-conf
  • 2013-04-21 09:21
  • 浏览 50
  • 评论(0)
  • 分类:操作系统

ubuntu下emacs使用ibus中文输入法

    博客分类:
  • ubuntu
emacsubuntu
sudo apt-get install ibus-elgedit ~/.emacs(require 'ibus);; 自动开启ibus-mode模式(add-hook 'after-init-hook 'ibus-mode-on);; 取消Ctrl+Space的切换输入法(ibus-define-common-key ?\C-\s nil);; 激活Ctrl+\切换输入法(global-set-key (kbd "\C-\\") 'ibus-toggle)
  • 2013-01-13 08:34
  • 浏览 292
  • 评论(0)
  • 分类:操作系统

ubuntu乱码问题

    博客分类:
  • ubuntu
ubuntu
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"gsettings set org.gnome.gedit.preferences.encodings shown-in-menu "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"
  • 2012-12-30 17:48
  • 浏览 90
  • 评论(0)
  • 分类:操作系统

ubuntu文件管理器nautilus

    博客分类:
  • ubuntu
ubuntu
自定义bookmarksgedit ~/.gtk-bookmarksfile:///opt自定义右键sudo apt-get install nautilus-actions在Dash中查找并打开Nautilus-Actions Configuration Tool工具点击Edit -> Preferences -> Runtimes preferences -> Nautilus menu layout取消选中Create a root 'Nautilus-Actions' menu取消选中Add an 'About N ...
  • 2012-12-30 15:53
  • 浏览 159
  • 评论(0)
  • 分类:操作系统

ubuntu下用usb做启动盘

    博客分类:
  • ubuntu
ubuntu
umount /media/xzn/usbsudo dd if=ubuntu-12.10-desktop-amd64.iso of=/dev/sdb
  • 2012-12-18 16:57
  • 浏览 87
  • 评论(0)
  • 分类:操作系统

ubuntu下使用QQ:lwqq插件

    博客分类:
  • ubuntu
ubuntu
项目首页:https://github.com/xiehuc/pidgin-lwqqpidgin-lwqq是一个基于webqq协议和lwqq库的pidgin插件。能实现简单的QQ 聊天功能,能够接收文件、接收图片、群聊天、发送简易的表情。会自动转换pidgin的表情为QQ的默认表情,对方发送第三方表情的时候会自动转换成图片的形式,体验不错。sudo add-apt-repository ppa:lainme/pidgin-lwqqsudo apt-get updatesudo apt-get install libpurple0 pidgin-lwqq
  • 2012-12-16 16:36
  • 浏览 404
  • 评论(0)
  • 分类:操作系统

解决运行ubuntu时硬盘温度较高

    博客分类:
  • ubuntu
ubuntu
swappiness=0:最大限度使用物理内存,然后才是swap空间swappiness=100:积极的使用swap分区,并且把内存上的数据及时的搬运到swap空间里面ubuntu的默认值等于60,建议修改为10cat /proc/sys/vm/swappinesssudo sysctl vm.swappiness=10sudo gedit /etc/sysctl.confvm.swappiness=10
  • 2012-12-15 09:22
  • 浏览 111
  • 评论(0)
  • 分类:操作系统

ubuntu文件权限

    博客分类:
  • ubuntu
ubuntu
owner/group/others/all (u/g/o/a)r/w/x/- (4/2/1/0)directory/regularfile/link/block/character (d/-/l/b/c)chgrp/chown/chmod+/-/=owner:所有者,group:所属组,others:其他用户,all:所有人对于文件:{r:可读,w:可写,x:可执行,-:无权限}对于目录:{r:可列出目录中的内容,w:可在目录中创建、删除和修改文件,x:可使用cd命令切换到此目录,-:没有任何此目录的访问权限}chgrp:修改用户所属组,chown:修改文件所有者,chmod: ...
  • 2012-12-11 08:23
  • 浏览 115
  • 评论(0)
  • 分类:操作系统

ubuntu下安装oracle

    博客分类:
  • ubuntu
ubuntuoracle
http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe-universal_10.2.0.1-1.1_i386.debsudo dpkg -i ~/Downloads/oracle-xe-universal_10.2.0.1-1.1_i386.debsudo /etc/init.d/oracle-xe configure里面大多数按回车,到了数据库密码输入一下就可以了sudo gedit /etc/profileexport ORACLE_SID=XEexport OR ...
  • 2012-12-09 07:24
  • 浏览 173
  • 评论(0)
  • 分类:操作系统

ubuntu下安装mysql

    博客分类:
  • ubuntu
ubuntumysql
http://www.mysql.com/downloads/mysqlsudo groupadd mysqlsudo useradd -r -g mysql mysqlsudo passwd mysqlsudo tar zxvf ~/Downloads/mysql-5.5.29-linux2.6-x86_64.tar.gz -C /optsudo mv /opt/mysql-5.5.29-linux2.6-x86_64 /opt/mysqlsudo chown -R mysql:mysql /opt/mysqlsudo apt-get inst ...
  • 2012-12-09 07:24
  • 浏览 243
  • 评论(0)
  • 分类:操作系统

ubuntu中文输入法

    博客分类:
  • ubuntu
ubuntu
安装中文输入法:在dash home中搜索ibusKeyboard Input Methods->Input Method->Select an input method->Chinese->Pinyin->AddUbuntu英语环境下开机自动启动ibus输入法:System Settings->Language Support->Keyboard input method system = ibus ibus简繁体中文切换:Ctrl+Shift+F
  • 2012-12-08 19:03
  • 浏览 132
  • 评论(0)
  • 分类:操作系统

ubuntu下kill进程

    博客分类:
  • ubuntu
ubuntu
top找到要关掉的进程,记下该进程第一列的PID编号,然后输入q,退回终端sudo kill 对应PID
  • 2012-12-08 17:01
  • 浏览 94
  • 评论(0)
  • 分类:操作系统

ubuntu下安装virtualbox

    博客分类:
  • ubuntu
ubuntu
https://www.virtualbox.org/wiki/Linux_Downloadsdpkg -lsudo apt-get remove virtualbox-4.2sudo dpkg -i ~/Downloads/virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.debsudo apt-get -f installsudo apt-get install linux-headers-$(uname -r)sudo /etc/init.d/vboxdrv setupsudo ...
  • 2012-12-08 13:07
  • 浏览 214
  • 评论(0)
  • 分类:操作系统

ubuntu桌面快捷方式

    博客分类:
  • ubuntu
ubuntu 
默认情况下,ubuntu会将自动安装的软件快捷方式保存在/usr/share/applications目录下,dash home中每个图标对应当中的一个配置文件,如果我们要创建桌面快捷方式,只需要右键-复制-桌面 就Ok软件手动安装则需要手动创建软件的桌面快捷方式1、创建一个eclipse.desktop文件,将下面的代码拷贝进去这里我们只需要关注3个地方,分别为Exec=软件执行文件的路径,Icon=快捷方式图标(如果有的话),Name=快捷方式名称。根据自己软件按转的位置修改代码,保存之后关闭文件。[Desktop Entry]Categories=Development; ...
  • 2012-12-08 06:09
  • 浏览 344
  • 评论(0)
  • 分类:操作系统

ubuntu下常用工具

    博客分类:
  • ubuntu
ubuntu
sudo apt-get install nautilus-open-terminal # 把终端加到右键菜单,要重登录才起效sudo apt-get install chmsee # chm阅读软件sudo apt-get install openssh-client # SSH Client(ubuntu有默认安装)sudo apt-get install openssh-server # SSH Server# 这样用系统自带的电影播放机都可以播放各种格式的文件了sudo apt-get install ubuntu-restricted-extrassu ...
  • 2012-12-08 04:53
  • 浏览 232
  • 评论(0)
  • 分类:操作系统

ubuntu下golang开发环境搭建

    博客分类:
  • ubuntu
ubuntugo
http://go.googlecode.com/files/go1.0.3.linux-amd64.tar.gzsudo groupadd go sudo useradd -r -g go go sudo passwd gosudo tar zxvf ~/Downloads/go1.0.3.linux-amd64.tar.gz -C /optsudo chown -R go:go /opt/gomkdir ~/gopathsudo gedit /etc/profileexport GOROOT=/opt/goexport GO ...
  • 2012-12-07 16:41
  • 浏览 469
  • 评论(0)
  • 分类:操作系统

ubuntu安装Google Chrome

    博客分类:
  • ubuntu
chromeubuntu
https://www.google.com/intl/zh-CN/chrome/browser/sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.debsudo apt-get -f installsudo mkdir -p /opt/google/chrome/pluginscd /opt/google/chrome/pluginssudo ln -s /opt/jdk7/jre/lib/amd64/libnpjp2.sohttp://www.java.com/zh_CN ...
  • 2012-12-07 14:35
  • 浏览 130
  • 评论(0)
  • 分类:操作系统

ubuntu下安装flash

    博客分类:
  • ubuntu
ubuntuflash
cd /opt/google/chromesudo cp ~/Downloads/libflashplayer.so .sudo ln -s libflashplayer.so /usr/lib/mozilla/plugins/
  • 2012-03-28 12:18
  • 浏览 267
  • 评论(0)
  • 分类:操作系统

ubuntu下php开发环境搭建

    博客分类:
  • ubuntu
phpubuntu
sudo apt-get install apache2浏览器打开 http://127.0.0.1 看到 It works 表示安装成功!sudo apt-get install php5sudo apt-get install libapache2-mod-php5sudo /etc/init.d/apache2 restartsudo apt-get install mysql-serversudo apt-get install libapache2-mod-auth-mysqlsudo apt-get install php5-mysqls ...
  • 2012-03-27 14:53
  • 浏览 362
  • 评论(0)
  • 分类:操作系统

ubuntu常用快捷键

    博客分类:
  • ubuntu
ubuntu
打开终端:Ctrl+Alt+T显示桌面:Ctrl+Super+D锁住屏幕:Ctrl+Alt+L切换桌面:Ctrl+Alt+Up|Down|Left|Right切换窗口:Ctrl+Tab切换程序:Alt+Tab关闭程序:Alt+F4快速启动:Super显示快捷键:Super(Hold)最大化窗口:Super+Up还原窗口:Super+Down打开启动器对应程序:Super+1-9进入全屏终端:Ctrl+Alt+F1-F6返回图形界面:Ctrl+Alt+F7
  • 2012-03-25 18:36
  • 浏览 227
  • 评论(0)
  • 分类:操作系统

ubuntu常用操作

    博客分类:
  • ubuntu
ubuntu
启用root用户:sudo passwd root安装中文输入法:ibus(在dash home的search查找)获取最快软件源:software sources(在dash home的search查找)软件中心:ubuntu software center(在dash home的search查找)修复安装:sudo apt-get -f install======================================================================zip安装:sudo apt-get install zipzip压缩demo目录(所有文 ...
  • 2012-03-22 08:54
  • 浏览 307
  • 评论(0)
  • 分类:操作系统

ubuntu常见符号

    博客分类:
  • ubuntu
Ubuntu正则表达式DOS
一、 通配符:“*”、“?”和DOS下一样,当我们不知道确切的文件名时,可以用通配符来进行模糊操作。“*”可以代表任意长度的任意字符,“?”代表一个任意字符。二、 转义字符:“\”和DOS的命名规则不同的是,通配符“*”、“?”是可以在文件名中使用的。如果要操作的文件名中包含有这些特殊符号,我们可以结合“\”来表达。下面是通配符和正则表达式的一个简短列表:  *匹配所有字符  ? 匹配字串中的一个字符  \* 匹配“*”字符  \? 匹配“?”字符  \) 匹配“)”字符三、目录:“/”、“~”、“.”、“..”它们分别代表的意思是:“/”:根目录(在中间使用表示路径) ...
  • 2011-01-13 13:17
  • 浏览 278
  • 评论(0)
  • 分类:操作系统

ubuntu环境变量

    博客分类:
  • ubuntu
UbuntuBash
执行顺序为:/etc/profile -> (~/.bash_profile | ~/.bash_login | ~/.profile) -> ~/.bashrc -> /etc/bashrc -> ~/.bash_logout/etc/profile:在登录时,操作系统定制用户环境时使用的第一个文件 ,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行。/etc/environment:在登录时操作系统使用的第二个文件, 系统在读取你自己的profile前,设置环境文件的环境变量。/etc/bashrc:为每一个运行bash shell的用户执行 ...
  • 2011-01-13 13:13
  • 浏览 271
  • 评论(0)
  • 分类:操作系统

ubuntu常用命令

    博客分类:
  • ubuntu
UbuntuCC++C#
关机命令halt 立刻关机poweroff 立刻关机shutdown -h now 立刻关机(root用户使用)shutdown -h 10 10分钟后自动关机如果是通过shutdown命令设置关机的话,可以用shutdown -c命令取消重启重启命令rebootshutdown -r now 立刻重启(root用户使用)shutdown -r 10 过10分钟自动重启(root用户使用)shutdown -r 20:35 在时间为20:35时候重启(root用户使用)如果是通过shutdown命令设置重启的话,可以用shutdown -c命令取消重启注销命令如果是控制 ...
  • 2011-01-12 17:23
  • 浏览 205
  • 评论(0)
  • 分类:操作系统

ubuntu下java开发环境搭建

    博客分类:
  • ubuntu
UbuntuJavaTomcatMavenNexus
安装JDK7http://www.oracle.com/technetwork/java/javase/downloads/index.htmlsudo groupadd javasudo useradd -r -g java javasudo passwd javasudo tar zxvf ~/Downloads/jdk-7u21-linux-x64.tar.gz -C /optsudo ln -s /opt/jdk1.7.0_21 /opt/jdk7sudo chown -R java:java /opt/jdk7sudo gedit /et ...
  • 2011-01-12 16:58
  • 浏览 676
  • 评论(0)
  • 分类:操作系统

WIN7下硬盘安装ubuntu 10.10

    博客分类:
  • ubuntu
UbuntuPHPCC++C#
1.下载软件操作系统ubuntu:http://www.ubuntu.com/desktop/get-ubuntu/download系统引导软件EasyBCD:http://neosmart.net/dl.php?id=12.设置NeoGrub启动项1)ubuntu下载文件放在d:/system/ubuntu-10.10-desktop-i386.iso,并将iso中的casper目录下的vmlinuz和 initrd.lz解压� ...

0 0
原创粉丝点击