WARNING: this memo is incomplete and not well organized.
- Open grub file: sudo nano /etc/default/grub
- Go to line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and edit it to look like this GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0
- Nvidia drivers
sudo apt install nvidia-driver-XXX
- A lot of other programs. (TODO)
- Auto mount data partition
Get the data partiton uid with sudo blkid.
Then open stab
:
sudo nano /etc/fstab
Copy and paste this to the file:
# Data partition on /media/lparolari/Omega
## This is a shared partition between different os.
## Note that fmask (file mask) and dmask (directory mask) as setted
## indipendently.
## Removed option: nls=utf8
UUID=6533BA187ABC2B9F /media/lparolari/Omega ntfs defaults,umask=000,dmask=027,fmask=137,uid=1000,gid=1000 0 0
-
SSH
a) Add private key files to ~/.ssh/* b) Create the
config
file and add frequently used hosts:
Host netlab
HostName netlab.fis.unipr.it
User luca.parolari
IdentityFile ~/.ssh/id_rsa_netlab
Host corrsipettivivending.info
HostName corrispettivivending.info
User corrchql
Port 21098
IdentityFile ~/.ssh/id_rsa_corrispettivivending
Host vms.vending.click
HostName vms.vending.click
User vendseld
Port 21098
IdentityFile ~/.ssh/id_rsa_vmsvending
- mysql server
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
Answer to all the mysql_secure_installation based on your requirements.
Then run
sudo mysql
and allow your user to access with a password, not only with unix sockets
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
then create your own user
CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost' WITH GRANT OPTION;
-
install apache
-
install php my admin
aftern installed do:
sudo gedit /etc/apache2/apache2.conf
Then add the following line to the end of the file.
Include /etc/phpmyadmin/apache.conf
Then restart apache
/etc/init.d/apache2 restart
Note that if the server should follow a symlink, all the symlink's folders must have the read
permission.