Try this one
Oscam for Linux PC
-
- Linux PC
- W@Rp
- Thread is marked as Resolved.
-
-
error:
May 19 13:56:50 ruvds-gibg4 systemd[1]: Stopped OScam instance 1.
May 19 13:56:50 ruvds-gibg4 systemd[1]: Starting OScam instance 1...
May 19 13:56:50 ruvds-gibg4 systemd[1]: oscam1.service: Control process exited,>
May 19 13:56:50 ruvds-gibg4 systemd[1]: oscam1.service: Failed with result 'exi>
May 19 13:56:50 ruvds-gibg4 systemd[1]: Failed to start OScam instance 1.
May 19 13:56:55 ruvds-gibg4 systemd[1]: oscam1.service: Scheduled restart job, >
May 19 13:56:56 ruvds-gibg4 systemd[1]: Stopped OScam instance 1.
May 19 13:56:56 ruvds-gibg4 systemd[1]: Starting OScam instance 1...
-
Are you root user?
Read the read me please and retry.
-
how to use this script, sorry don`t understand, what you mean>>>>are you root user?
-
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
root@ruvds-gibg4:~# cd /root/oscam
root@ruvds-gibg4:~/oscam# chmod -R 0755 install.sh
root@ruvds-gibg4:~/oscam# ./install.sh
-
there are no files in these directories
OScam binary is placed here: /usr/local/bin/oscam{INSTANCE Number}
OScam temp directory: /tmp/.oscam{INSTANCE Number}/
OScam PID is placed here: /var/run/oscam{INSTANCE Number}.pid
OScam log directory: /var/log/oscam/oscam{INSTANCE Number}/
OScam Config directory: /usr/local/etc/oscam{INSTANCE Number}/
OScam Systemd scripts: /etc/systemd/system/oscam{INSTANCE Number}.service
-
This script is the prilly install script mod for git, only need to copy the folder in root or other location give chmod 755 and start the script.
all other you can see in the readme or on screen .
During the compiling need insert the sha of your prefer oscam or HEAD for the latest oscam .
-
where i find folder like root/oscam?
-
-
how use script over ubuntu/linux with simplebuild 3
-
no is stand alone not for simplebuild.
-
sorry dont understand nothig
i build emty folder root_oscam, put all 5 files inside, what i do now?
-
This script is the prilly install script mod for git, only need to copy the folder in root or other location give chmod 755 and start the script.
all other you can see in the readme or on screen .
During the compiling need insert the sha of your prefer oscam or HEAD for the latest oscam .
NOT INSTALLED
-
the readme
################################################################
# Title:.......Automatic install/update OScam #
# Author:......Prilly #
# Support:.....prilly@speedbox.me #
# Date:........06 September 2015 #
# Description:.Automaticaly install OScam with systemd support #
# Updates OScam to latest or specific version #
# GIT Update:..SEPPEL11 16 May 2024 #
################################################################
Automatic install script for Multi instance OScam deployments
it will install 1 to 9 instances of OScam depending on selection
To run this script you need to be root users:
#################################################################
Copy all files in a folder like root/oscam
cd /root/oscam
chmod -R 0755 install.sh
./install.sh
#################################################################
IMPORTANT: Depends on Systemd, SysV is now legacy!
1. It will compile OScam from Streamboard for HEAD or desired GIT version.
both for upgrade and new installations
2. Install script will also install FIRMWARE for HID omnikey usb readers
(if selected) this firmware is downloaded from HID global,
http://www.hidglobal.com/drivers it will also
setup dependency's for smartreader (smargo usb) (if selected)
3. systemd startup script for OScam is also installed, this makes monitoring
and default startup of OScam upon restart of server easy, it also support
status of running OScam deamon.
4. properly set up logging for each instances of oscam /var/log/oscam/oscam[1-9]
5. properly setting up config directory AND install optimized default
config to avoid oscam instances to use same ports /usr/local/etc/oscam[1-9]
6. Install script also contains a upgrade function to upgrade ALL
instances of oscam to desired OR HEAD version ALWAYS use this to
change version of the running oscam binary (ALL instances of oscam
is running same GIT version, its not possible to have different GIT
versions of oscam for different instances)
WHEN RUNNING UPGRADE OPTION NO CONFIG FILES ARE TOUCHED,
THIS PRESERV USER CHANGES IN OSCAM
Info:
################################################################
OScam binary is placed here: /usr/local/bin/oscam{INSTANCE Number}
OScam temp directory: /tmp/.oscam{INSTANCE Number}/
OScam PID is placed here: /var/run/oscam{INSTANCE Number}.pid
OScam log directory: /var/log/oscam/oscam{INSTANCE Number}/
OScam Config directory: /usr/local/etc/oscam{INSTANCE Number}/
OScam Systemd scripts: /etc/systemd/system/oscam{INSTANCE Number}.service
URL: http://your-ip:888(1->9)
Login: root/root
################################################################
To start or stop OScam you can use this commands, or you can use the restart
inside OScam Webif:
################################################################
systemctl start oscam{INSTANCE Number}.service # Start
systemctl stop oscam{INSTANCE Number}.service # Stop
systemctl restart oscam{INSTANCE Number}.service # Restart
systemctl status oscam{INSTANCE Number}.service # Status
################################################################
If you have used this script and want to update to a
later OR SPECIFIC git version of oscam use update selection
This script will prompt you with a menu asking if you want to
update to latest git version of oscam or if you want to update
to a specific version,
if you choose specific enter the git version number and hit enter.
Script will then replace current OScam binary with new one
See header for mail support for this script !
Regards
Prilly
-
i have this too, but dont understand nothing
-
Post by Hannibal_Lecter ().
This post was deleted by the author themselves: double (). -
файл readme
################################################ ##############
# Название:.......Автоматическая установка/обновление OScam #
# Автор:......Прилли #
# Поддержка:.....prilly@speedbox.me #
# Дата:........06 сентября 2015 г. #
# Описание: Автоматическая установка OScam с поддержкой systemd #
# Обновляет OScam до последней или конкретной версии #
# Обновление GIT:..SEPPEL11, 16 мая 2024 г. #
################################################ ##############
Сценарий автоматической установки для многоэкземплярного развертывания OScam
он установит от 1 до 9 экземпляров OScam в зависимости от выбора
Чтобы запустить этот скрипт, вам необходимо быть пользователем root:
################################################ ###############
I do this scenario Oscam suggests installing then readers. at the end it displays the IP message and the Oscam number
in fact, no files are created in the directories
sorry for my bad English
Скопируйте все файлы в папку, например root/oscam.
компакт-диск /root/oscam
chmod -R 0755 install.sh
./install.sh
################################################ ###############
ВАЖНО: Зависит от Systemd, SysV теперь является устаревшим!
1. Он скомпилирует OScam из Streamboard для HEAD или желаемой версии GIT.
как для обновления, так и для новых установок
2. Скрипт установки также установит ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ для USB-считывателей HID omnikey.
(если выбрано) эта прошивка загружается с HID global,
http://www.hidglobal.com/drivers также будет
настроить зависимости для smartreader (smargo usb) (если выбрано)
3. также установлен скрипт запуска systemd для OScam, это делает мониторинг
и простой запуск OScam по умолчанию после перезапуска сервера, он также поддерживает
статус запуска демона OScam.
4. правильно настроить логирование для каждого экземпляра oscam /var/log/oscam/oscam[1-9]
5. правильная настройка каталога конфигурации И установка оптимизированного значения по умолчанию.
config, чтобы экземпляры oscam не использовали одни и те же порты /usr/local/etc/oscam[1-9]
6. Сценарий установки также содержит функцию обновления для обновления ВСЕХ.
экземпляры oscam на желаемую версию ИЛИ HEAD. ВСЕГДА используйте это для
изменить версию работающего двоичного файла oscam (ВСЕ экземпляры oscam
работает одна и та же версия GIT, иметь другой GIT невозможно
версии oscam для разных экземпляров)
ПРИ ЗАПУСКЕ ВАРИАНТА ОБНОВЛЕНИЯ НИКАКИЕ ФАЙЛЫ КОНФИГУРАЦИИ НЕ ИЗМЕНЯЮТСЯ,
ЭТО СОХРАНЯЕТ ПОЛЬЗОВАТЕЛЬСКИЕ ИЗМЕНЕНИЯ В OSCAM
Информация:
################################################ ##############
Бинарный файл OScam находится здесь: /usr/local/bin/oscam{Номер ИНСТАНЦИИ}
Временный каталог OScam: /tmp/.oscam{Номер ИНСТАНЦИИ}/
PID OScam размещается здесь: /var/run/oscam{Номер ИНСТАНЦИИ}.pid
Каталог журналов OScam: /var/log/oscam/oscam{номер ИНСТАНЦИИ}/
Каталог конфигурации OScam: /usr/local/etc/oscam{номер ИНСТАНЦИИ}/
Сценарии OScam Systemd: /etc/systemd/system/oscam{Номер ИНСТАНЦИИ}.service
URL: http://ваш-ip:888 (1->9)
Логин: root/root
################################################ ##############
Чтобы запустить или остановить OScam, вы можете использовать эти команды или перезапустить
внутри OScam Webif:
################################################ ##############
systemctl start oscam{НОМЕР ИНСТАНЦИИ}.service # Старт
systemctl stop oscam{НОМЕР ИНСТАНЦИИ}.service # Остановить
systemctl перезапустить oscam{НОМЕР ИНСТАНЦИИ}.service # Перезапустить
systemctl status oscam{Номер ИНСТАНЦИИ}.service # Статус
################################################ ##############
Если вы использовали этот сценарий и хотите обновить его до
более поздняя ИЛИ КОНКРЕТНАЯ версия git oscam использует выбор обновления
Этот скрипт предложит вам меню с вопросом, хотите ли вы
обновите git до последней версии oscam или если вы хотите обновить
к конкретной версии,
если вы выберете конкретный, введите номер версии git и нажмите Enter.
Затем скрипт заменит текущий двоичный файл OScam на новый.
См. заголовок для почтовой поддержки этого сценария!
С уважением
Прилли
-
I do this scenario Oscam suggests installing then readers. at the end it displays the IP message and the Oscam number
in fact, no files are created in the directories
sorry for my bad English
-
nothing work with this script for me
-
Wich OS you use i try now on ubuntu 22 and all work fine ?
OSCam Support Forum
Configs, discussion, downloads and guides for OSCam Softcam.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!