This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docpublic:systemes:remotelabsguacamole [2020/06/15 10:38] procacci@tem-tsp.eu created |
docpublic:systemes:remotelabsguacamole [2020/06/18 15:25] (current) procacci@tem-tsp.eu [packages repositories] |
||
---|---|---|---|
Line 6: | Line 6: | ||
* https:// | * https:// | ||
+ | |||
+ | ==== environement ==== | ||
+ | |||
+ | installation faite en centos 8 et tomcat 9 (tar.gz dans / | ||
==== packages repositories ==== | ==== packages repositories ==== | ||
Line 18: | Line 22: | ||
< | < | ||
[root@rlab ~]# dnf install --nogpgcheck https:// | [root@rlab ~]# dnf install --nogpgcheck https:// | ||
- | [root@rlabw ~]# yum install dnf-plugins-core | + | [root@rlab ~]# yum install dnf-plugins-core |
- | [root@rlabw ~]# dnf config-manager --enable PowerTools | + | [root@rlab ~]# dnf config-manager --enable PowerTools |
</ | </ | ||
Line 251: | Line 255: | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== guacamole ===== | ||
+ | |||
+ | ==== sources ==== | ||
+ | |||
+ | < | ||
+ | [root@rlab opt]# wget https:// | ||
+ | [root@rlab opt]# tar -xzf guacamole-server-1.1.0.tar.gz | ||
+ | [root@rlab opt]# cd guacamole-server-1.1.0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== configure ==== | ||
+ | |||
+ | < | ||
+ | [root@rlab guacamole-server-1.1.0]# | ||
+ | checking for a BSD-compatible install... / | ||
+ | checking whether build environment is sane... yes | ||
+ | checking for a thread-safe mkdir -p... / | ||
+ | checking for gawk... gawk | ||
+ | checking whether make sets $(MAKE)... yes | ||
+ | checking whether make supports nested variables... yes | ||
+ | checking whether make supports nested variables... (cached) yes | ||
+ | checking build system type... x86_64-pc-linux-gnu | ||
+ | checking host system type... x86_64-pc-linux-gnu | ||
+ | checking how to print strings... printf | ||
+ | checking for style of include used by make... GNU | ||
+ | checking for gcc... gcc | ||
+ | checking whether the C compiler works... yes | ||
+ | checking for C compiler default output file name... a.out | ||
+ | checking for suffix of executables... | ||
+ | checking whether we are cross compiling... no | ||
+ | checking for suffix of object files... o | ||
+ | checking whether we are using the GNU C compiler... yes | ||
+ | checking whether gcc accepts -g... yes | ||
+ | checking for gcc option to accept ISO C89... none needed | ||
+ | checking whether gcc understands -c and -o together... yes | ||
+ | checking dependency style of gcc... gcc3 | ||
+ | checking for a sed that does not truncate output... / | ||
+ | checking for grep that handles long lines and -e... / | ||
+ | checking for egrep... / | ||
+ | checking for fgrep... / | ||
+ | checking for ld used by gcc... /usr/bin/ld | ||
+ | checking if the linker (/ | ||
+ | checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B | ||
+ | checking the name lister (/ | ||
+ | checking whether ln -s works... yes | ||
+ | checking the maximum length of command line arguments... 1572864 | ||
+ | checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop | ||
+ | checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop | ||
+ | checking for /usr/bin/ld option to reload object files... -r | ||
+ | checking for objdump... objdump | ||
+ | checking how to recognize dependent libraries... pass_all | ||
+ | checking for dlltool... no | ||
+ | checking how to associate runtime and link libraries... printf %s\n | ||
+ | checking for ar... ar | ||
+ | checking for archiver @FILE support... @ | ||
+ | checking for strip... strip | ||
+ | checking for ranlib... ranlib | ||
+ | checking command to parse /usr/bin/nm -B output from gcc object... ok | ||
+ | checking for sysroot... no | ||
+ | checking for a working dd... /usr/bin/dd | ||
+ | checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 | ||
+ | checking for mt... no | ||
+ | checking if : is a manifest tool... no | ||
+ | checking how to run the C preprocessor... gcc -E | ||
+ | checking for ANSI C header files... yes | ||
+ | checking for sys/ | ||
+ | checking for sys/ | ||
+ | checking for stdlib.h... yes | ||
+ | checking for string.h... yes | ||
+ | checking for memory.h... yes | ||
+ | checking for strings.h... yes | ||
+ | checking for inttypes.h... yes | ||
+ | checking for stdint.h... yes | ||
+ | checking for unistd.h... yes | ||
+ | checking for dlfcn.h... yes | ||
+ | checking for objdir... .libs | ||
+ | checking if gcc supports -fno-rtti -fno-exceptions... no | ||
+ | checking for gcc option to produce PIC... -fPIC -DPIC | ||
+ | checking if gcc PIC flag -fPIC -DPIC works... yes | ||
+ | checking if gcc static flag -static works... no | ||
+ | checking if gcc supports -c -o file.o... yes | ||
+ | checking if gcc supports -c -o file.o... (cached) yes | ||
+ | checking whether the gcc linker (/ | ||
+ | checking whether -lc should be explicitly linked in... no | ||
+ | checking dynamic linker characteristics... GNU/Linux ld.so | ||
+ | checking how to hardcode library paths into programs... immediate | ||
+ | checking for shl_load... no | ||
+ | checking for shl_load in -ldld... no | ||
+ | checking for dlopen... no | ||
+ | checking for dlopen in -ldl... yes | ||
+ | checking whether a program can dlopen itself... yes | ||
+ | checking whether a statically linked program can dlopen itself... yes | ||
+ | checking whether stripping libraries is possible... yes | ||
+ | checking if libtool supports shared libraries... yes | ||
+ | checking whether to build shared libraries... yes | ||
+ | checking whether to build static libraries... yes | ||
+ | checking for gcc... (cached) gcc | ||
+ | checking whether we are using the GNU C compiler... (cached) yes | ||
+ | checking whether gcc accepts -g... (cached) yes | ||
+ | checking for gcc option to accept ISO C89... (cached) none needed | ||
+ | checking whether gcc understands -c and -o together... (cached) yes | ||
+ | checking dependency style of gcc... (cached) gcc3 | ||
+ | checking for gcc option to accept ISO C99... none needed | ||
+ | checking fcntl.h usability... yes | ||
+ | checking fcntl.h presence... yes | ||
+ | checking for fcntl.h... yes | ||
+ | checking for stdlib.h... (cached) yes | ||
+ | checking for string.h... (cached) yes | ||
+ | checking sys/ | ||
+ | checking sys/ | ||
+ | checking for sys/ | ||
+ | checking time.h usability... yes | ||
+ | checking time.h presence... yes | ||
+ | checking for time.h... yes | ||
+ | checking sys/time.h usability... yes | ||
+ | checking sys/time.h presence... yes | ||
+ | checking for sys/ | ||
+ | checking syslog.h usability... yes | ||
+ | checking syslog.h presence... yes | ||
+ | checking for syslog.h... yes | ||
+ | checking for unistd.h... (cached) yes | ||
+ | checking cairo/ | ||
+ | checking cairo/ | ||
+ | checking for cairo/ | ||
+ | checking pngstruct.h usability... no | ||
+ | checking pngstruct.h presence... no | ||
+ | checking for pngstruct.h... no | ||
+ | checking for cos in -lm... yes | ||
+ | checking for png_write_png in -lpng... yes | ||
+ | checking for jpeg_start_compress in -ljpeg... yes | ||
+ | checking for cairo_create in -lcairo... yes | ||
+ | checking for pthread_create in -lpthread... yes | ||
+ | checking for dlopen in -ldl... (cached) yes | ||
+ | checking for uuid_make in -lossp-uuid... yes | ||
+ | checking ossp/uuid.h usability... no | ||
+ | checking ossp/uuid.h presence... no | ||
+ | checking for ossp/ | ||
+ | checking whether uuid_make is declared... yes | ||
+ | checking for CU_run_test in -lcunit... no | ||
+ | checking for clock_gettime... yes | ||
+ | checking for gettimeofday... yes | ||
+ | checking for memmove... yes | ||
+ | checking for memset... yes | ||
+ | checking for select... yes | ||
+ | checking for strdup... yes | ||
+ | checking for nanosleep... yes | ||
+ | checking whether png_get_io_ptr is declared... yes | ||
+ | checking whether cairo_format_stride_for_width is declared... yes | ||
+ | checking whether poll is declared... yes | ||
+ | checking whether strlcpy is declared... no | ||
+ | checking whether strlcat is declared... no | ||
+ | checking for size_t... yes | ||
+ | checking for ssize_t... yes | ||
+ | checking for pkg-config... / | ||
+ | checking pkg-config is at least version 0.9.0... yes | ||
+ | checking for AVCODEC... yes | ||
+ | checking for AVUTIL... yes | ||
+ | checking for SWSCALE... yes | ||
+ | checking openssl/ | ||
+ | checking openssl/ | ||
+ | checking for openssl/ | ||
+ | checking for SSL_CTX_new in -lssl... yes | ||
+ | checking whether DSA_SIG_get0 is declared... yes | ||
+ | checking whether DSA_get0_pqg is declared... yes | ||
+ | checking whether DSA_get0_key is declared... yes | ||
+ | checking whether RSA_get0_key is declared... yes | ||
+ | checking whether libssl requires threading callbacks... no | ||
+ | checking for main in -lwsock32... no | ||
+ | checking vorbis/ | ||
+ | checking vorbis/ | ||
+ | checking for vorbis/ | ||
+ | checking for ogg_stream_init in -logg... yes | ||
+ | checking for vorbis_block_init in -lvorbis... yes | ||
+ | checking for vorbis_encode_init in -lvorbisenc... yes | ||
+ | checking for pa_context_new in -lpulse... yes | ||
+ | checking for PANGO... yes | ||
+ | checking for PANGOCAIRO... yes | ||
+ | checking for rfbInitClient in -lvncclient... yes | ||
+ | checking for rfbClient.destHost... yes | ||
+ | checking for rfbClient.destPort... yes | ||
+ | checking whether listenForIncomingConnectionsNoFork is declared... yes | ||
+ | checking for RDP... yes | ||
+ | checking whether FreeRDPConvertColor is declared... yes | ||
+ | checking whether Bitmap_Free() frees the rdpBitmap and its image data... no | ||
+ | checking whether rdpGlyph callbacks accept INT32 integer parameters... yes | ||
+ | checking whether CLIPRDR callbacks require const for their final parameter... no | ||
+ | checking whether RAIL callbacks require const for their final parameter... yes | ||
+ | checking for libssh2_session_init_ex in -lssh2... yes | ||
+ | checking for gcry_control in -lssh2... no | ||
+ | checking for telnet_init in -ltelnet... no | ||
+ | checking webp/ | ||
+ | checking webp/ | ||
+ | checking for webp/ | ||
+ | checking for WebPEncode in -lwebp... yes | ||
+ | checking for lws_create_context in -lwebsockets... yes | ||
+ | checking whether LWS_CALLBACK_CLIENT_CLOSED is declared... yes | ||
+ | checking whether LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT is declared... yes | ||
+ | checking whether LCCSCF_USE_SSL is declared... yes | ||
+ | checking whether lws_callback_http_dummy is declared... yes | ||
+ | checking that generated files are newer than configure... done | ||
+ | configure: creating ./ | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | config.status: | ||
+ | |||
+ | ------------------------------------------------ | ||
+ | guacamole-server version 1.1.0 | ||
+ | ------------------------------------------------ | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | pango ............... yes | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | Kubernetes .... yes | ||
+ | RDP ........... yes | ||
+ | SSH ........... yes | ||
+ | Telnet ........ no | ||
+ | VNC ........... yes | ||
+ | |||
+ | | ||
+ | |||
+ | guacd ...... yes | ||
+ | guacenc .... yes | ||
+ | guaclog .... yes | ||
+ | |||
+ | | ||
+ | Init scripts: /etc/init.d | ||
+ | | ||
+ | |||
+ | Type " | ||
+ | </ | ||
+ | |||
+ | ==== build ==== | ||
+ | |||
+ | < | ||
+ | [root@rlab guacamole-server-1.1.0]# | ||
+ | make all-recursive | ||
+ | make[1] : on entre dans le répertoire « / | ||
+ | Making all in src/libguac | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | Making all in . | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | Making all in tests | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | make[3]: rien à faire pour « all ». | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/common | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | Making all in . | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | Making all in tests | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | make[3]: rien à faire pour « all ». | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/ | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | Making all in . | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | Making all in tests | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | make[3]: rien à faire pour « all ». | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/ | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/pulse | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CCLD | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/ | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/ | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | GEN _generated_channel_entry_wrappers.c | ||
+ | GEN _generated_keymaps.c | ||
+ | Added: base | ||
+ | Added: failsafe | ||
+ | Added: de-de-qwertz | ||
+ | Added: de-ch-qwertz | ||
+ | Added: en-gb-qwerty | ||
+ | Added: en-us-qwerty | ||
+ | Added: es-es-qwerty | ||
+ | Added: fr-fr-azerty | ||
+ | Added: fr-ch-qwertz | ||
+ | Added: it-it-qwerty | ||
+ | Added: ja-jp-qwerty | ||
+ | Added: pt-br-qwerty | ||
+ | Added: sv-se-qwerty | ||
+ | Added: da-dk-qwerty | ||
+ | Added: tr-tr-qwerty | ||
+ | make all-recursive | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | Making all in . | ||
+ | make[4] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CCLD | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[4] : on quitte le répertoire « / | ||
+ | Making all in tests | ||
+ | make[4] : on entre dans le répertoire « / | ||
+ | make[4]: rien à faire pour « all ». | ||
+ | make[4] : on quitte le répertoire « / | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/ | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/ | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/guacd | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD guacd | ||
+ | sed -e ' | ||
+ | chmod +x init.d/ | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/guacenc | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | Making all in src/guaclog | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CC | ||
+ | CCLD | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | make[1] : on quitte le répertoire « / | ||
+ | </ | ||
+ | |||
+ | ==== make install ==== | ||
+ | |||
+ | < | ||
+ | [root@rlab guacamole-server-1.1.0]# | ||
+ | Making install in src/libguac | ||
+ | make[1] : on entre dans le répertoire « / | ||
+ | Making install in . | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | make[3] : on entre dans le répertoire « / | ||
+ | / | ||
+ | / | ||
+ | libtool: install: / | ||
+ | libtool: install: (cd / | ||
+ | libtool: install: (cd / | ||
+ | libtool: install: / | ||
+ | libtool: install: / | ||
+ | libtool: install: chmod 644 / | ||
+ | libtool: install: ranlib / | ||
+ | libtool: finish: PATH="/ | ||
+ | ---------------------------------------------------------------------- | ||
+ | Libraries have been installed in: | ||
+ | / | ||
+ | If you ever happen to want to link against installed libraries | ||
+ | in a given directory, LIBDIR, you must either use libtool, and | ||
+ | specify the full pathname of the library, or use the ' | ||
+ | flag during linking and do at least one of the following: | ||
+ | - add LIBDIR to the ' | ||
+ | | ||
+ | - add LIBDIR to the ' | ||
+ | | ||
+ | - use the ' | ||
+ | - have your system administrator add LIBDIR to '/ | ||
+ | |||
+ | See any operating system documentation about shared libraries for | ||
+ | more information, | ||
+ | ---------------------------------------------------------------------- | ||
+ | / | ||
+ | / | ||
+ | make[3] : on quitte le répertoire « / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | ... | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | / | ||
+ | / | ||
+ | libtool: warning: relinking ' | ||
+ | ... | ||
+ | make[4] : on entre dans le répertoire « / | ||
+ | / | ||
+ | / | ||
+ | libtool: warning: relinking ' | ||
+ | ... | ||
+ | / | ||
+ | / | ||
+ | libtool: warning: relinking ' | ||
+ | libtool: install: (cd / | ||
+ | libtool: install: / | ||
+ | libtool: install: / | ||
+ | libtool: warning: relinking ' | ||
+ | libtool: install: (cd / | ||
+ | libtool: install: / | ||
+ | libtool: install: / | ||
+ | libtool: finish: PATH="/ | ||
+ | ---------------------------------------------------------------------- | ||
+ | Libraries have been installed in: | ||
+ | / | ||
+ | ... | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | / | ||
+ | / | ||
+ | libtool: warning: relinking ' | ||
+ | ... | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | / | ||
+ | / | ||
+ | libtool: warning: relinking ' | ||
+ | ... | ||
+ | / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | make[1] : on quitte le répertoire « / | ||
+ | Making install in src/guacenc | ||
+ | make[1] : on entre dans le répertoire « / | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | / | ||
+ | /bin/sh ../ | ||
+ | libtool: install: / | ||
+ | / | ||
+ | / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | make[1] : on quitte le répertoire « / | ||
+ | Making install in src/guaclog | ||
+ | make[1] : on entre dans le répertoire « / | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | / | ||
+ | /bin/sh ../ | ||
+ | libtool: install: / | ||
+ | / | ||
+ | / | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | make[1] : on quitte le répertoire « / | ||
+ | make[1] : on entre dans le répertoire « / | ||
+ | make[2] : on entre dans le répertoire « / | ||
+ | make[2]: rien à faire pour « install-exec-am ». | ||
+ | make[2]: rien à faire pour « install-data-am ». | ||
+ | make[2] : on quitte le répertoire « / | ||
+ | make[1] : on quitte le répertoire « / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [root@rlab guacamole-server-1.1.0]# | ||
+ | [root@rlab ~]# | ||
+ | </ | ||
+ | |||
+ | ==== webapp tomcat ==== | ||
+ | |||
+ | recuperation de Guacamole Web Application (.war) a mettre dans l' | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# wget https:// | ||
+ | [root@rlab ~]# cp guacamole-1.1.0.war / | ||
+ | [root@rlab ~]# ls / | ||
+ | docs examples | ||
+ | </ | ||
+ | |||
+ | ==== guacd ==== | ||
+ | |||
+ | demarer (manuellement pour l' | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# / | ||
+ | Starting guacd: guacd[27813]: | ||
+ | SUCCESS | ||
+ | [root@rlab ~]# / | ||
+ | guacd is running with PID=27815. | ||
+ | |||
+ | [root@rlab ~]# ps auwx |grep guacd | ||
+ | root | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== reverse-proxy ==== | ||
+ | |||
+ | le support de proxy-ajp n'est pas compatible avec les websocket guacamole (force un retour a http) et apache 2.4.3 ne support pas la method HTTP PATCH ce qui rend inoperant l' | ||
+ | |||
+ | avant tout s' | ||
+ | |||
+ | < | ||
+ | [root@rlab conf]# vim / | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | === remote IP === | ||
+ | |||
+ | par defaut quand tomcat est derriere un proxy , il voit les requetes clientes venir de l'IP du proxy, in convient pour les logs et potentiels controles d' | ||
+ | |||
+ | < | ||
+ | [root@rlab conf]# vim / | ||
+ | |||
+ | < | ||
+ | Configuring Tomcat to pass through the remote IP address provided by the reverse proxy in the X-Forwarded-For header | ||
+ | requires the configuration of what Tomcat calls a Valve. | ||
+ | In this case, it is the RemoteIpValve and is configured in the conf/ | ||
+ | --> | ||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | === apache proxy === | ||
+ | |||
+ | les directives ProxyPass et ProxyPassReverse fournis par le mod_proxy assure le lien de proxy entre apache et tomcat | ||
+ | |||
+ | < | ||
+ | [root@rlab conf.d]# vim / | ||
+ | |||
+ | # | ||
+ | < | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | ProxyPass http:// | ||
+ | ProxyPassReverse http:// | ||
+ | ProxyPassReverseCookiePath / | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === apache log === | ||
+ | |||
+ | il est inutile de loger toutes les requetes http de courte durée du aux steams dans le http-tunnel (si pas de websockets) | ||
+ | |||
+ | < | ||
+ | [root@rlab conf.d]# vim / | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | SetEnvIf Request_URI " | ||
+ | CustomLog | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== database ==== | ||
+ | |||
+ | afin de permettre a plusieurs utilisateurs de se conencter et enregistrer des preferences il convient de definir une database | ||
+ | |||
+ | === arborescence extension === | ||
+ | |||
+ | la database ou autre modules d' | ||
+ | |||
+ | < | ||
+ | [root@rlab etc]# mkdir -p / | ||
+ | </ | ||
+ | |||
+ | === modules === | ||
+ | |||
+ | recuperation et deploiement des modules pour la database | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# wget https:// | ||
+ | [root@rlab ~]# yum install mysql-connector-java-8.0.20-1.el8.noarch.rpm | ||
+ | [root@rlab ~]# cp / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# wget https:// | ||
+ | [root@rlab ~]# tar xvfz guacamole-auth-jdbc-1.1.0.tar.gz ^C | ||
+ | [root@rlab ~]# cp guacamole-auth-jdbc-1.1.0/ | ||
+ | </ | ||
+ | |||
+ | ==== mariaDB ==== | ||
+ | |||
+ | apres installation de mariadb-server , on va le securiser | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# systemctl start mariadb.service | ||
+ | [root@rlab ~]# mysql_secure_installation | ||
+ | Set root password? [Y/n] Y | ||
+ | New password: | ||
+ | Re-enter new password: Secret Pa U g... S.. ip5 d Da | ||
+ | Password updated successfully! | ||
+ | Reloading privilege tables.. | ||
+ | ... Success! | ||
+ | Remove anonymous users? [Y/n] y | ||
+ | ... Success! | ||
+ | Normally, root should only be allowed to connect from ' | ||
+ | ensures that someone cannot guess at the root password from the network. | ||
+ | Disallow root login remotely? [Y/n] y | ||
+ | ... Success! | ||
+ | Remove test database and access to it? [Y/n] y | ||
+ | - Dropping test database... | ||
+ | ... Success! | ||
+ | - Removing privileges on test database... | ||
+ | ... Success! | ||
+ | Reload privilege tables now? [Y/n] y | ||
+ | Thanks for using MariaDB! | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# mysql -u root -p | ||
+ | |||
+ | MariaDB [(none)]> | ||
+ | Query OK, 1 row affected (0.000 sec) | ||
+ | MariaDB [(none)]> | ||
+ | Query OK, 0 rows affected (0.000 sec) | ||
+ | MariaDB [(none)]> | ||
+ | Query OK, 0 rows affected (0.000 sec) | ||
+ | MariaDB [(none)]> | ||
+ | </ | ||
+ | |||
+ | creation des table et user : | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# cat / | ||
+ | [root@rlab ~]# cat / | ||
+ | </ | ||
+ | |||
+ | === configuration / properties === | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# mkdir -p / | ||
+ | [root@rlab ~]# cat / | ||
+ | # MySQL properties | ||
+ | mysql-hostname: | ||
+ | mysql-port: 3306 | ||
+ | mysql-database: | ||
+ | mysql-username: | ||
+ | mysql-password: | ||
+ | #Additional settings | ||
+ | mysql-default-max-connections-per-user: | ||
+ | mysql-default-max-group-connections-per-user: | ||
+ | </ | ||
+ | |||
+ | === permissions === | ||
+ | |||
+ | < | ||
+ | [root@rlab ~]# chmod 0400 / | ||
+ | [root@rlab ~]# chown tomcat: | ||
+ | [root@rlab ~]# ln -s / | ||
+ | |||
+ | [root@rlab ~]# chown tomcat: | ||
+ | </ | ||
+ | |||
+ | ==== GUACAMOLE_HOME ==== | ||
+ | |||
+ | Tres imprtant pour la configurations des plugins/ | ||
+ | |||
+ | comme ci-dessus nus avons definit les propriété dans / | ||
+ | |||
+ | cf https:// | ||
+ | |||
+ | |||
+ | < | ||
+ | [root@rlab / | ||
+ | </ | ||
+ | |||
+ | Apres redemarrage de tomcat , on peut enfin se connecter avec la compte guacadmin (cf fichier d' | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | |||
+ |