0
edits
Changes
→Как запустить без удаления старой версии
*the first alpha-version
==How to launch without deleting an old version==
Alpha-version can be launched on a server simultaneously with any release version.
For the launching you need to:
* download archive for your OS
* распаковатьunpack архивarchive вin любуюany папкуfolder (например,for вexample, /opt/acestream/engine_new)
* запустить файлlaunch acestreamengine вfile in the unpacked распакованнойfolder папкеwith сa параметромparameter --lib-path /path/to/acestream_libraries. ПримерExample:
<tt>/opt/acestream/engine_new/acestreamengine --lib-path /opt/acestream/engine_new</tt>
Parameter --lib-path sets the path to Ace Stream libraries. By default the path /usr/share/acestream is used. If the release version of the engine is already installed on the server, it will be launched without specifying the parameter --lib-path. To know for sure which version was launched, you can check the version from command line. For example, if version 2.1.6 is already installed, the result without specifying --lib-path will be following:
<tt># /opt/acestream/engine_new/acestreamengine --version
version: 2.1.6 revision: 293</tt>
With specifying --lib-path a new version will be launched:
<tt># /opt/acestream/engine_new/acestreamengine --lib-path /opt/acestream/engine_new --version
version: 3.0.0-a1 revision: 565</tt>
=== ЗапускLaunch наon CentOS ===
On CentOS there are some features of the engine launch.
Standard library openssl on CentOS do not support some necessary for the engine functions. In this regard, together with the engine for CentOS there is a recompiled library openssl and module python-m2crypto, which is superstructure over openssl. These libraries are in the folder usr in archieve with the engine. To use them you have to copy folders "lib64" and "local" from the folder "usr" into appropriate folders in /usr. If the engine of the previous version is installed on the server, these libraries are in your system and there is no need to copy them.
To launch the engine under CentOS script start.sh is used instead of acestreamengine in the folder with the engine.
This script sets an environment variable LD_LIBRARY_PATH=/usr/local/ssl/lib before the engine launch, so the recompiled version of the library openssl was used.
Also this script automatically passes the path to libraries to the engine through the parameter --lib-path, so there is no need to specify it additionally.
==Изменения в параметрах запуска==