Ubuntu server from scratch to build a laboratory

Taiwan idle computers on hand, want to set up a server for future laboratory set up to prepare.

 

Startup Disk

Making U disk boot disk, install Ubuntu

Many ways to win with the old peach dress, simple and fast.

Install Linux to use rufus, Ubuntu official recommended installer. Recommendation or install the desktop, server is the pure command line, the starting point is a little high.

About select u disk partitions, frequently interspersed in between those mac to pc, high-volume copy large files, please use exfat.

 

Partition

Rookie program

"/" And the two swap partitions can cope with the vast majority of applications

Common program

Divided into three zones

1. mount point /; primary partition; mounting system and software; size 30G; ext4 partition format;

2. The mount point / home; logical partitions; equivalent to the "My Documents"; the rest of the hard disk size; partition format ext4;

3. swap; logical partitions; acts as a virtual memory; memory size equal to the size (I 2G); the partition as swap

4. / boot; boot partition; logical partitions; size 200M; ext4 partition format;

Ps :( I installed the Ubuntu14.04 version, 100G hard disk partition scheme)

 

installation

Dell F12 F8

Into the U disk boot

 

The basic configuration of Ubuntu environment

The first step, from the mouse: the most complete finishing | 121 Ge Ubuntu terminal commonly used shortcuts

Initialization Ubuntu root password

sudo passwd root

Install git

apt-get update && apt-get install git-core

open ssh remote login

dpkg -l | grep ssh
sudo apt-get install openssh-server

ubuntu open SSH remote login service

vim

Check ip

env

gcc

lib

 

Process Management Tools

conda

 

python environment configuration

 

Environment configuration R

 

 

Side story

U hard disk loading

sudo fdisk -l
mount -t vfat /dev/sdb1 /media 
umount /media/

 

Network Access

Google can access and so on, but can not access domestic sites, no eth0.

Solution: Download e1000e-3.5.1.tar.gz

Ubuntu solve network connectivity problems

sudo make install
sudo modprobe e1000e 
sudo dhclient eth0
vi /etc/network/interface
sudo /etc/init.d/networking restart

make

rpm

chrome

cannot resolve hostname

no ethernet connection 

eth0, eth1, eth2 ...... on behalf of a network card, network card, two, three ...... lo card on behalf of 127.0.0.1, that is, localhost

linux eth0 network card configuration in detail

  

Driver Download

 

ftp server

 

Lab server

 

other:

The first time I met such a scary thing, a computer can access some websites, but can not access other sites, the problem is not DNS resolution, because IP can access. Later it was explained that the local area network to the card to the closure, leading to the physical network card can not access certain IP in the LAN.

In other computers just fine, and she has all manner of problems.

 

Guess you like

Origin www.cnblogs.com/leezx/p/11241186.html