1. Basic Configuration and System installation
Basic Configuration and System installation
Windows
1. Configure IP 192.168.13.X
Control Panel-double-click Network Connections--local area--right-click Properties-Double-click Internet Protocol (TCP/IP)
IP Address: 192168.13.X
Subnet Mask: 255.255.0.0
2. Configure Host Name
Right-click My Computer--Properties--Computer name--change--Computer name (SRVX)--OK
Note: Modifying the hostname is required to restart the computer to take effect.
3. Test Network
Pings are using the ICMP protocol
Go to Windows command line: Start-up run-to-hit CMD
Ping IP
Example: Ping 192.168.13.X
Error:
The request timed out requests timed out. --the host does not give a response, it is possible that the host does not exist in the current network
Target host Unreachable Destination host unreachable.--may be host not present or network is not available
CTRL + C: Cancel command execution
4. View IP Address
Ipconfig
Ipconfig/all View All
ipconfig/? View Help
CLS Clear Screen
Virtual machines: Convenient, flexible, and can run multiple identical or different operating systems at the same time
Real machine: Only one operating system can be run at the same time
VMware Workstation: Personal Edition
VMware vSphere Esx/esxi: Enterprise Edition
Create a virtual machine
Open virtual machine software: file-->new Vsan machine...-->typical
Unix-like systems
Linux kernel www.kernel.org Linas. Torvalds 1990
GNU organization Richard Stallman 1985 GPL
Linux distributions: Redhat Red Hat Company: RHEL CentOS Fedora Series. RPM-RPM YUM Source package source
Debian system:. Deb
Ubuntu Series:
Suse:
MINT:
Installation system
Power on and then select the first item to install the operating system
Disc Check (SKIP)
Language used during installation
Keyboard type
Select the driver for the installation
Host name and network configuration
Time zone (Asia/Shanghai) remove the checkmark in front of UTC time
Set a password for root
Partition * * *
Type: Primary partition (Primary)--up to 4 1 2 3 4
Extended partition (Extended)--up to 1 occupied primary partition numbers that cannot be used directly
Logical Partitioning (Logical)--divided on extended partitions, number 5-15
Partition:/boot: Save information about the system startup--200MB
/: 20480MB
Swap: There is no mount point, similar to 1.5~2 times for virtual memory, which is typically physical memory -2048mb
Install software Select now Custom
Post-installation configuration (firstboot)
Welcome interface
License Agreement
Software updates
Create User: We don't need to create
Set the date and time
Setting Kdump: Insufficient memory, ignoring
Installing VMware Tools
1 Mount
2 cd/media/vmware\ tools/
3 ls
6 tar zxvf vmwaretools-10.1.6-5214329.tar.gz-c/US r/src/
7 cd/usr/src/
8 LS
9 CD vmware-tools-distrib/
Ten LS
one./vmware-install.pl
Login System
Username/password: root/redhat
Restart command:
Reboot init 6 shutdown-r now
Shutdown command halt Poweroff shutdown-h now init 0
View kernel version: Uname-r
View share: smbclient-l 192.168.0.111-u redhat
Mount share: Mount//192.168.0.111/software/media/-o Username=redha T%redhat
Mount command: Mount device file mount point (must be a folder)
Uninstall command: Umount device file or mount point
Virtual machine Software basic use
1, Snapshot
1) Create a snapshot
-give the snapshot a name, You can also write some description-->take Snapshot
2) Recover snapshot
-Select the snapshot you want to recover-->go to-->yes
2, clone
Select the virtual machine and right-click "Manage"-- >Clone...--> next-->
--Next-->--> next--Give the virtual machine a name, select the path--complete-close
3, delete the virtual machine
Select the virtual machine you want to remove and right-click Manage-->delete from disk
to crack the root password-use
to restart the operating system--> when you forget the root password;
Press ENTER when countdown (Grub interface) -->
knock E-->
up and down arrows move the cursor, select the second line, tap E-->,
Enter spaces and 1--> in the Open interface,
return to-->
Knock B to continue booting the system-->
After entering the system, Enter the passwd command to change the root password, and then restart the system to log in with the new password.
Job:
Create a virtual machine, memory 1gb,1 CPU dual core, hard disk 100GB, partition as follows:
/boot 200MB
/10240MB
/tmp 2048MB
/var 3072MB
/ Home 2GB
Swap 2GB
Linux basic configuration and system installation basic configuration and system installation