1. get the latest zlib source code from http://www.zlib.net/ (please get 1.2.3)
2. extract it
3. configure
4. make
5. sudo make install
-----------------------------------------------------------------------------------
use "Software Center" to install zlib-dev
2010年12月23日 星期四
Install QEMU
1. Download the latest QEMU
2. Compilation
First you must decompress the sources:
Then you configure QEMU and build it (usually no options are needed):
Then type as root user:
to install QEMU in ‘/usr/local’.
3. Download arm-test-0.2.tar.gz
4. qemu-system-arm -kernel zImage.integrator -initrd arm_root.img -nographic -append "console=ttyAMA0"
5. How to exit
如果想結束執行 QEMU 回到終端機,可以先按「 ctrl + a」,然後再按「x」,即可結束 QEMU ;另外,按下「 ctrl + a 」再按下「c」則是可以從 Linux 切換到 QEMU 自己操作介面。
2. Compilation
First you must decompress the sources:
cd /tmp tar zxvf qemu-x.y.z.tar.gz cd qemu-x.y.z |
./configure make |
make install |
3. Download arm-test-0.2.tar.gz
4. qemu-system-arm -kernel zImage.integrator -initrd arm_root.img -nographic -append "console=ttyAMA0"
5. How to exit
如果想結束執行 QEMU 回到終端機,可以先按「 ctrl + a」,然後再按「x」,即可結束 QEMU ;另外,按下「 ctrl + a 」再按下「c」則是可以從 Linux 切換到 QEMU 自己操作介面。
2010年12月17日 星期五
ubuntu 使用 samba
1. preparation
2. mount
$ sudo apt-get install samba smbfs $ sudo mkdir -p /media/winshares $ sudo addgroup smb $ sudo adduser $USER smb
2. mount
$ sudo mount -t smbfs
-o username=name,password=pass,
workgroup=MSHOME,gid=smb,uid=$USER,fmask=770,dmask=770,rw
//DEVMACHINE/shares /media/winshares
2010年12月16日 星期四
如何給定 VMWare virtual machine 固定 MAC Address
1. 編輯 configuration file (.vmx / .cfg)
2.移除以下
ethernet[n].generatedAddress
ethernet[n].addressType
ethernet[n].generatedAddressOffset
3. 加上以下
ethernet[n].addressType = "static"
ethernet[n].address = "00:50:56:XX:YY:ZZ"
XX: 00h ~ 3Fh
YY, ZZ: 00h ~ FFh.
2.移除以下
ethernet[n].generatedAddress
ethernet[n].addressType
ethernet[n].generatedAddressOffset
3. 加上以下
ethernet[n].addressType = "static"
ethernet[n].address = "00:50:56:XX:YY:ZZ"
XX: 00h ~ 3Fh
YY, ZZ: 00h ~ FFh.
2010年12月11日 星期六
2010年12月7日 星期二
Install Dictionary
Install dictionary
1. http://wiki.ubuntu-tw.org/index.php?title=StarDict
--> http://stardict.sourceforge.net/download.php
--> http://freebirdenglish.com/stardict_dic/
2. install libgucharmap --> https://launchpad.net/ubuntu/hardy/i386/libgucharmap6
3. move dictionary folders
使用 root 的權限將解壓縮出來的目錄檔案複製(或移動)到 /usr/share/stardict/dic/ 目錄裡,再重新啟動 StarDict 即可。
1. http://wiki.ubuntu-tw.org/index.php?title=StarDict
--> http://stardict.sourceforge.net/download.php
--> http://freebirdenglish.com/stardict_dic/
2. install libgucharmap --> https://launchpad.net/ubuntu/hardy/i386/libgucharmap6
3. move dictionary folders
使用 root 的權限將解壓縮出來的目錄檔案複製(或移動)到 /usr/share/stardict/dic/ 目錄裡,再重新啟動 StarDict 即可。
Install PAC
Install PAC
1. add "deb http://archive.getdeb.net/ubuntu lucid-getdeb apps" in "/etc/apt/sources.list"
2. apt-get update
3. apt-get install pac
1. add "deb http://archive.getdeb.net/ubuntu lucid-getdeb apps" in "/etc/apt/sources.list"
2. apt-get update
3. apt-get install pac
Install ssh
Install ssh
1. sudo -s
2. apt-get install openssh-server
-------------------------------------------------------
sudo aptitude install openssh-server
-------------------------------------------------------
重啟 SSH Server
用下面的指令來重啟 SSH Server 之後,就算安裝設定完成了哩 !
sudo /etc/init.d/ssh restart
1. sudo -s
2. apt-get install openssh-server
-------------------------------------------------------
sudo aptitude install openssh-server
-------------------------------------------------------
重啟 SSH Server
用下面的指令來重啟 SSH Server 之後,就算安裝設定完成了哩 !
sudo /etc/init.d/ssh restart
Install samba
Install samba
1. sudo -s
2. apt-get install samba
3. ubuntu軟體中心 --> samba --> samba
==> (10.10, apt-get install system-config-samba)
4. Add folder, add user
------------------------------------------------------------------------------------------------------------------------
The procedure is as follows to add a user to samba server:
[a] First add Linux/UNIX user using useradd/adduser command.
[b] Then use same user name to add to Samba share using smbpasswd command.
Type any one of the following command:
OR
OR
1. sudo -s
2. apt-get install samba
3. ubuntu軟體中心 --> samba --> samba
==> (10.10, apt-get install system-config-samba)
4. Add folder, add user
------------------------------------------------------------------------------------------------------------------------
The procedure is as follows to add a user to samba server:
[a] First add Linux/UNIX user using useradd/adduser command.
[b] Then use same user name to add to Samba share using smbpasswd command.
Step # 1: Add a user joe to UNIX/Linux system
adduser command adds user to the system according to command line options and configuration information in /etc/adduser.conf. They are friendlier front ends to the low level tools like useradd.Type any one of the following command:
# useradd joe
# passwd joe
OR
adduser joe
Step # 2: Add a user to samba
Now user joe has account on Linux/UNIX box. Use smbpasswd command to specifies that the username following should be added to the local smbpasswd file:# smbpasswd -a joe
Step # 3: Add a user to a Samab share
By default user gets access to /home/joe from windows system. Let us say you want to give joe access to /data/accounts (make sure directory /data/accounts exists) directory. Open /etc/samba/smb.conf file and add/modify share called [accounts]:[accounts] comment = Accounts data directory path = /data/accounts valid users = vivek raj joe public = no writable = yesSave the file.
Step #4: Restart the samba
# service smb restart
OR
# /etc/init.d/smb reload
2010年12月3日 星期五
Install Ubuntu 10.10
1. Get the ubuntu 10.10 (http://www.ubuntu-tw.org/modules/tinyd0/)
2. VMWare
不要使用快捷安裝
修改 HD size
3. Install vmware-tools, restart it
4. 更新管理員
5. 螢幕保護程式 - 2 hours
6. Install dropbox, run dropbox
7. 調整 輸入法
8. 調整 視窗偏好設定 (http://bdesrush.blogspot.com/2010/07/blog-post_5038.html)
9. install teamviewer (系統 - 偏好設定 - 始動應用程式)
2. VMWare
不要使用快捷安裝
修改 HD size
3. Install vmware-tools, restart it
4. 更新管理員
5. 螢幕保護程式 - 2 hours
6. Install dropbox, run dropbox
7. 調整 輸入法
8. 調整 視窗偏好設定 (http://bdesrush.blogspot.com/2010/07/blog-post_5038.html)
9. install teamviewer (系統 - 偏好設定 - 始動應用程式)
訂閱:
文章 (Atom)