|
@@ -46,8 +46,12 @@ sudo apt install -yq predict \ |
|
|
nginx \ |
|
|
nginx \ |
|
|
libncurses5-dev \ |
|
|
libncurses5-dev \ |
|
|
libncursesw5-dev \ |
|
|
libncursesw5-dev \ |
|
|
python3-pip |
|
|
|
|
|
sudo pip3 install numpy |
|
|
|
|
|
|
|
|
python3-pip \ |
|
|
|
|
|
imagemagick \ |
|
|
|
|
|
libxft-dev \ |
|
|
|
|
|
libxft2 |
|
|
|
|
|
|
|
|
|
|
|
sudo pip3 install numpy ephem tweepy |
|
|
log_done "Packages installed" |
|
|
log_done "Packages installed" |
|
|
|
|
|
|
|
|
### Blacklist DVB modules |
|
|
### Blacklist DVB modules |
|
@@ -147,6 +151,9 @@ sudo cp nginx.cfg /etc/nginx/sites-enabled/default |
|
|
sudo chmod 775 /var/www/wx |
|
|
sudo chmod 775 /var/www/wx |
|
|
) |
|
|
) |
|
|
sudo systemctl restart nginx |
|
|
sudo systemctl restart nginx |
|
|
|
|
|
if [ ! -e /var/www/wx/index.html ]; then |
|
|
|
|
|
cp index.html /var/www/wx/index.html |
|
|
|
|
|
fi |
|
|
cp index.html /var/www/wx/index.html |
|
|
cp index.html /var/www/wx/index.html |
|
|
log_done "Nginx configured" |
|
|
log_done "Nginx configured" |
|
|
|
|
|
|
|
|