complete.This is the method for installing .tar.gz. I have not responded to the RPM method after installing it. Therefore, we recommend installing the source code. We do not recommend installing the RPM.
Rpm installation method:
[Root @ redhat7/root] # rpm-IVH VMwareTools-5.5.3-34685.i386.rpmIi. Install VMware Tools on Ubuntu
First, go to the Ubuntu system, and then switch to the VM menu in VMware Workstat
REFEREMCE:https://www.smarthomebeginner.com/mount-virtualbox-shared-folder-on-ubuntu-linux/1) VirtualBox Manager, setting, share folder, add share folder, select "Auto-mount" "Make permanent"2) Open the VirtualBox virtual machine, the shared folder sf_xxxx should already be mounted under the/media folder3) The user of the shared folder is vboxsf, which can be ls
(note: Include files and subdirectories in that directory)Viii. Find Files/directories: Locate (file or directory name)Ix. PWD Displays the current directory, PWD = Print working directoryX. DF Display file system spatial informationDf-h using M and G to display file system spatial information-H means human-readableXi. du displays spatial usage information for a directoryDu-sh/media/floppy-s meaning summary-h meaning human-readable12, Ifconfig displa
This script has been tested on the Ubuntu and CentOS versions, and the source code is much more straightforward:
The code is as follows
Copy Code
#!/bin/bash Line= ' =========== ' #linux发行版名称if [[-f/usr/bin/lsb_release]]; Thenos=$ (/usr/bin/lsb_release-a |grep Description |awk-f: ' {print $} ' |sed ' s/^[t]*//g ')Elseos=$ (cat/etc/issue |sed-n ' 1p ')Fi Echo-e "${line}nos:n${os}
the temporary storage directory for downloading packages when installing software
Ls/var/cache/apt/archives
Back up the list of all packages currently installed on the system
Dpkg--get-selections | Grep-v deinstall > ~/somefile
Recover all packages from the list file of the installation package backed up above
Dpkg--set-selections sudo dselect
Cleaning up older versions of the software cache
sudo apt-get AutoClean
Clean up all software caches
sudo apt-get clean
Remove orphan
Date written: 2016-7-3 18:20:39Basic content includes: Flash player install, compile and install PHP, write a simple PHP program, java program (Java need to use "Javac" command compiled to execute)First, the installation of PHP, Flash Player, simple PHP program written1. Install Flash Player①, practice using the apt-get method to install:Execute first:sudo apt-ge
downloads self-installed software (software provided by default from the Ubuntu distribution) in this directory. This directory also has BIN,ETC, include, Lib and other subdirectories./usr/sbin: System commands that are required for non-system normal operation. The most common is the daemon command for some Web server software, such as Nginx, NTPD, mysqld/var: if/usr is a directory that occupies a larger hard disk capacity during installation,/var is
In general, we would like to install a partition solution that uses the Mount command because I want/dev/sda3 to install/media/aborn/data by using the following commandsudo mount/dev/sda3 /media/aborn/dataBut the bad thing about this approach is that the machine is restarted and has to be mounted manually and again.Then, the way to mount the partition permanently is to change the partition file/etc/fstabMy
divide the first partition and specify the partition as FAT16.The second one, I try to partition for the Linux partitionCommand (M for help): NCommand ActionE ExtendedP primary partition (1-4)PPartition number (1-4): 2First cylinder (48002-62528, default 48002):Using Default Value 48002Last cylinder, +cylinders or +size{k,m,g} (48002-62528, default 62528):Using Default Value 62528Command (M for help): tPartition number (1-4): 2Hex code (type L to lis
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.