1.Execute File:./File: Execute the fileSH startup.sh Execute the file2.Vi Edit VI Command:: w save file but do not exit: W file saves the modification to file and does not exit: w! Force save, not eject: Wq save File and exit: wq! Force the file to
⑴, directory view command lsLS: Displays files in the current directory-L: Lists the files in the current directory and displays their related properties-A: Displays all files in the current directory that contain hidden files-A: Displays the
Installation pip2.7 must be installed first python2.7. If the PIP is installed with python2.6, the PIP version is pip2.6.The previous article has introduced the installation method of python2.7, which is no longer described here.Installation of pip2.
Today try to compile the kernel, downloaded to a tar.xz end of the compressed file, online solution is less, but still found, as follows:
$XZ-D * * *. Tar.xz
$tar-XVF ***.tar
You can see that this package is also packaged and then
First, understand the DHCPThe DHCP service provides a mechanism for dynamically specifying IP addresses and configuration parameters. There are both dynamic and static methods.Second, RPM installationIt's very simple because it's with samba.First
FHS (Filesystem Hierarchy Standard): File Hierarchy StandardsThe operating system itself runs using the/bin: Store executable binaries that administrators and ordinary users can use/sbin: Commands that administrators can executeWhere the program
Summary of multi-threaded Linux signals (i.)1. In a multithreaded environment, the resulting signal is passed to the entire process, in general, all threads have the opportunity to receive this signal, the process in the receiving signal of the
Install ElasticSearch on CentOS
Elasticsearch is an open-source search engine based on Apache Lucene (TM). It is similar to Solr, but it has excellent performance and Solr in real time. Here is a comparison between the two.Another blog posted by
Install python-pip and networkx packages in centos1. Install python-pip
(1) install setuptoolsBecause setuptools is required for Python-pip installation, you must first install:
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
(2) download
CentOS 7.0 modify hostname
In centos, you can modify the hostname temporarily or permanently. Temporary modification does not require a restart and takes effect immediately.Temporarily modify hostname
# Hostname // view the current hostname #
Mount another hard disk in centos
Try to mount another hard disk in centos. One of the partitions is in LVM2 format and cannot be mounted directly. The method is recorded as follows for future use.
1. First, use vgscan to scan lvm. The result is as
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
UbuntuBSD hopes to become an official Ubuntu Project
Jon Boden, the founder of the Ubuntu tubsd (Integrating FreeBSD core and Ubuntu Linux) Operating System, recently announced in a tweet that he hopes to become an official Ubuntu project in the
Linus Torvalds is still confident in Linux Desktop
Although the field of Linux Embedded has dominated almost every corner of our lives, from mobile phones to super TVs, linux desktop has not received the mainstream attention as it is. What does
Install and configure mysql and centosmysql in CentOS 6.6
1. Use yum to install mysqlYum list | grep mysql // view mysql InformationYum install mysql-server.x86_64 // install mysql
2. view the mysql version:
Rpm-qi mysql-server
3. Restart mysql:
Configure Apache + MySQL + PHP in CentOS7
1. configure the firewall and enable port 80 and port 3306
CentOS 7.0 uses firewall as the firewall by default. Here, it is changed to iptables firewall.
1. Disable firewall:
# Stop the firewall Service
Install oracle10g in CentosInstall Oracle10g silently in Centos6/7
Remote Installation of oracle10g, through online materials, and constantly explore the successful installation. First, experiment on the local virtual machine, snapshot recovery,
Nginx forward proxy http and https in CentOS VM instancesForward proxy http
In the Directory/apps/conf/nginx/vhostsCreate a new file, such as a.test.com. The file content is as follows:
Server {listen 80; server_name a.test.com; location/{expires 302
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