First, to build the LNMP platform, which is no longer demonstrated here. The following tests are done via the PHP page:[Email protected] ~]# vim/usr/local/nginx/html/info.phpPhp$link=mysql_connect ("localhost","Root","");if(! $link) echo"faild!
In Linux, if you have write access to a directory, then we can create a delete file in this directory.Now we're going to create a directory where we can create files, but other users can't delete the file.A special permission is used here: sticky
Today in the practice of a sudden thought if the current use of the virtual machine in the system is broken or an unknown failure to affect the learning progress what to do, after all, re-install a system to delay a lot of time, so want to use the
Using a JFS file system in a Linux environmentJFS is a log file system developed by IBM for Linux systems. From IBM's strength and its attitude towards Linux, JFS should be one of the most powerful file systems in the future log file system. JFS
Linux, this is occasionally heard in college, but have not understood why so many people in the use of music, black interface, some white command code, Basic No Interactive dialog box, with Ben without Windows simple and clear, feel the whole day to
Linux command Help
The path to the Shell program search executable file is defined in the PATH environment variable[Email protected] ~]# echo $PATH/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.7.0_75/bin:/usr/local/
I. OverviewAs the name implies, Tcpdump can intercept the "head" of packets transmitted in the network to provide analysis. It supports filtering on the network layer, protocol, host, network, or port, and provides logical statements such as and, or,
1. First we want to install the swoole extension, we need to download its package, is:Https://github.com/swoole/swoole-srcI QQ group also has a lot of technical documents, I hope to provide you with some help (non-technical not to add).QQ Group: 2814
Ikely () and unlikely () are everywhere in the 2.6 kernel, so why use them? What is the difference between them?First clear:if (likely (value)) is equivalent to if (value)if (likely (a>b)) {Fun1 ();if (unlikely (value)) is equivalent to if
1. PrefaceWe all know that there are two kinds of partitioning tools, one is Fdisk, one is parted, and the most common is fdisk. But with the development of the Times, advances in technology, terabytes of data more and more, for the largest only
a system, we cannot have only one user, so we need to create other users. As server Linux is more so, in the enterprise we have to avoid direct use of the root user directly to operate. First we need to look at the user name of the current user
1. Interrupt Blocking:A simple way to avoid race in a single CPU range: to block the interruption of the system before entering the critical section. Interrupt masking will cause the concurrency between interrupts and processes to no longer occur,
the principle of network installation systemWhen you choose to use a network installation in the motherboard BIOS, the PXE protocol is used to install the operating system. PXE (Pre-Boot execution Environment) is a protocol designed by Intel that
1./bin binary binaries, executable program filesLS su pwd CDInternal files are some instruction information2./sbin Super binary binary files directorycommand files that Super Admin root can execute3./Dev Device directoryAll devices in the Linux
CentOS7 install the LAMP environment and centos7lamp Environment
1. Install using yum
Yum-y install httpd mysql-server php-mysql postgresql-server php-postgresql php-pgsql php-devel
2. Configure httpd
2.1 start the httpd service and add this service
Set the file exchange in CentOS7Problem Source
I want to set up a blog service on the purchased VPS. I prefer dynamic blogs and so on. I chose nodejs, And the range is reduced. At first I took a fancy to N-blog. You need to install bower. If the npm
Using Snapper snapshots in CentOS 7 for system backup and recoveryWhy use Snapper snapshot?
We can imagine the following scenarios:1. Scenario 1: when the system goes down unexpectedly, Engineers cannot quickly locate the problem and the business is
Read the default MAC address in LinuxGuideMAC (Media Access Control) allows a computer to define and identify the locations of network devices. MAC is inevitable in Embedded linux learning. This article mainly describes how to read the MAC address
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