Giter VIP home page Giter VIP logo

linux-server-fun's Introduction

Install nvidia drivers

When cannot log-in into linux (login loop error), might need to install nvidia-driver. Ctrl+alt+f3 to get to the terminal screen. Then, find XAuthority. If not available, need to install nvidia-driver

ubuntu-drivers devices

Then select one driver and install. For example,

sudo apt install nvidia-driver-515

Setup SSH

Server-side

  1. Get your ip address
hostname -I
  1. Install SSH
sudo apt install openssh-server

Client-side We can now access our remote machine

ssh -Y username@ip_address

Useful things to install

sudo apt install htop
sudo apt install gpustat
sudo apt install tmux
sudo apt-get install git
sudo apt install curl

Install conda following conda website instruction

Change default shell to bash

chsh -s /bin/bash

Create users

sudo useradd -m username
sudo passwd username

Add to sudo (give admin privilege)

sudo usermod -a -G sudo USERNAME

Memory management

System memory

df -h

Memory in a specific folders

du -sh folder_name/*

Motherboard

https://download.asrock.com/Manual/TRX40%20Creator.pdf

Not seeing cool folders

ask ubuntu

cd /
ls -al

Should see stuff like /etc/ and bin folders

linux-server-fun's People

Contributors

vlongle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.