0. Install sudo (open users and groups form System-Administrations, check your username under relevant groups)
1. Install virtualbox:
-- add the following line to /etc/apt/sources.list
$ deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
--nd then add the public key:
$wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
-- and install
$ sudo apt-get update
$sudo apt-get install virtualbox-4.1
--finally, install extension pack
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts
Install VirtualBox on Fedora
Posted at
8/16/2011 07:31:00 PM
To solve DKMS failure:
Add VirtualBox User to vboxusers Group
yum install gcc kernel-devel kernel-headers ## PAE kernel users install ## yum install gcc kernel-PAE-devel kernel-headers
Add VirtualBox User to vboxusers Group
usermod -a -G vboxusers user_name
Canon D420 Printer Issue on Ubuntu 11.04
Posted at
4/04/2011 02:49:00 PM
After installing Ubuntu 11.04Beta, the Canon D420 printer driver can't be installed because it depends on gs-esp which is not supported in the new environment. So here is an alternative way to install the driver.
Download the driver from here.
Extract it and go to its RPM foder.
Install alien which allows you to install rpm file on Debian/Ubuntu:
Download the driver from here.
Extract it and go to its RPM foder.
Install alien which allows you to install rpm file on Debian/Ubuntu:
sudo apt-get install alien dpkg-dev debhelper build-essential
Restore Grub Menu
Posted at
8/11/2010 12:52:00 PM
Reinstalling from LiveCD
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindowsIf you cannot boot from GRUB 2 review the section Boot Problems and Rescue Mode. If a reinstall becomes necessary follow these instructions. Two methods are presented; both require booting from a LiveCD (Ubuntu 9.10, Karmic Koala or later version). If the first method does not work, follow the second method, which is more complex and contains more options and instructions.
SIMPLEST - Copy GRUB 2 Files from the LiveCD
Install office 2007 in ubuntu
Posted at
8/08/2009 10:49:00 AM
http://samanathon.com/how-to-install-microsoft-office-2007-in-ubuntu-9-04/
Uninstall Previous Versions Of Wine
For some odd reason, Office 2007 will not run on a version of Wine above 1.1.14. For that reason, if you currently have Wine installed, uninstall it by follow these steps:
Uninstall Previous Versions Of Wine
For some odd reason, Office 2007 will not run on a version of Wine above 1.1.14. For that reason, if you currently have Wine installed, uninstall it by follow these steps:
How to find IP address under linux
Posted at
8/08/2009 08:48:00 AM
Type the following command at a shell prompt:
ifconfig -a | perl -ne 'if ( m/^\s*inet (?:addr:)?([\d.]+).*?cast/ ) { print qq($1\n); exit 0; }'
vi命令
Posted at
6/30/2009 09:18:00 AM
(转载)
进入vi的命令
进入vi的命令
Vi filename 打开或新建文件,并将光标置于第一行首
Vi +n filename 打开文件,并将光标置于第n行首
Vi + filename 打开文件并将光标置于最后一行首
Vi +/pattern filename 打开文件,并将光标置于一个与pattern匹配的串处
Vi filename .. Filename 打开多个文件,依次进行编辑
Linux目录解释(转载)
Posted at
4/29/2007 03:41:00 PM
/bin:bin是binary(二进制)的缩写。这个目录是对UNIX系统习惯的沿袭,存放着使用者最经常使用的命令。例如:cp,ls,cat。
/boot:这里存放的是启动LINUX时使用的一些核心文件。
/dev:dev是device(设备)的缩写。这个目录下是所有LINUX的外部设备,其功能类似DOS下的.sys和Win下的.vxd。在LINUX中设备和文件是用同种方法访问的。例如:/dev/hda代表第一个物理IDE硬盘。
/boot:这里存放的是启动LINUX时使用的一些核心文件。
/dev:dev是device(设备)的缩写。这个目录下是所有LINUX的外部设备,其功能类似DOS下的.sys和Win下的.vxd。在LINUX中设备和文件是用同种方法访问的。例如:/dev/hda代表第一个物理IDE硬盘。
Subscribe to:
Posts (Atom)