Well, when I came back this year, I installed my own Ubuntu system. I just want to prepare in advance. I found a lot of information online. I am very happy to hear from my teacher today. find your own
You have a few questions to ask your teacher.
There are several ways to install ubuntu. One is to install a virtual machine under XP and Ubuntu on a virtual machine. The other is to directly install dual systems on a computer. Both have their own advantages and disadvantages.
It depends on what you need, but there is no difference in operating ubuntu.
1. Ubuntu system partition
Files in the/usr file system that do not change, such as libraries and programs.
/Var file system contains the file that will change.
/Home file system contains the user's home directory, that is, all the actual data on the system.
/Tmp temporary file.
/Usr/local this is the/usr directory provided to general users. It is best to install the software here.
/Srv after some services start, put the required data here.
/OPT some large programs installed here for ease of management.
/Root directory
2. Ubuntu system directory
Root Super User Directories include Desktop Management
Home user directory including user information
The bin execution directory stores executable files, including common commands.
The sbin execution directory stores commands that are not provided to users.
The boot directory stores various files used in the boot system.
Etc used to configure Directory System
The Dev Device directory uses it to access peripherals.
3. Common commands
Clear screen (equivalent to CLS under Win command line)
CD .. back to the upper-level directory of the current directory
CD-return the last directory
Ls-A lists all files in the current directory, including hidden files with the. header.
Ls-l or ll lists the details of files in the current directory
Sudo RM file: delete an object
Mkdir directory name to create a directory
Mkdir-P recursively create some nested Directories
Sudo reboot the computer (restart)
The sudo update-rc.d adds the file to or from the config
Sudo chmod 775 filepath adds the 775 permission to the file
Sudo... run as Administrator
Sudo apt-Get install name download and install the software named name from the software source
Sudo gedit filepath: edit an object
Sudo apt-Get Update Software Source
4. Three file formats under ubutnu
Installation Method:
Deb: Double-click it to install it.
Bin: First Change the permission of the file, and then install the file by clicking (.).
.Tar.gz: just extract it.
5. MySQL operations
Install
Sudo apt-Get install mysql-Server
Sudo apt-Get install mysql-Client
Start or stop: sudo/etc/init. d/MySQL start/stop
Set auto-start: sudo update-rc.d
6. JDK operations
Set permissions: chmod + x jdk-6u17-linux-i586.bin
Install:./jdk-6u17-linux-i586.bin
Set Java environment variables
Sudo gedit/etc/profile. d/Java. Sh (note the influence of spaces on you)
Export java_home = path
Export
Classpath =.: $ java_home/JRE/lib: $ java_home/lib/tools. jar: $ classpath
Export Path = $ java_home/bin: $ path
Source/etc/profile
7. Tomcat operations
Apache-tomcat-6.0.20.tar.gz
8. Install eclipse
Eclipse-java-galileo-SR1-linux-gtk.tar.gz
The installation of Eclipse plug-ins is the same as that in XP.