http://wiki.ubuntu.org.cn/Third_Sources
add below address to /etc/apt/sources.list
deb http://packages.medibuntu.org/ feisty free non-free $sudo apt-get install googleearth
http://wiki.ubuntu.org.cn/Third_Sources
add below address to /etc/apt/sources.list
deb http://packages.medibuntu.org/ feisty free non-free $sudo apt-get install googleearth
1. Hello script: create hello.sh for your first script
#!/bin/bash
# Hello world script
echo “Enter your name > “
read username
echo “Hello $username”
2. You can run script by command: sh hello.sh
Or chmod +x hello.sh and type ./hello.sh
1. Mount and unmount cdrom
Mount: sudo mount /media/cdrom0 -o unhide
Forcefully Unmount: sudo umount /media/cdrom0 -f
3. Create ISO file: mkisofs -r -o file.iso /location_of_folder
Generate MD5 checksum file: md5sum file.iso > file.iso.md5
Check MD5 checksum of file: md5sum -c file.iso.md5
4. Mount and unmount iso file:
Mount :
sudo mkdir /media/iso
sudo modprobe loop
sudo mount file.iso /media/iso/ -t iso9660 -o loop
Umount: umount /media/iso
sudo apt-get install openssh-server
1. Install package:
sudo apt-get install ntfs-config
2. Run: Applications -> System Tools -> NTFS Configuration Tool
1. Install driver :
sudo apt-get install xserver-xorg-video-intel
2. Edit configuration file /etc/X11/xorg.conf
change : Driver “i810″ -> Driver “intel”
3. That all. If you want to have wonderful desktop, please test this:
sudo apt-get install beryl beryl-manager
When you delete one file, it’ll locate in ~/.Trash directory.
After a long time, please delete these file: rm -rf ~/.Trash
1. Remove gcj
apt-get remove gcj libgcj-common libgcj7-0
2. Download and install jdk from Sun at /opt
sh jdk-1_5_0_11-linux-i586.bin
3. Export $PATH: put these lines in file ~/.bashrc
export JAVA_HOME=/opt/jdk1.5.0_11
export PATH=$JAVA_HOME/bin:$PATH
1. Prepare your system:
sudo apt-get install build-essential xorg-dev gcc xlibs-dev libxft-dev
2. Install Unicode fonts
sudo apt-get install msttcorefonts
3. Download and extract new version of xvnkb at http://xvnkb.sourceforce.net
cd xvnkb/
./autogen.sh
./configure ; may be -> check it ./configure --use-extstroke,
4. Edit config.h file contain these line:
#define __VK_CONFIG_H
#define VK_CHECK_SPELLING
#define VK_USE_EXTSTROKE
#define VK_NEED_UCHAR
And complile : sudo make && make install
1. Install Windows's fontsMake sure you have the “universe” repository added. If not, as root, modify your /etc/apt/sources.list and uncomment the deb line which will look something like this:
# deb http://us.archive.ubuntu.com/ubuntu dapper universe
Then update apt-get:
# apt-get update
Run the following as root:
# apt-get install msttcorefonts
2 . Install for system wide use
Make the following directory as root:
# mkdir /usr/share/fonts/truetype/myfonts
Copy the font(s) into the newly created directory:
# cp [fonts] /usr/share/fonts/truetype/myfonts
Run the following:
# fc-cache -f -v
Recent Comments