Skip to main content

Recently Updated Pages

Services

IT Linux Administration

Managing services with systemctl Start sudo systemctl start application.service Stop sudo systemc...

Updated 1 month ago by Diogo Gonçalo Lourenço

HTTPS (SSL)

IT Apache

  add-apt-repository ppa:certbot/certbot apt install python-certbot-apache certbot --apache -d yo...

Updated 1 month ago by Diogo Gonçalo Lourenço

Git

IT

  http://rogerdudler.github.io/git-guide/  Approve user and set it admin via gitlab-rails root@vp...

Updated 1 month ago by Diogo Gonçalo Lourenço

Users and groups

IT Linux Administration

Adding an existing user to an existing group usermod -a -G theExampleGroup theExampleUser Changin...

Updated 1 month ago by Diogo Gonçalo Lourenço

Passwords

IT Linux Administration

Use pwgen to generate ramdom passwords pwgen will generate easy to remember passwords # pwgen Vi6...

Updated 1 month ago by Diogo Gonçalo Lourenço

Reverse proxy

IT Apache

Some apache modules have to be enabled: sudo a2enmod ssl sudo a2enmod proxy sudo a2enmod proxy_ba...

Updated 1 month ago by Diogo Gonçalo Lourenço

Basic authentication

IT Apache

To protect some directory with basic authentication we have to edit the virtual host file and add...

Updated 1 month ago by Diogo Gonçalo Lourenço

NPM INSTALL

Laravel+Metronic

Tipos de erro:sh: 1: mix: Permission deniedchmod +x /var/www/my4.dei.uc.pt/public_html/vendor/h4c...

Updated 1 month ago by Admin

CAN BUS

BMW Electronics

CAN BUS Data logger   https://www.reddit.com/r/CarHacking/comments/1dgc1cr/bmw_e46_canbus/ https:...

Updated 1 month ago by Admin

Engine swap

BMW Mechanics

engine swap

Updated 1 month ago by Admin

Turbo MFS build

BMW Mechanics

mfs

Updated 1 month ago by Admin

Links

Ham radio DSTAR

http://dstarportugal.com/novo/index.php  

Updated 1 month ago by Admin

Bibliography

Linux Administration

https://askubuntu.com/questions/788323/change-runlevel-on-16-04http://www.hypexr.org/linux_scp_he...

Updated 1 month ago by Admin

File management

Linux Administration

Scp file copy examples Copy the file "foobar.txt" from a remote host to the local host$ scp your_...

Updated 1 month ago by Admin

Services

Linux Administration

Enabling ssh on Ubuntu   sudo apt-get install openssh-server sudo service ssh status   Removing t...

Updated 1 month ago by Admin

Colours on terminal

Linux Administration Scripting

<?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...

Updated 1 month ago by Admin

Grub

Linux Administration Boot

Setting the default runlevel in Ubuntu 16.04   Mapping between runlevels and systemd targetsRunle...

Updated 1 month ago by Admin

Settings

mySql

Store passwords Edit the file ~/.my.cnf and adapt the following code: [client]user=rootpassword="...

Updated 1 month ago by Admin

Add new user, set password and grant permissions

mySql User administration

CREATE USER 'novousuario'@'localhost' IDENTIFIED BY 'password';GRANT ALL PRIVILEGES ON * . * TO '...

Updated 1 month ago by Admin

Reset root password

mySql User administration

sudo /etc/init.d/mysqld stopsudo /etc/init.d/mysqld statussudo mysqld_safe --skip-grant-tables &m...

Updated 1 month ago by Admin