I recently started server novice, need to build a server on the Linux virtual machineFirst day reload virtual machine, choose the Linux system CentOS, all smooth.The next day, to install the virtual machine MySQL, but need to use the command line
Due to the fact that the CentOS source is not very useful, it is intended to be replaced by 163 and the operation record is as follows:wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo #下载163yum源MV Centos-base.repo Centos-base.repo.back
All files in LinuxUsers and Groups/etc/passwd profile for userA row is a user information to: divided into seven segments1. User Name2, the password placeholder (on behalf of a password, if deleted after the password) in another file/etc/shadow
1. The jdk1.8 download packageHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html2. Unzip the installation We install the JDK in the/usr/local/jvm/jdk1.8 directory, and if the directory does not exist, create aAfter
Create directory under folder: My, new file in my directory 123.txtmkdir my Touch my/123. txtTo establish a soft connection:Ln my haha-sRM-RF delete hahaRM -123. txt still existsRM-RF Delete haha/rm -rf haha/#haha, my is still there, my is
Linux Basic Part OneI. INTRODUCTION of Linux1. Mastering the definition of Linux: Linux is a free-to-use and free-spread UNIX-like operating system, a POSIX and UNIX-based multi-user, multitasking, multi-threaded and multi-CPU operating system.2.
1. Modify/etc/selinux/config:Sed-i ' s/enforcing/disabled/g '/etc/selinux/config, requires a reboot to take effectTemporary shutdown:Getenforce:Setenforce 02.linux RunLevel0:halt, System shutdown status, the system default operation level cannot be
Linux off Firewall
Permanent after reboot:
Open: Chkconfig iptables onOFF: Chkconfig iptables off
Immediate effect, failure after reboot:
Open: Service iptables startClose: Service iptables stop
Temporarily shut
First step: sudo apt-get install samba smbclient installing Samba server.Step Two: Open the/etc/samba/smb.conf file and add the following fields at the end:[User Name]Comment = user namePath =/home/User namewritable = yesStep three: Add a user to
See an example to understand. Create a new Makefilewith the following content:Copy CodeIfdef Define_vreVRE = "Hello world!"ElseendifIfeq ($ (OPT), define)VRE? = "Hello world! First! "endifIfeq ($ (OPT), add)VRE + = "kelly!"endifIfeq ($ (OPT),
Differences between environment variables and shell environment variables in timed tasks shell environment variable path query with echo $PATH commandEcho $PATH/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin Shell Linux
Today to use Python to write a port exploration of the small program to detect some specific service port is not occupied, suddenly found out from the fact that you do not know how to query the Linux port is occupied, God, please study quickly.How
Recently the company's test server Ubuntu server memory has been high, originally 1G of memory, the results of available memory suddenly accounted for 937M, resulting in a small amount of memory available:The Final Solution:1. View
1. Want to see the file named "ABC" in the current folder and sub-folder# Find. -name ABC. : Represents the current directory-name: Indicates that you want to find by name2. To see if there is a "xyz" directory in the current folder and sub-folder#
Service commands, as the name implies, are commands for managing services in the Linux operating system.1. Disclaimer: This command is not available in all Linux distributions. Mainly in Redhat, Fedora, Mandriva and CentOS.2. This command is located
1. If I have an Nginx installation guide on my blog, first my Nginx path is:/application/nginx/sbin/Nginx;2The path to my nginx configuration file is:/application/nginx/conf/nginx.conf. The following is the Nginx service boot file, will be placed in/
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
Start by preparing a Linux system machine (virtual machine is also available),Detects if the VSFTPD software is installed:Rpm-qa |grep vsftpdIf there is no output, it is not installed.With the command installation, you will be prompted to enter Y
1.date View system time, modification time date month day time year,2. Clear the screen, clear it with ctrl+l, or use clear,3. View system users, using the WHO command4. Create a new user James, create a password,5. Switch to the root user, use the
CentOS6.8 install python2.7 and XX-Net, centos6.8python2.7
Xx-net is very convenient to run and use on ubuntu. If CentOS is required for some reasons, it will be too troublesome.
First, you need to upgrade the python version. CentOS 2.6 is useless
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