2012年2月18日 星期六

[Ubuntu]Ubuntu11.10 Firewall

Linux doesn't need to install antivirus,you can open the firewall to protect your computer.
There are two ways to open firewall in Ubuntu 11.10
1.GUI firewall configuration
Search firewall in Software center and install  firewall configuration
Then,you can  open the firewall and modify your firewall setting by using firewall configuration




2.Open firewall by terminal
 To open:                                                Close:                                                To check your firewall status:
 sudo ufw enable                                    sudo ufw disable                               sudo ufw status

 To open a port:                                      close an opened port:
 sudo ufw allow 22                                  sudo ufw deny 22


Although Linux doesn't need to install antivirus,you can install it to check your whether has virus in windows.
Search ClamTK in Software Center and install it OR you can install AVG linux edition manually.
To improve your security,you can install SELinux.

2012年2月10日 星期五

[Linux]Tutorial for installing ubuntu 11.10( Ubtuntu 11.10 安裝教學 )

First,go to ubuntu website download ubtuntu 11.10 ISO,you can burn it in CD/USB.
首先到ubuntu官方網站下載 ubuntu 11.10 ISO,然後燒錄到CD/USB.
 http://www.ubuntu.com/download/ubuntu/download


Then,change your boot priority in bios.
 然後設定用CD/USB作優先啟動



Restart your computer,press DEL/F12/F2 or others(depends on brand of pc) to enter to the BIOS utility.
重新開機,按DEL/F12/F2/其他(不同牌子的電腦進入方法不同) 進入BIOS.


Go to Boot Priority


Select the first boot is CD-ROM/DVD.
Like the picture below.


Save before you exit.
















Push your ubuntu CD to CD-ROM/DVD-ROM and restart
放入UBUNTU CD及重新開機


 If you success,you will see this,then press start.
然後會看到這畫面,按enter







Choose your language of installation.
選擇你的安裝語言

Then,Choose Install Ubuntu
選擇你的安裝Ubuntu


Choose your System language and install
選擇你的系統語言及安裝











Installation of Ubuntu 11.10 needs network connection,so connect your network
安裝Ubuntu 11.10需要網路連接,所以連接你的電腦



If you are installed windows,i suggest [Install Ubuntu 11.10 alongside OS]
You can modify your partition by choosing [Something else]
如果你的電腦已安裝windows,建議『將 Ubuntu 11.10 與 Windows xx 安裝在一起』 
你可以自行設定硬碟分割  [其他]

Warning: Take care,wrong selection will erase all of your information in your hard-disk.
               Please choose your selection depends on your situation.
警告:錯誤選擇可能會清除你硬碟中所有資料,請按你的需要選擇 
























After some personal setting and installation,then you can use your own ubuntu.
設定你個人設定,等待安裝完全即可

















2012年1月23日 星期一

[NVIDIA]Ubuntu 11.10 optimus 顯卡驅動(ubuntu 11.10 hybird driver)

由於NVIDIA沒有提供optimus 顯卡驅動,只好使用ironhide.
NVIDIA doesn't offer optimus driver,so we need to use ironhide for ubuntu 11.10.


開始前請是否能切换顯卡,在terminal輸入  lspci | grep -i vga
Before Start you need to check your PC is it suitable for installing ironhide.
In terminal,type lspci | grep -i vga




安裝方法:
Install method:
sudo apt-add-repository ppa:mj-casalogic/ironhide && sudo apt-get update && sudo apt-get install ironhide ironhide-ui
sudo apt-get purge ironhide
sudo apt-get install ironhide



(一路選default及對應設定)
(often choose default and suitable choice)




若要用外置顯卡,在terminal 輸入 optirun 程式名
When you use externel VGA,type optirun nameofprogramme
For example: optirun google-chrome,optirun vlc,optirun totem

[MAC]Remove duplicate icons on launchpad(reset launchpad)


Just simply enter two commands in terminal

sudo rm ~/Library/Application\ Support/Dock/*.db
sudo killall Dock

2012年1月20日 星期五

Ubuntu 11.10 3D桌面(compiz setting)for notebook

由於NVIDIA暫沒有Linux提供optimus 顯卡的驅動程式,所以要使用intel HD 3000才可開啟。
只要簡單地在terminal 輸入以下命令,然後重新開機即可。
Because NVIDIA Optimus™ technology doesn't support Linux,we only can open compiz by installing intel 3000 driver.
you just need to enter some commands and restart,then you can modify your desktop by using compiz.


sudo apt-get purge nvidia*
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
sudo update-alternatives --remove gl_conf /usr/lib/nvidia-current/ld.so.conf


then restart your compuer.



有些設定不能開啟,否則會出現問題
some setting you can choose,otherwise the unity will crash.



Solution:
press Ctl-Alt-F2


enter unity --reset


then restart








如果想使用nvidia顯卡,可以安裝ironhide (稍後更新)
if you want to use external VGA,   See:    ironhide  for nidia optimus(update later)




 



2012年1月11日 星期三

[更新]Justin TV 表情列表 (Justin TV & Twitch TV face emotions)

[更新UPDATE 03-2012] Justin TV 表情列表
http://android2010ex.blogspot.com/2012/03/justin-tv-justin-tv-twitch-tv-face.html 


Justin TV face emotions

StoneLightning 
TheRinger
RedCoat 
OptimizePrime
JKanStyle
CougarHunt
EagleEye
BrokeBack
PazPazowitz
Kappa
BionicBunion
SwiftRage
DansGame
PJSalt
BrainSlug
MVGame
BCWarrior
MrDestructoid
PicoMause
JonCarnage
StrawBeary
GingerPower
SuperVinlin
SMSkull
SMOrc


Only available on Twitch TV


NoNoSpot
BlargNaut
SoBayed
KevinTurtle
FreakinStinkin 
Kreygasm
NinjaTroll 
FPSMarksman
SSSsss 
PunchTrees 
UleetBackup
ArsonNoSexy 
TehFunrun

2011年11月11日 星期五

[Mac] Ram disk for Chrome

After you set your ramdisk on Mac OS,you can use those command to move Chrome Cache to ramdisk


1.   cd /Users/username/Library/Caches/Google/Chrome/Default 
  
2.    rm -rf ./Cache 

3.    ln -s /Volumes/RamDisk/ /Users/username/Library/Caches/Google/Chrome/Default/Cache