Search found 702 matches

by Daniel Wee
Wed 30 May 30 2018 10:25 pm
Forum: Other Stuff
Topic: Setting virtual host in apache2
Replies: 1
Views: 42

Re: Setting virtual host in apache2

To allow user access to the /var/www directory, follow instructions here:-

https://ubuntuforums.org/showthread.php?t=919951

sudo chgrp -R www-data /var/www
sudo chmod -R 775 /var/www
sudo chmod -R g+s /var/www
sudo useradd -G www-data daniel

or

sudo usermod -a -G www-data daniel
by Daniel Wee
Wed 30 May 30 2018 9:31 pm
Forum: Other Stuff
Topic: SMBUS and MySQL
Replies: 2
Views: 885

Re: SMBUS and MySQL

For Ubuntu 18.04 you need a special password to log into the system to get things going:- https://stackoverflow.com/questions/33991228/what-is-the-default-root-pasword-for-mysql-5-7/50305285#50305285 Specifically, you need to:- sudo cat /etc/mysql/debian.cnf and then using the user and password prov...
by Daniel Wee
Wed 30 May 30 2018 8:31 pm
Forum: Other Stuff
Topic: Ubuntu network tools
Replies: 0
Views: 15

Ubuntu network tools

sudo apt install ethtool net-tools htop
by Daniel Wee
Mon 07 May 07 2018 1:02 am
Forum: Other Stuff
Topic: Using Dash
Replies: 4
Views: 140

Re: Using Dash

by Daniel Wee
Sun 06 May 06 2018 1:35 am
Forum: Other Stuff
Topic: Using Dash
Replies: 4
Views: 140

Re: Using Dash

Resolution involved:- Setting up mod_wsgi to work:- see files:- See Proxy lines for port 80 and 443 (SSL) /etc/apache2/sites-enabled/default-ssl.conf See how to get apache2 to serve up dash on given port 8050 /etc/apache2/sites-enabled/attendance.conf You'll need to enable this with:- sudo a2ensite ...
by Daniel Wee
Sun 06 May 06 2018 12:58 am
Forum: Other Stuff
Topic: Using Dash
Replies: 4
Views: 140

Re: Using Dash

To configure apache2 to redirect an alias to a different port, use proxy functions:- https://stackoverflow.com/questions/34557137/proxypass-a-url-to-different-port-internally https://www.digitalocean.com/community/tutorials/how-to-use-apache-as-a-reverse-proxy-with-mod_proxy-on-ubuntu-16-04 This som...
by Daniel Wee
Sat 05 May 05 2018 10:48 pm
Forum: Other Stuff
Topic: Setting virtual host in apache2
Replies: 1
Views: 42

Setting virtual host in apache2

A conf file need to be created and placed in:-

/etc/apache2/sites-available

Supposing the file is dash.conf, it would be:-

/etc/apache2/sites-available/dash.conf

You would enable the virtual host defined in dash.conf like this:-

sudo a2ensite dash