At present, lamp (Linux + Apache + MySQL + PHP) has developed rapidly in recent years, has become the fact of the Web server standards. In this article, we will introduce the performance optimization techniques for the server based on lamp
Parameters:
-C: Create a compressed file parameter instruction (create meaning);
-x: Unlock a parameter command for a compressed file!
-T: View the files inside the Tarfile!
In particular, in the release of the parameters, c/x/t can only exist
Gzip
A compression command that is more commonly used under Linux to compress a file into a compressed file with a. GZ ending
Preparatory work
[Root@localhost etc]# Cp/etc/man.config/tmp
[Root@localhost etc]# Cd/tmp
[Root@localhost tmp]# LL
Oracle Author: Shiley
Time: 2002-5-20
-------------------------------------------------------------------------------
System configuration: CPU:
ram:256m
Objective: To install the Oracle 8.1.7.0.1 Release 3 Enterprise version database server under
Install PHP under Linux, source code installation, the total need to configure a lot of parameters. The common configuration parameters are listed here, and are explained in detail in Chinese. give you some reference./configure
wget http://www.ftphp.com/scws/down/scws-1.2.0.tar.bz2
Tar jxf scws-1.2.0.tar.bz2
CD scws-1.2.0
./configure--PREFIX=/OPT/SCWS
Make && make install
CD phpext/
/opt/php-5.3.8/bin/phpize
./configure--WITH-SCWS=/OPT/SCWS--with-php-config=/opt/php-
The Linux tar command is a powerful weapon for filing or distributing files. The GNU tar Archive package can contain multiple files and directories, retains its file permissions, and supports multiple compression formats. Tar represents "Tape
I believe a lot of people will use iptables, I have been using, and every day. Especially after watching platinum > introduction to Iptables, I feel that it is necessary to have a deeper understanding of its expansion function. So immediately
This is the method provided online:
. tar.gz
Decompression: Tar zxvf FileName.tar.gz
Compression: Tar zcvf FileName.tar.gz DirName1 DirName2
Roughly summed up the Linux under the various formats of compression package compression, decompression
If a Web site provides file downloads, it is very easy for users to use multi-threaded downloads, which can easily deplete resources, so limiting the number of threads to download (that is, limiting the number of concurrent connections to one IP) is
The installation and uninstallation of Linux software has been a challenge for many new users. In Windows, we can use the security loading program that comes with the software or Add/Remove Programs in Control Panel. Similar to Linux, there is a
Environment:
CentOS X64 6.4
Nginx 1.5.6
Python 2.7.5
One: the class library and Python2.7.5 that need to install
Install the necessary development packs
Yum Groupinstall "Development Tools"
Yum install zlib-devel bzip2-devel pcre-devel
Using PHP to create images is a fairly easy thing to do. As long as you install some Third-party library files and have some knowledge of geometry, you can use PHP to create and process images. PHP currently uses the GD library to process images.
1. Shutdown (System shutdown, reboot and log out) command
Shutdown-h now Shutdown system (1)
Init 0 Shutdown System (2)
Telinit 0 Shutdown System (3)
Shutdown-h hours:minutes & Shut down system at scheduled time
Shutdown-c Cancel system
1, through the ISO to create a bootable U disk system.
1.0, format the U disk for FAT32 format
Linux can use the command
Mkfs.vfat u disk's device path
For example:
Mkfs.vfat/dev/sdb
where the U disk path can be viewed by command DF
1.1, the
PUREFTPD Installation Configuration Concise description
1, download http://sourceforge.net/projects/pureftpd/
The latest version is pure-ftpd-1.0.16a.tar.bz2
BSD self-pureftpd directory in: cd/usr/ports/ftpd/pureftpd
Here also provides a graphical
Profile:
Tar is the main file compression and decompression, is a more commonly used command.
Command format:
tar [-cxtzjvfppn] pathname [pathname ...]
Parameters:
-C: Create an archive
-X: Unlocking an Archive
-T: View an archived content
Tar
Used to package multiple files or directories into a large file
1. Pack/tmp and use BZIP2 compression
[Root@localhost ~]# TAR-CJVF./tmp.tar.bz2/tmp
Tar:removing leading '/' from member names
/tmp/
/tmp/man.config1.gz
/tmp/man.config
/tmp/
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.