
Ubuntu / Mac / Github / Aptana / Nginx / Shell / Linux
文章平均质量分 79
iteye_5904
这个作者很懒,什么都没留下…
展开
-
How to install Aptana Studio 3 on Ubuntu 12.04 LTS (Precise Pangolin)
1. Install the prerequisitessudo apt-get install openjdk-7-jdk libjpeg62 libwebkitgtk-1.0-0 git-core Although Aptana Studio doesn’t officially support OpenJDK, I’ve not encountered any problems...原创 2012-07-02 00:19:42 · 116 阅读 · 0 评论 -
Ubuntu 星际译王StarDict
日常办公应用中,我们经常会碰到一些陌生的外文单词或文章需要翻译,在Windows平台上,可通过很多翻译工具来帮忙解决。当我们转到Ubuntu系统中办公时,肯定也希望能有一款简单易用、功能强大的翻译工具。 这里给大家推荐Linux平台上最常用的翻译工具——StarDict(星际译王)。星际译王具有全文翻译、屏幕取词及单词朗读功能,支持本地和网络词典及模糊查找功能。本文介绍基于Ubun...原创 2012-07-03 03:20:58 · 257 阅读 · 0 评论 -
Ubuntu禁用ipv6 ( Disable IPv6 If your Internet is Working Slow in Ubuntu)
Disable IPv6 If your internet is working Slow in Ubuntu 12.04 Precise Pangolin/Linux Mint 13/Any Ubuntu or Mint Version Follow this to Disable IPv6, So we have to edit the sysctl.conf file.To do thi...原创 2012-07-03 03:25:33 · 216 阅读 · 0 评论 -
Linux/Mac 操作 mysql MySQL Commands
This is a list of handy MySQL commands that I use time and time again. At the bottom are statements, clauses, and functions you can use in MySQL. Below that are PHP and Perl API functions you can use...原创 2012-07-03 22:39:54 · 190 阅读 · 0 评论 -
Select all in address bar of firefox (Ubuntu, Linux Mint) with a single click
Too many things to modify after installing ubuntu or linux mint. One of the annoying thing is Clicking the address bar on Firefox (provided with Ubuntu, linux mint) doesn’t select the whole text in it...原创 2012-07-04 02:46:45 · 89 阅读 · 0 评论 -
How to Enable Remote Access to MySQL (ubuntu)
MySQL remote access is disabled by default, but with a few simple steps, you should be up and running with remote MySQL in just a few minutes. This is especially useful when working with multiple ...原创 2012-07-05 21:10:18 · 168 阅读 · 0 评论 -
Multimedia (MP3, MPEG-4, AVI, DiVX, etc.) support in Ubuntu 12.04 (Precise)
Why doesn’t Ubuntu support MP3 ‘out of the box’?Ubuntu cannot include support for MP3 or DVD video playback or recording. MP3 formats are patented, and the patent holders have not provided the n...原创 2012-07-06 04:12:02 · 133 阅读 · 0 评论 -
Install Google Chrome using Apt-Get in Ubuntu
Objectives:Install Google Chrome in Ubuntu using apt-get installEnjoy!To get started, press Ctrl – Alt – T to open Terminal. When it opens, run the command below to add Linux-repos...原创 2012-07-06 04:26:49 · 169 阅读 · 0 评论 -
ubuntu 添加 qq
1. Empathy ctrl+alt+t 打开终端sudo add-apt-repository ppa:lainme/libqqsudo apt-get updatesudo apt-get install libqq-pidgin 经过以上几步,Empathy里面就有QQ了 2. Ubuntu 12.04安装QQ2012 ...原创 2012-07-06 21:55:38 · 126 阅读 · 0 评论 -
The Vim commands cheat sheet (ubuntu) vi编辑器常用的命令及快捷键
How to Exit :q[uit]Quit Vim. This fails when changes have been made.:q[uit]!Quit without writing.:cq[uit]Quit always, without writing.:wqWrite the current file and exit....原创 2012-07-07 05:40:44 · 277 阅读 · 0 评论 -
ubuntu vim 显示行号 Getting VIM to show the line numbers be default
vi / vim show line number commandTo display line numbers along the left side of a window, type any one of the following::set number or:set nu You can also define a mapping to toggle the ...原创 2012-07-10 04:30:13 · 240 阅读 · 0 评论 -
解决 ubuntu 无法关机 Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04
Shutdown computer using terminal in Ubuntuf you want to shutdown your computer what do you do ? Simply go to shutdown button and click shutdown isn’t? Have you ever wondered how would you shut...原创 2012-07-12 21:24:21 · 295 阅读 · 0 评论 -
vim setting
/etc/vim/vimrcset nocompatible " use vim defaultsset backspace=2 "make backspace like most other appsset ls=2 " allways show status lineset tabstop=5 " numbers of sp...原创 2012-07-17 00:00:34 · 138 阅读 · 0 评论 -
ubuntu 输入空白How to cd to folder name with spaces blank names (white space)
it's must to use \ because it has space bar between file name like this $cd FONT\ 001 You just use a backslashex.) cd /home/jesse/New\ Folder/ ...原创 2012-07-17 23:07:06 · 96 阅读 · 0 评论 -
ubuntu上安装 ibus Google拼音输入法
最近听说Google拼音有了个ibus的版本了。试了一下之后,效果还真不错。下面我们就来说说如何安装这个Google拼音。首先我们要到ibus Google拼音输入法的主页下载两个安装包到桌面,如下:1. ibus-googlepinyin-0.1.2.tar.bz2 2. libgooglepinyin-0.1.2.tar.bz2 使用下面命令将其解压。tar ...原创 2012-07-21 05:10:26 · 424 阅读 · 0 评论 -
解决Ubuntu vim 中文乱码
打开vim的配置文件,位置在 /etc/vim/vimrc 在其中加入set fileencodings=utf-8,gb2312,gbk,gb18030set termencoding=utf-8set encoding=prc 保存退出,此时vim就能正确显示中文了。对于gedit,解决方法如下:在终端中运行 gconf-editor在打开的界面中选...原创 2012-07-24 21:50:20 · 337 阅读 · 0 评论 -
ubuntu 设置默认值 VLC / LibreOffice 等
Associate all audio and video files to VLC instead of Totem media player (Movie Player) Video files: .avi .mp4 .mpg .ogv .ogm .mkv .wmv etc. Audo files: .mp3 .ogg .flac .wav .wma etc. Ope...原创 2012-08-07 05:13:48 · 193 阅读 · 0 评论 -
ubuntu 清理Empathy 历史记录 Clear Empathy logs
Empathy chat client stores chat history in your home directory under~/.local/share/TpLogger/logs/ You will see a directory for each account you have configured and inside each are directorie...原创 2012-08-22 02:00:55 · 149 阅读 · 0 评论 -
Ubuntu 12.04安装下载工具 UGet 1.8.0 及 aria2用法
1. aria2用法 aria2是我今天新学到的一个命令行的下载工具,虽然还没研究透,但是他绝对比wget更好.aria2 是 Linux 下一个不错的高速下载工具。由于它具有分段下载引擎,所以支持从多个地址或者从一个地址的多个连接来下载同一个文件。这样自然就大大加快了文件的下载速 度。aria2 也具有断点续传功能,这使你随时能够恢复已经中断的文件下载。除了支持一般的 http(...原创 2012-08-22 02:49:15 · 356 阅读 · 0 评论 -
Ubuntu安装VMware Workstation详解
先到官方网站http://downloads.vmware.com/下载 VMware Workstation for 32-bit Linux with tools下载时会要求你注册,随便填一下注册就可以开始下载了。 到下载的目录下执行下面的命令:sudo chmod +x VMware-Workstation-FXXXXXXXXX.bundlesudo ./VMware-W...原创 2012-08-30 03:12:25 · 557 阅读 · 0 评论 -
Linux: Terminal 计算器功能 (bc命令)Terminal Tip: Command Line Calculator
Mac OS X ships with a powerful and useful command-line calculator called bc. GNU bc provides an arbitrary precision calculator that allows you to type in expressions for immediate calculation. ...原创 2013-07-12 12:33:12 · 918 阅读 · 0 评论 -
vim 程序编辑器
1. vi 与 vim 1.1 为何要学 vim 2. vi 的使用 2.1 简易执行范例 2.2 按键说明 2.3 一个案例的练习 2.4 vim 的暂存档、救援回复与开启时的警告讯息 3. vim 的额外功能 3.1 区块选择(Visual Block) 3.2 多档案编辑 3.3 多窗口功能 3.4 vim 环境设定与记录: ~/.vimrc, ~/...原创 2013-08-08 04:51:31 · 350 阅读 · 0 评论 -
Installing Windows 7 on VirtualBox. Error status: 0xc0000225?
Today, after finally taking the plunge into the Linux world (I'm trying to refocus my work to the Rails ecosystem), I installed VirtualBox on Linux Mint 13. Simple enough, a little visit the so...原创 2013-08-10 01:22:48 · 194 阅读 · 0 评论 -
USB 安装windows USB installer for Windows XP, Vista, 7 with WinToFlash
Making a bootable USB flash drive for Windows Vista and Windows 7 isn't all that tricky, but it's always nice to find an app that simplifies things. Not only does WinToFlash make the process about ...原创 2013-08-14 01:22:17 · 246 阅读 · 0 评论 -
Linux中7个用来浏览网页和下载文件的命令
上一篇文章中,我们提到了rTorrent、wget、cURL、w3m、Elinks等几个有用的工具,很多人回信说还有其它几个类似的工具也值得讨论,所以就有了这篇文章。如果错过了第一部分的讨论,可以通过下面的链接来回顾。5 个基于Linux命令行的文件下载和网站浏览工具这篇文章介绍了Linux下用于浏览网页和下载文件的其它几个命令行工具。Linux中7个用来浏览网页和下载文件...原创 2015-06-23 01:44:08 · 867 阅读 · 0 评论 -
Bash 中的特殊字符大全
Linux下无论如何都是要用到shell命令的,在Shell的实际使用中,有编程经验的很容易上手,但稍微有难度的是shell里面的那些个符 号,各种特殊的符号在我们编写Shell脚本的时候如果能够用的好,往往能给我们起到事半功倍的效果,为此,特地将Shell里面的一些符号说明罗列成对 照表的形式,以便快速的查找。看看你知道下表中的哪些Shell符号呢?Shell符号及各种解释对照表:...原创 2015-06-25 02:17:52 · 577 阅读 · 0 评论 -
5 个基于Linux命令行的文件下载和网站浏览工具
Linux命令行是GNU/Linux中最神奇迷人的部分,它是非常强大的工具。命令行本身功能多样,多种内建或者第三方的命令行应用使得Linux变得更加健壮和强大。Linux Shell支持多种不同类型的网络应用,无论是BT下载软件,专用下载器或者互联网冲浪。5 个基于Linux命令行的文件下载和网站浏览工具5个命令行互联网工具这里我们介绍了5个很好的命令行互联网工具,它们非常有...原创 2015-06-25 02:18:04 · 302 阅读 · 0 评论 -
win 7 或 mac 远程桌面到 ubuntu (ssh)
1. IP地址登录 具体方法: Ubuntu下的操作 1、首先你要有Ubuntu10.10,其实10.04也可以使用本文方法,至于其他版本,我没有测试,但是应该也差不多的说。。。 2、Win7远程连接上Ubuntu,所使用的协议是rdp,所以我们要装这个东西。打开终端:sudo apt-get install xrdp ...原创 2013-08-21 05:27:12 · 892 阅读 · 0 评论 -
ubuntu cheat sheet 目录结构
Ubuntu Cheat Sheet Ubuntu系统目录结构 以下为Ubuntu目录的主要目录结构,您稍微了解它们都包含了哪些文件就可以了,不需要记忆。 / 根目录 │ ├boot/ 启动文件。所有与系统启动有关的文件都保存在这里 │ └grub/ Grub引导器相关的文件 ...原创 2013-08-21 06:02:33 · 256 阅读 · 0 评论 -
linux系统中scp命令的用法
scp是 secure copy的缩写, scp是linux系统下基于ssh登陆进行安全的远程文件拷贝命令。linux的scp命令可以在linux服务器之间复制文件和目录. scp命令的用处:scp在网络上不同的主机之间复制文件,它使用ssh安全协议传输数据,具有和ssh一样的验证机制,从而安全的远程拷贝文件。 scp命令基本格式:scp [-1246BCpqrv] [-...原创 2013-08-22 01:50:50 · 255 阅读 · 0 评论 -
Linux/Ubuntu 解压 zip, tar,7z,gz,bz2,rar
1. How To Extract A 7z File Under Ubuntu To install p7zip on Ubuntu (10.04/10.10/11.04), launch the terminal and issue this command:sudo apt-get install p7zip p7zip-full After installing t...原创 2013-08-22 02:26:24 · 210 阅读 · 0 评论 -
linux命令之less 命令
less 工 具也是对文件或其它输出进行分页显示的工具,应该说是linux正统查看文件内容的工具,功能极其强大。less 的用法比起 more 更加的有弹性。 在 more 的时候,我们并没有办法向前面翻, 只能往后面看,但若使用了 less 时,就可以使用 [pageup] [pagedown] 等按 键的功能来往前往后翻看文件,更容易用来查看一个文件的内容!除此之外,在 less 里头...原创 2013-08-22 04:42:45 · 137 阅读 · 0 评论 -
linux命令之ping命令
Linux系统的ping 命令是常用的网络命令,它通常用来测试与目标主机的连通性,我们经常会说“ping一下某机器,看是不是开着”、不能打开网页时会说“你先ping网关地 址192.168.1.1试试”。它通过发送ICMP ECHO_REQUEST数据包到网络主机 (send ICMP ECHO_REQUEST to network hosts),并显示响应情况,这样我们就可以根据它输出的信息来...原创 2013-08-22 04:49:11 · 154 阅读 · 0 评论 -
Ubuntu用户及用户组管理命令
参考:Linux 账号管理与 ACL 权限配置 Linux是一个用户权限管理得很严格的系统,Ubuntu作为最受欢迎的桌面发行版,提供了简单易用的图形界面工具来管理用户,但是命令行工具往往更强大,用得熟练的话效率会更高。用户管理命令常用的有如下几个:useradd 这个命令用于添加用户,相比图形界面工具,它可以指定用户文件夹,所属群组等。如果执行useradd -D不加任何其它参数...原创 2013-08-22 06:25:28 · 1337 阅读 · 0 评论 -
各平台安装Node.js
下载: http://nodejs.org/download/ Node.js是一套用来编写高性能网络服务器的JavaScript工具包,一系列的变化由此开始。比较独特的是,Node.js会假设在POSIX环 境下运行Linux 或 Mac OS X。如果是在Windows下,那就需要安装MinGW以获得一个仿POSIX的环境。在Node中,Http是首要的。Node为创建http服务...原创 2013-08-23 02:06:29 · 153 阅读 · 0 评论 -
安装MongoDB Install MongoDB on Ubuntu
MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据存储解决方案。 MongoDB是一个介于关系数据库和 非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似json的bson格式,因此可以存储比较 复杂的数据类型。Mongo最大的特点是他支持的查询语言非常强大,其语法有点类...原创 2013-08-23 02:44:34 · 189 阅读 · 0 评论 -
怎样在 Ubuntu 13.04 Raring Ringtail , 12.10, 12.04 中安装和设置 Samba 实现网上邻居共享...
Samba 是一款功能强大的共享工具,可以实现与windows的共享,就是我们经常在windows计算机之间使用的网上邻居功能,可以共享文件和打印机等。今天要介绍的是在 Ubuntu 13.04 Raring Ringtail , 12.10, 12.04 中安装和设置,当然也可以在以前的版本上使用。 在Ubuntu上安装Samba: 1 安装Samba文件我们需要做的第一...原创 2013-08-23 07:45:55 · 139 阅读 · 0 评论 -
Ubuntu中useradd和adduser的区别
在Ubuntu中创建新用户,通常会用到两个命令:useradd和adduser。虽然作用一样,但用法却不尽相同: 1. 使用useradd时,如果后面不添加任何参数选项,例如:#sudo useradd test创建出来的用户将是默认“三无”用户:一无Home Directory,二无密码,三无系统Shell。 2. 使用adduser时,创建用户的过程更像是一种人机对话,系统会...原创 2013-08-24 02:58:09 · 392 阅读 · 0 评论 -
Ubuntu终止进程的方法(kill、pkill、killall)
用户退出:sudo pkill -u username 1. kill作用:根据进程号杀死进程 用法: kill [信号代码] 进程ID root@fcola:/# ps -ef | grep sendmailsmmsp 14354 14337 0 00:08 pts/1 00:00:00 sendmail startsmmsp ...原创 2013-08-27 02:35:13 · 19948 阅读 · 0 评论 -
TOP命令及参数解析
Top命令是linux 下常用的系统性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于windows的任务管理器。下面详细介绍它的使用方法。 top 可以显示当前系统正在执行的进程的相关信息,包括进程ID、内存占用率、CPU占用率等参数-b 批处理-c 显示完整的治命令-I 忽略失效过程-s 保密模式-S 累积模式-i<时间&g...原创 2013-08-27 02:52:36 · 966 阅读 · 0 评论