RsyncUsage:/etc/init.d/rsync {start|stop|reload|force-reload|restart|status}Rsync Default configuration file# defaults file for rsync daemon mode# start rsync in daemon mode from INIT.D script?# only allowed values is "true", "false", and "inetd"#
Installing the JDK ;java-version--View Versioncd/usr/local/src--Enter the directory of the installation packageTar zxvf jdk-7u79-linux-x64.tar.gz--decompression jdk;Mkdir-p/usr/lib/jvm--New Folder JVMMV jdk1.7.0_79/usr/lib/jvm/java7--Move the JDK
Script Description:1, check the server's port service is normal.2, the service port if there is no normal monitoring, will automatically restart the port service, log logs, and notify the Administrator of concurrent mail.3, let crontab automatically
First stage: Hardware boot bootPower onAfter the computer is power on, the system will load the BIOS(Basic Input Output System), at which point the BIOS's main task is to check the status of some hardware on the host, and the CMOS setting to check
I have been in the IT session for several years, still just lost in a primary school students, looking at the many Daniel Jiangshan the text Geitschobs, very envious. But the rice still has a mouthful to eat, since IQ can't keep up, follow up still
recently self-learning Linux, actually want to train structure but reluctantly, had to self-study, will learn some knowledge to share, welcome everyone spit bad. The basic usage of SED is shared belowOne, sed command-line format: sed [-ndfri] '
DeleteCTRL + D deletes the character at the cursor location equivalent to VIM x or DLCTRL + H deletes the character in front of the cursor, which corresponds to the HX or DH in vim.Ctrl + K Delete all characters after cursor equals vim d shift+$CTRL
Copy the USB flash drive file to the Linux system on the VM.
Copy the USB flash drive file to the Linux system on the VM and mount the file (Text + illustration)
The operating system in the VM. CentOS (no graphical interface)
In Linux without a
Notes on some common Linux commands
For Linux, I am a cainiao, and I started to get started at work. I will feel awkward when I use Linux, now, we will record some commonly used Linux commands for future study and reference.Cd
This may be the
Pptp vpn configuration in OpenVZ VPS CentOS,
1. Check whether PPP is enabled.
# Cat/etc/ppp
Cat:/dev/ppp: No such device or address # enabled successfully. You can continue the installation.
Cat:/dev/ppp: Permission denied # disabled. Contact the
Reset root Password in CentOS 7.0
Linux: CentOS 7.0. How to reset the root password, first go to the Enable menu and press e to edit the existing kernel, as shown in
Scroll through the list, find ro, replace it with rw, and add init
Set CentOS 7 to go directly to the command line interface
When CentOS is set to boot directly to the command line interface, you can modify the/etc/inittab file and change ": id: 5: initdefault:" In the file to ": id: 3: initdefault: ", the default
Customized yum repository-common parameters of gem commands
Gem-related commands
1. display the help and version of gemGem-h/-- help# Display the help of gem
Gem-v/-- version# Display the gem version number
2. List all available software in the
Gzip, bzip2, xz, tar, zip compression, archiving details
I. Compression/Decompression tools
Compression ratio: File Size ratio before and after compression
Compression Algorithm: the data storage mode is analyzed. The CPU resource usage is exchanged
Detailed description of the find command for Linux commands
Overview: when you use a file system in Linux, you often need to find files. Then how to find the corresponding files according to our needs. Here I recommend two Commands: The locate
Ubuntu cp: Solve the Problem of omitting directory 'linuxid'
Ubuntu cp: Solve the omitting directory 'xxx' Problem
The following prompt is displayed when copying folders in Linux:
[Bkjia @ ubuntu] # sudo cp White/usr/share/icons
Cp: omitting
How to Use rsync for Data Synchronization in Linux
First install Rsync, such as on RedHat Fedora Linux or RHEL AS3:
Rpm-ivh rsync-2.5.7-5.3E.i386.rpm
Installation is complete.
The rsync client and server are both in the same execution file, but the
Hadoop File Upload error Solution
It is said that the firewall and datanode are not properly started, but the check is normal. Later, we found a solution on a foreigner's website.
The/etc/security/limits. conf file is modified and uploaded
Nginx implements multi-domain certificate HTTPS
Currently, the company has two domain names, of which three subdomains need to be changed to HTTPS transmission, respectively:
Passport.abc.com
Www.test.com
Admin.test.com
The purchase of an ssl
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