Recently Updated Pages
Services
Managing services with systemctl Start sudo systemctl start application.service Stop sudo systemc...
HTTPS (SSL)
add-apt-repository ppa:certbot/certbot apt install python-certbot-apache certbot --apache -d yo...
Git
http://rogerdudler.github.io/git-guide/ Approve user and set it admin via gitlab-rails root@vp...
Users and groups
Adding an existing user to an existing group usermod -a -G theExampleGroup theExampleUser Changin...
Passwords
Use pwgen to generate ramdom passwords pwgen will generate easy to remember passwords # pwgen Vi6...
Reverse proxy
Some apache modules have to be enabled: sudo a2enmod ssl sudo a2enmod proxy sudo a2enmod proxy_ba...
Basic authentication
To protect some directory with basic authentication we have to edit the virtual host file and add...
NPM INSTALL
Tipos de erro:sh: 1: mix: Permission deniedchmod +x /var/www/my4.dei.uc.pt/public_html/vendor/h4c...
CAN BUS
CAN BUS Data logger https://www.reddit.com/r/CarHacking/comments/1dgc1cr/bmw_e46_canbus/ https:...
Engine swap
engine swap
Turbo MFS build
mfs
Links
http://dstarportugal.com/novo/index.php
Bibliography
https://askubuntu.com/questions/788323/change-runlevel-on-16-04http://www.hypexr.org/linux_scp_he...
File management
Scp file copy examples Copy the file "foobar.txt" from a remote host to the local host$ scp your_...
Services
Enabling ssh on Ubuntu sudo apt-get install openssh-server sudo service ssh status Removing t...
Colours on terminal
<?php /* Black 0;30 Blue 0;34 Green 0;32 Cyan 0;36 Red 0;31 Purple 0;35 Brown 0;33 Light Gray 0;3...
Grub
Setting the default runlevel in Ubuntu 16.04 Mapping between runlevels and systemd targetsRunle...
Settings
Store passwords Edit the file ~/.my.cnf and adapt the following code: [client]user=rootpassword="...
Add new user, set password and grant permissions
CREATE USER 'novousuario'@'localhost' IDENTIFIED BY 'password';GRANT ALL PRIVILEGES ON * . * TO '...
Reset root password
sudo /etc/init.d/mysqld stopsudo /etc/init.d/mysqld statussudo mysqld_safe --skip-grant-tables &m...