update
This commit is contained in:
parent
f77dad143c
commit
9898e3aa60
19
Readme.md
19
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
|
||||
|
||||
|
||||
|
|
|
|||
7
setup.sh
7
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue