Skip to content

lomcin/linux-stuffs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Stuffs

Remember that script you've always wanted to help you getting started with something in Linux? This repository is about that. :D

I'm a developer

I'm not a developer

Supported distributions

  • Ubuntu 18.04 (Tested)

Available Scripts

General Stuff

Top /\

Fix Ubuntu Time

This is usually useful when using a machine that already/also have Windows installed. This solved the time that changes every time you change from Operational System.

./scripts/fix_ubuntu_time

Developer Essentials

Top /\

Install Developer Essentials

This script installs build-essentials, cmake, python3, net-tools (ifconfig), and possible more useful stuffs for developers.

./install/dev_essentials

Crypto

Top /\

Create self-signed certificate

Go to crypto/selfsigning/ folder. Modify the san.cnf file at your will. And run the following command.

./generate_selfsigned_certificate.sh

If you do not change any variable, then your private key will be in my_key.key, your certificate signing request file will be my_csr.csr, and your self-signed certificate will be in my_cert_crt.

Docker

Top /\

Install Docker

Simple and direct. May need to reboot the machine.

./install/docker

To reboot the machine (please be sure you've saved all your work before this):

sudo reboot

Yes, it will ask for password. If you're not a sudoer, just remove sudo from the command.

reboot

Install Nvidia Stuff for Docker

Nvidia

Top /\

Install Nvidia Drivers

./install/nvidia/drivers

Install Nvidia Container Toolkit

./install/nvidia/container_toolkit

Visual Studio Code

Top /\

Install Visual Studio Code

./install/vscode