簡書使用

#簡書使用

##作者:清虛

進(jìn)來看看能否滿足需求,日后或許會(huì)搬過來。

------------------------------------------------------------

About this README

------------------------------------------------------------

This README is intended to provide quick and to-the-point documentation for

technical users intending to compile parts of Guacamole themselves.

Source archives are available from the files section of the main project page:

http://sourceforge.net/projects/guacamole/files/

A full manual is provided on the Guacamole web site:

http://guac-dev.org/

------------------------------------------------------------

What is guacamole-server?

------------------------------------------------------------

The guacamole-server package is a set of software which forms the basis of the

Guacamole stack. It consists of guacd, libguac, and several protocol support

libraries.

guacd is the Guacamole proxy daemon used by the Guacamole web application and

framework. As JavaScript cannot handle binary protocols (like VNC and remote

desktop) efficiently, a new test-based protocol was developed which would

contain a common superset of the operations needed for efficient remote desktop

access, but would be easy for JavaScript programs to process. guacd is the

proxy which translates between arbitrary protocols and the Guacamole protocol.

------------------------------------------------------------

Compiling and installing guacd, libguac, etc.

------------------------------------------------------------

All software within guacamole-server is built using the popular GNU Automake,

and thus provides the standard configure script. Before compiling, you need to

have compiled and installed libguac, the core Guacamole library. This is

available from the main Guacamole site at http://guac-dev.org/.

1) Run configure

$ ./configure

Assuming all dependencies have been installed, this should succeed without

errors. If you wish to install the init script as well, you need to specify

the location where your system init scripts are located (typically

/etc/init.d):

$ ./configure --with-init-dir=/etc/init.d

Running configure in this manner will cause the "make install" step to

install an init script to the specified directory, which you can then

activate using the service management mechanism provided by your

distribution).

2) Run make

$ make

guacd, libguac, and any available protocol support libraries will now

compile.

3) Install (as root)

# make install

All software that was just built, including documentation, will be

installed.

guacd will install to your /usr/local/sbin directory by default. You can

change the install location by using the --prefix option for configure.

------------------------------------------------------------

Running guacd

------------------------------------------------------------

If you installed the init script during compile and install, you should be

able to start guacd through the service management utilities provided by

your distribution (if any) or by running the init script directly (as root):

# /etc/init.d/guacd start

Root access is needed to write the pidfile /var/run/guacd.pid. You can also run

guacd itself directly without the init script (as any user):

$ guacd

guacd currently takes several command-line options:

-b HOST

Changes the host or address that guacd listens on.

-l PORT

Changes the port that guacd listens on (the default is port 4822).

-p PIDFILE

Causes guacd to write the PID of the daemon process to the specified

file. This is useful for init scripts and is used by the provided init

script.

-L LEVEL

Sets the maximum level at which guacd will log messages to syslog and,

if running in the foreground, the console.? Legal values are debug,

info, warning, and error.? The default value is info.

-f

Causes guacd to run in the foreground, rather than automatically

forking into the background.

Additional information can be found in the guacd man page:

$ man guacd

------------------------------------------------------------

Reporting problems

------------------------------------------------------------

Please report any bugs encountered by opening a new issue in the JIRA system

hosted at:

http://glyptodon.org/jira/

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容