Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute Bash Shell Online

# Hello World Program in Bash Shell

#!/bin/sh
echo "------ Router INFO ------"
curl https://ip.jsontest.com/
echo "------ Statica Configuration -------"
export STATICA_URL="socks5://statica4166:[email protected]:1080"
export STATICA_MASK="35.185.59.164/32"

chmod 600 tools/database/client-key.pem
chmod +x tools/statica/bin/statica

echo "------ Create database tables ------"
tools/statica/bin/statica python manage.py migrate --noinput

echo "------ create default admin user ------"
echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', '[email protected]', 'Password#105')" | tools/statica/bin/statica python manage.py shell

echo "------ starting Celery  ------"
tools/statica/bin/statica python manage.py celeryd -B -f celeryd-$(date +%y)-$(date +%m)-$(date +%d).log &

echo "------ starting gunicorn  ------"
tools/statica/bin/statica bash -c "gunicorn ilhaus.wsgi --workers 2"

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.