From 9898e3aa6072a9bbc6646cbf09b6cebbe7185b1d Mon Sep 17 00:00:00 2001 From: Devdatt Bhatt Date: Thu, 4 Jun 2026 09:31:28 +0000 Subject: [PATCH] update --- Readme.md | 19 +++++++++++-------- setup.sh | 7 ++++++- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/Readme.md b/Readme.md index 13242ca..f23f7a1 100755 --- a/Readme.md +++ b/Readme.md @@ -10,18 +10,21 @@ Instalation Install Ubuntu server 24.04 and run following commands as root -cd /tmp -apt install git -y -cd /tmp -git clone --depth 1 https://git.dbhatt.org/hw_partner/urmic_digital_encoder_decoder.git -cd urmic_digital_encoder_decoder -chmod +x install.sh -./install.sh +cd /tmp; +apt install git -y; +cd /tmp; +git clone --depth 1 https://git.dbhatt.org/hw_partner/urmi_downloader_converter.git; +cd urmi_downloader_converter; +chmod +x install.sh; +./install.sh; after reboot visit http://IP -default Username :- shreebhattji + +default Username :- shreebhattji default password :- foreverstreamingpartner + + Under Licence https://github.com/shreebhattji/Urmi diff --git a/setup.sh b/setup.sh index 24a86b0..0eb1454 100755 --- a/setup.sh +++ b/setup.sh @@ -2,15 +2,20 @@ apt updtae; apt upgrade -y; apt install php ffmpeg apache2 samba -y +rm -rf /var/www/html/* mkdir -p /var/www/download /var/www/downloader /var/www/download/queue /var/www/download/ready cp -r downloader/* /var/www/downloader - +# Create system user if it doesn't exist +sudo useradd -m -s /bin/bash shreebhattji sudo smbpasswd -a shreebhattji echo "foreverstreamingpartner" | sudo smbpasswd -s -a shreebhattji sudo chmod 755 /var/www/download +# Add shreebhattji to www-data group to avoid read/write conflicts +sudo usermod -a -G www-data shreebhattji + sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup cat << EOF | sudo tee -a /etc/samba/smb.conf