under Linux operation of files under Windows, often encountered garbled files, now is not know can not change the code of the Linux system, do not encode the file to convert Here's a little information from yesterday.If you need to operate files
Original link: Yii Chinese web (yii-china.com) [document]Install extensionsThe best way to install Yii is to install it using composer, so we need to install composer, but in order to install composer, we need to install a lot of expansion packs
To view the PATH environment variables separately , you can:[[email protected] U-BOOT-SH4] #echo $PATH/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/binAdd the PATH environment variable :The
Common commands for viewing system information in Linux
Guide
Linux is a magical and efficient operating system, after learning Linux to have a familiar understanding of Linux systems, you need to understand these practical
1. Function:The cut command cuts bytes, characters, and fields from each line of the file and writes them to standard output, with each line of the file as the processing object.2. Usage:Cut [options] [range] file. option is used to specify the unit
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system
Common commands:Shutdown-h now shuts down immediately (under root) shutdown-r today reboot (under root) reboot Restart Su If the current user is a normal user, Enter this command to switch to the administrator user (root), and if you want to
1.atexit () functionFunction Name: atexitHeader files: #include Function: register termination function (that is, function called after main execution ends)Usage: int atexit (void (*func) (void));Note: A process can register 32 functions, which are
OneThe following code is a test of the fork650) this.width=650; "title=" 3.png "src=" Http://s2.51cto.com/wyfs02/M00/82/FB/wKiom1dnt9_zgSzPAACUlAwxU_o291.png " alt= "Wkiom1dnt9_zgszpaaculawxu_o291.png"/>The result of the operation is:650) this.width=
1 Basic ConceptsThe timing mechanism, along with some more visible kernel activity (such as check timeouts), drives the process to switch.Two main timing measurements:
Save the current time and date so that they can be returned to the user
Install the powerline plug-in vim
Powerline is the vim status bar plug-in. It also provides status bar and prompt window functions for other applications, including zsh, bash, tmux, IPython, Awesome, i3, and Qtile. This article only describes how to
Atexit function and two special file permission bits. atexit function permission
Atexit Function
The prototype of the atexit function is void atexit (void (* func) (void ))It is a parameterThe return value and parameters are empty.Function
How to access tomcat from virtual machines and tomcat from virtual machines
First, you need to integrate tomcat and jdk into the virtual machine, and then install tomcat and jdk in the virtual machine.
1. How to Integrate tomcat and jdk into a
CentOS7 Network Configuration
Ifconfig has been canceled in CentOS7, replaced by nmcli, and service management has also been upgraded to systemd. Therefore, the previous network configuration operations on v6.x won't work on v7.x.The following
Configure SSH password-less logon in Linux
The following describes how to configure two hosts to log on without a password. The local host name is master, and the sub-host name is slave1.1. Configure the Host Name
Modify the host names of the two
Centos6.7 common inspection commands
# Uname-a # view kernel/operating system/CPU Information
# Head-n 1/etc/issue # view the operating system version
# Cat/proc/cpuinfo # view CPU Information
# Hostname # view the computer name
# Lspci-TV # list
Three methods for configuring network IP addresses in RHEL7.0GuideThe NIC naming method in RHEL7 is changed from eth0, 1, 2 to enoXXXXX. En represents enthernet (Ethernet), o represents onboard (built-in), and a string of numbers is automatically
View fail2ban logs instead of lastb to view logon Failure records
Previously, I used a shell script to extract the IP addresses that failed to log on to the server over a specified number of times and add them to iptables to prevent malicious
Spring configuration JNDI Solution
My configuration environment is: Spring + Tomcat + MySQL
Note:
1. $ TOMCAT_HOME indicates the Tomcat installation directory.
Step 1: configure the data source in the $ TOMCAT_HOME/conf/context. xml file of
Install Mysql in 64-bit CentOS6Installation environment
System: CentOS6 64-bit
Installation Steps
Start using commandssudo yum installMySQL-serverAfter installation, usemysql --versionCheck the version 5.1.73.
To install version 5.6, uninstall
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