Tag Archives: debian
Automatically mount usb drive at startup

Find USB Disk UUID sudo blkidsudo blkid or sudo blkid /dev/sdf1 | awk -F ‘"’ ‘{print $4}’sudo blkid /dev/sdf1 |…

Install the latest VirtualBox version on Debian

Add the repository to sources list sudo nano /etc/apt/sources.listsudo nano /etc/apt/sources.list deb http://download.virtualbox.org/virtualbox/debian jessie contribdeb http://download.virtualbox.org/virtualbox/debian jessie contrib Add the…

Debian – connect to a VPN at startup

Edit openvpn default configuration sudo nano /etc/default/openvpnsudo nano /etc/default/openvpn Uncomment AUTOSTART=”all” or Uncomment and edit the option AUTOSTART=”myhome” to auto-start…

How to setup SSH keys

Create RSA Key Pair ssh-keygen -t rsassh-keygen -t rsa Create .ssh folder mkdir ~/.sshmkdir ~/.ssh Set right permissions chmod 700…

BusyBox initramfs prompt Debian

Type exit to exit shell exitexit Check/Repair disk fsck /dev/mapper/debian–vg-root -yfsck /dev/mapper/debian–vg-root -y Reboot your system

Add new disk to encrypted LVM volume on Debian

Create a backup of your system before attempting to extend your encrypted LVM Boot your PC Decrypt/unlock your disk Log…

How to mount Windows share on Debian

Install mount.cifs mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by the mount command when using the…

Hardening SSH on Debian

Open a terminal Open file /etc/ssh/sshd_config sudo nano /etc/ssh/sshd_configsudo nano /etc/ssh/sshd_config Change the listen port Port 65002Port 65002 Deny root…

Hardening Apache2 on Debian 8

Disable Apache Web Server Signature sudo nano /etc/apache2/apache2.confsudo nano /etc/apache2/apache2.conf Add the following two lines at the end of Apache…

Owncloud Security Hardening on Debian

Hardening owncloud folders permissions Open a terminal Create a new file nano ~/config_owncloud_permsnano ~/config_owncloud_perms Contents Paste the following into config_owncloud_perms…

Previous Page · Next Page