stop the server

sudo apachectl stop

primary config file:

/etc/apache2/apache2.conf

edit it to have:

    serverName localhost

at the very end of the file

retstart apache

sudo aoachectl start

default root for the apache server (as in what it dispalys in localhost):

/var/www/html/index.html

i had drupal setup there so apache is looking inside a folder called drupal for the index.html file so i'm just going to dump shit in there

install php and modules for apache:

sudo apt-get install php libapache2-mod-php php-mysql

deprechiated

https://askubuntu.com/questions/1031921/php-mcrypt-package-missing-in-ubuntu-server-18-04-lts

turn error display on:

sudo gedit /etc/php/7.2/apache2/php.ini

find display_errors = Off

change it to On

restart apache

    sudo apachectl restart

install mysql and gui:

sudo apt-get install mysql-server

sudo apt-get install mysql-workbench

restart mysql:

sudo service mysql status
Posted @ 2019-01-31 20:13

get current driver info:

sudo lshw -c video

current driver:

configuration: driver=amdgpu latency=0

replace AMDs driver with MESA:

https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa

So folloing the advice in the above link i first purged and removed then did

sudo lshw -c video

and it's still using the same driver, so i don't think it's actually using the mesa driver at all

after re-adding the packages it still shows the driver as:

amdgpu

seems the right driver is installed you can check with:

glxinfo | grep "OpenGL version"

says mesa there

The mesa drivers are better but I am still getting graphical problems.

Posted @ 2019-02-28 13:01

make sure the service is started:

sudo service mongod start
Posted @ 2019-02-28 14:47