just installed Ubuntu, appearing on the first line of the terminal:to run a command as administrator (user "root") with "sudo ".See "Mans Sudo_root" FordetailsTranslated:Run a command as an administrator (the "root" of the user), using "sudo See
Today, a day, finally put Linux on the virtual machine set static IP address.Tell us a little, in fact, Bridge does not have to be wired connection, in fact, even wireless can be solved. At first I misunderstood this, have been in the tangle must
1. Use the Read function to return the story of length 0: Closes the connection to the end, and the service side calls the close function.//INTRO/DAYTIMETCPCLI.C while((n = Read (SOCKFD, Recvline, MAXLINE)) >0) {Recvline[n]=0; if(Fputs (recvline,
YY the copy cursor is in the rowP paste below the line where the cursor is locatedP paste above the line where the cursor is locatedDF View Disk partition usageDf-l Show only local disks (default)Df-a displaying disk conditions for all filesDF-H 1024
Download Maven3Download maven from the official website, the version I chose here is apache-maven-3.5.0-bin.tar.gzUnzip the installationThe downloaded file will be in the "downloads" directory of the currently logged-in user's home directory, where
Download jdk1.8Download the installation files for the JDK in the Linux environment, and select the JDK installation files that match your operating system version, as shown in jdk1.8: Unzip the installationThe downloaded file will be in the
Jdk1.8:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlJDK Installation1. Upload JDK installation files to LinuxThere are many kinds of methods, such as mount, share files, FTP, wget, etc., I use the SCP commandSCP
RootFiles that contain the root userHomeDocuments related to ordinary usersBinStore General CommandsSbinStore commands that you want to be able to use with certain permissionsMntDefault mount for CD-ROM and floppy drive directoriesetcStore
account management can create and delete users manually. Generally for convenience, useUseraddcommand to create a user,Usermodand theUserdelusers can be modified and deleted. can be usedusermod-l Userand theusermod-u UserLock and unlock users and
Load ElasticsearchLogin Official website Https://www.elastic.co/cn/downloadsChoose Download Elasticsearch, select the corresponding installation package as required, here Choose 5.0 version, download and get elasticsearch-5.0.0.tar.gzUnzip the
User:1. Only the root user or a user with root privileges can operateAdd User: Useradd XiaolSet Password: passwd xiaolDelete User: Userdel XiaolDelete User and home directory: Userdel-r Xiaol2. After the user is successfully added, a directory with
/boot space is generally allocated 100M space, is sufficient, due to frequent updates caused by the old no longer used kernel files are also retained in the boot space, occupy the location, so the unused kernel files to download the boot space can
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
1. Unzip the file to the specified directoryTar-zxvf/root/soft/jdk-7u67-linux-x64.tar.gz-c/usr/local/2. Configure the environment variable to open the file editing contentVim/etc/profile3. At the end, add the following:Export
1. first unzip TomcatTAR-ZXVF Apache-tomcat-7.0.47.tar.gz–c USER/LOCAL/SRC2. Start TomcatGo to the Tomcat/bin directory below to find startup.sh shStartup.sh (./startup.sh) Start Tomcat3. View process Commands JPSView processes for users under
Zip compressed file (after compression, the original file will not disappear)Zip-r Compression DirectoryUnzip unpack the packagegzip Compressed files (the original file disappears after compression)Gzip-r Compressed directory (only sub-files in the
Installation reference: http://blog.csdn.net/guin_guo/article/details/49403889IP still fails to connect to the network after installation is complete:Enter/etc/sysconfig/network/network-scripts/Locate the network adapter profile name Ifcfg start
1: File permission settingsusage of number: chmod 755 file name---------------------------------------------The following are the file permissions--------------------------------------------------------------Because when the directory is "W" can
Linux wildcard, linux
Common wildcard characters:
*: Match any character in length
? : Match any character
[List]: match any character in the list
[! List]: match any character except list
[C1-c2]: match any character in the c1-c2
{String1,
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service