Install the following packages:
sudo apt-get install beryl emerald-themes
Note: Beryl is a metapackage that will install all the dependencies (beryl-core, beryl-plugins, beryl-manager, beryl-settings) and also the decoration themes (emerald but not emerald-themes).
Install the following packages:
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl emerald-themes
Note: Beryl is a metapackage that will install all the dependencies (beryl-core, beryl-plugins, beryl-manager, beryl-settings) and also the decoration themes (emerald but not emerald-themes).
Install the following packages:
sudo apt-get install beryl
Note: Beryl is a metapackage that will install all dependencies and decoration themes).
Now it's time to test Beryl. Open a terminal, and invoke:
beryl-manager
If all goes well, Beryl should show a splash screen, and your windows will suddenly become wobbly! Also note that there is a new icon, a red gem, in your system tray - this allows you to control Beryl, run the Beryl settings manager or Emerald (the theme manager). It also provides fallback to a different window manager, in case Beryl crashes (remember Beryl is very much alpha software).
If you don't get a splash screen immediately, you may need to tell the manager to load Beryl - right-click on the icon in the system tray, go to "Select Window Manager" and choose "Beryl". If that doesn't work, there's a problem somewhere! Hopefully, useful debugging output will be in the terminal session; ask for help on the #ubuntu-xgl or #xgl channels on irc://irc.freenode.net/
From the menu at the top of your screen, select "System > Preferences > Sessions". Click on the right-most tab, "Startup Programs".
Now create a new entry for beryl:
beryl-manager
Close the Session Preference Panel. Beryl will now start automatically when you log in.
If you find that you cannot set icon or gtk themes while using beryl with Xgl on display :1, invoke the following command in a terminal:
gnome-settings-daemon &
Your chosen theme should now appear.
The console message
beryl: water: GL_ARB_fragment_program is missing
points to an OpenGL extension that your card cannot use. Simply switch off the water effect in the Beryl Settings Manager.
source: link
You might find that when you try to start beryl that you get the following:
chris@ubuntu:~$ beryl
**************************************************************
* Beryl system compatiblity check *
**************************************************************
Detected xserver : XGL
Checking Display localhost:1.0 ...
Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed
beryl: GLX_EXT_texture_from_pixmap is missing
beryl: Using non-tfp mode
beryl: GLX_SGIX_fbconfig is missing
beryl: Failed to manage screen: 0
beryl: No manageable screens found on display localhost:1.0
I fixed this by creating the following shell script in /usr/local/bin/start-beryl and adding it to the startup programs in Gnome.
#!/bin/bash
LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa /usr/bin/beryl &
gtk-window-decorator --replace &
xmodmap -e \"keycode 22 = BackSpace Delete\"
Many thanks to Michele Campeotto, who discovered this workaround for compwiz. From Michele's page:
"the problem is that ATI hasn’t yet released a driver with that new extension that Novell and Nvidia developed specifically for Xgl and compiz.
The extension is implemented by Mesa though, so we need get compiz to use that. The problem is that when you install the fglrx driver it overwrites /usr/lib/libGL.so.1.2 with its own version wich lacks this feature."
No Nvidia Video cards have 3D acceleration enabled automatically with Ubuntu, because the manufacturer does not release open source drivers. However, it is possible to activate 3D acceleration. The process depends on which type of video card you have.
If you have an older TNT, TNT2, TNT Ultra, GeForce1 or GeForce2 card, install the nvidia-glx-legacy and nvidia-settings packages from the Restricted repository (see Chapter 2, Adding, Removing and Updating Applications).
Alternatively, if you have a newer card, install the nvidia-glx package from the Restricted repository (see Chapter 2, Adding, Removing and Updating Applications).
To enable the new driver, run the following command in a terminal:
sudo nvidia-glx-config enable
You may adjust the settings of the new drivers by running the application nvidia-settings (see the section called “Start a Program Manually”). If you wish, add a menu entry for this program (see the section called “Menu Editing”).
Many ATI video cards work well with Ubuntu automatically. To check that 3d acceleration works with your card, see the section called “Introduction to 3D Video Acceleration”. If it does not work, this procedure should activate it.
Install the xorg-driver-fglrx package from the Restricted repository (see Chapter 2, Adding, Removing and Updating Applications).
You now need to configure the computer to use the new driver so run this command in a terminal:
sudo dpkg-reconfigure xserver-xorg
When the dialogue appears and asks whether to do automatic detection of your video, pick Yes .
When asked to select a driver, pick fglrx .
Follow the remaining instructions as appropriate.
Restart your machine for changes to take effect.
Install sun-java5-jdk from the “Multiverse” repository (see Add Applications). You will need to use Synaptic Package Manager to install these packages.
Read the Java license presented. You must accept it to continue.
To get your system to use Sun Java instead of the open-source (but less functional) GIJ that is installed by default, run:
sudo update-alternatives --config java
and choose the option that has j2re1.5-sun
in it.
Java 1.6 is also available, and can be installed by following the above directions, swapping all instances of 1.5 to 1.6
It is very likely that you will not want to have the Geronimo server process under the super user root. The following are a series of simple steps for changing the ownership and permissions for the required files in order to run Geronimo with a different user.
The following tasks should be performed while logged as root or a user with enough access rights.
You are now able to run and deploy applications with a user other than root.
SubVision安裝配置手冊
1、 相關網站
http://httpd.apache.org/:下載Apache 2.0.59;因為目前subversion推薦采用這個版本,更高版本可能存在一些問題;
http://subversion.tigris.org/:下載subversion 1.4.3;
http://tortoisesvn.tigris.org/:下載tortoisesvn1.4.3;svn客戶端,與windows的資源管理器集成;
http://tortoisesvn.net/translation_status:下載tortoisesvn1.4.3中文語言包
2、 安裝步驟
首先安裝Apache 2.0.59,簡單按提示安裝即可;安裝目錄
其次安裝subversion 1.4.3,簡單按提示安裝即可;
最后安裝tortoisesvn1.4.3,簡單按提示安裝即可;
3、 配置步驟
a. Apache 2.0.59基本上不需要配置
b. subversion 1.4.3:主要配置是修改apache的配置文件httpd.conf主要是增加以下內容:
i. LoadModule dav_svn_module "e:/Program Files/Subversion/bin/mod_dav_svn.so"
ii. LoadModule authz_svn_module "e:/Program Files/Subversion/bin/mod_authz_svn.so"
iii.
iv. <Location /svn>
1. DAV svn
2. SVNListParentPath on
3. SVNParentPath e:\SVN #指定svn版本庫根目錄;在根目錄下創建不同的項目目錄
4. AuthType Basic
5. AuthName "Subversion repositories"
6. AuthUserFile passwd #指定用戶名密碼文件,文件名為passwd;默認目錄為apache安裝目錄“X:\Program Files\Apache Group\Apache2”
7. AuthzSVNAccessFile svnacl.txt #指定訪問控制文件,文件名為svnacl.txt;默認目錄為apache安裝目錄“X:\Program Files\Apache Group\Apache2”
8. Require valid-user
v. </Location>
vi. 訪問控制文件例子svnacl.txt:
1. [groups]
2. #定義不同的用戶組
3. admin = admin
4. devteam1 = admin
5. devteam2 = admin
6.
7. # Default access rule for ALL repositories
8. # Everyone can read, admins can write, Dan German is excluded.
9. [/]
10. * = r
11. @admin = rw
12. dangerman =
13. # Allow developers complete access to their project repos
14. #zyn是一個例子項目project
15. [zyn:/]
16. @devteam1 = rw #表示組devteam1可以讀寫,即check in/out
17. #test是另外一個例子項目project
18. [test:/]
19. @devteam2 = r # rw #表示組devteam2只讀,即check out
c. tortoisesvn1.4.3安裝完成基本上不用配置;詳細使用手冊另行編寫
## Multimedia Codecs
# sudo apt-get install w32codecs
# sudo apt-get install gstreamer0.10-plugins-base
# sudo apt-get install gstreamer0.10-plugins-good
# sudo apt-get install gstreamer0.10-plugins-ugly
# sudo apt-get install gstreamer0.10-plugins-ugly-multiverse
# sudo apt-get install gstreamer0.10-plugins-bad
# sudo apt-get install gstreamer0.10-plugins-bad-multiverse
# sudo apt-get install gstreamer0.10-pitfdll
# sudo apt-get install gstreamer0.10-gl
# sudo apt-get install gstreamer0.10-ffmpeg
# sudo apt-get install vorbis-tools
# sudo apt-get install lame
# sudo apt-get install sox
# sudo apt-get install ffmpeg
# sudo apt-get install mjpegtools
## DVD playback
# sudo apt-get install libdvdcss2
# sudo apt-get install libdvdread3
# sudo apt-get install libdvdplay0
# sudo apt-get install libdvdnav4
# sudo apt-get install totem-xine
# sudo apt-get install libxine-extracodecs
# sudo apt-get install totem-xine-firefox-plugin
# sudo apt-get install vlc
# sudo apt-get install mplayer
安裝 Eclipse WTP 服務器適配器后,您可以使用 Eclipse 框架管理服務器。您可以
注:J2EE 透視圖是使用 Eclipse 框架開發 J2EE 應用程序的首選透視圖。 如果您不在 J2EE 透視圖中,請單擊 Windows,Open Perspective,Other... 在 Select Perspective 面板中,選擇 J2EE,然后單擊 OK,以切換到 J2EE 透視圖。
在可以執行其他操作之前,您必須定義新的 Community Edition 服務器和服務器運行時。 這將標識目標服務器,并將服務器的類庫添加到開發環境中。 您必須執行該任務,即使您希望使用遠程服務器。
如果希望使用遠程服務器,僅需要更改服務器定義中的主機名的值。 打開 Servers 視圖,雙擊已定義的服務器,然后將主機名的值更改為遠程服務器的主機名。保存更改。
要在 J2EE 透視圖中查看服務器狀態,請打開 Servers 視圖。Eclipse WTP 服務器適配器監控服務器的狀態,并相應地設置“已停止”、“正在啟動”和“已啟動”指示符。即使您未使用 Eclipse 啟動或停止服務器,這些信息仍然適用。
通過以下過程,用 Eclipse 啟動服務器的 Web 控制臺。
| |||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
25 | 26 | 27 | 28 | 29 | 30 | 31 | |||
1 | 2 | 3 | 4 | 5 | 6 | 7 | |||
8 | 9 | 10 | 11 | 12 | 13 | 14 | |||
15 | 16 | 17 | 18 | 19 | 20 | 21 | |||
22 | 23 | 24 | 25 | 26 | 27 | 28 | |||
29 | 30 | 1 | 2 | 3 | 4 | 5 |