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
|
Install Ubuntu server 24.04 and run following commands as root
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp;
|
||||||
apt install git -y
|
apt install git -y;
|
||||||
cd /tmp
|
cd /tmp;
|
||||||
git clone --depth 1 https://git.dbhatt.org/hw_partner/urmic_digital_encoder_decoder.git
|
git clone --depth 1 https://git.dbhatt.org/hw_partner/urmi_downloader_converter.git;
|
||||||
cd urmic_digital_encoder_decoder
|
cd urmi_downloader_converter;
|
||||||
chmod +x install.sh
|
chmod +x install.sh;
|
||||||
./install.sh
|
./install.sh;
|
||||||
|
|
||||||
after reboot visit http://IP
|
after reboot visit http://IP
|
||||||
default Username :- shreebhattji
|
|
||||||
|
default Username :- shreebhattji
|
||||||
default password :- foreverstreamingpartner
|
default password :- foreverstreamingpartner
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Under Licence https://github.com/shreebhattji/Urmi
|
Under Licence https://github.com/shreebhattji/Urmi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
7
setup.sh
7
setup.sh
|
|
@ -2,15 +2,20 @@ apt updtae;
|
||||||
apt upgrade -y;
|
apt upgrade -y;
|
||||||
apt install php ffmpeg apache2 samba -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
|
mkdir -p /var/www/download /var/www/downloader /var/www/download/queue /var/www/download/ready
|
||||||
|
|
||||||
cp -r downloader/* /var/www/downloader
|
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
|
sudo smbpasswd -a shreebhattji
|
||||||
echo "foreverstreamingpartner" | sudo smbpasswd -s -a shreebhattji
|
echo "foreverstreamingpartner" | sudo smbpasswd -s -a shreebhattji
|
||||||
sudo chmod 755 /var/www/download
|
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
|
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
|
||||||
|
|
||||||
cat << EOF | sudo tee -a /etc/samba/smb.conf
|
cat << EOF | sudo tee -a /etc/samba/smb.conf
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue