Skip to main content

IT


Apache

Git

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

Linux Administration

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

SSH / SCP without known_hosts check

When we want to connect to a remote host using different credentials and we have automatic login ...

Ubuntu startup mode

  Show current default target sudo systemctl get-default To start in multi-user mode (text mode) ...

Testing networking services

Netcat Testing networking services to troubleshoot communications can be easily done with netcat ...

Services

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

Securely delete files and directories

Shred shred -zvu -n 3 fileToDelete Wipe wipe -rfi privateDirectory/* SRM (secure remove) srm -vz ...

rsync

https://serverfault.com/questions/529287/rsync-creates-a-directory-with-the-same-name-inside-of-d...

IPTables

Allow All Incoming HTTP   sudo iptables -A INPUT -p tcp --dport 80 -m conntrack --ctstate NEW,ES...

Mounting ISO images under FreeBSD

https://makandracards.com/jan0sch/13431-mounting-iso-images-under-freebsd  

Console on serial port

Example using RedHat Linux 6.0 Using lilo bootloader Edit /etc/lilo.conf append="console=tty0 con...

Some useful commands

Here is how to join two files side by side in columns, delimited by ";" paste file1 file2 -d ";"  

Ramdisk

Creating a ramdisk for fast read/write and comparing it with HDD/SSD drive using dd: # Creating a...

Swap memory

https://docs.vultr.com/how-to-add-swap-memory-in-ubuntu-24-04  

MacOS

MySQL

Virtualization

Mikrotik

Networking Administration

Curiosities

Tools

Servers

Web development

Windows Server

Docker

Microcontrollers and electronics

GNSS / GPS

History of time synchronization