php_safe.
# Php_admin_value open_basedir/Apache/phpsafe/
# Restrict PHP file operations only under/Apache/phpsafe and its subdirectories.
# Php_flag engine off
# Indicates that the PHP script in this directory will not be interpreted and executed. This option requires PHP to be installed in modules!
# AllowOverride none
# Order allow, deny
# Allow from all # allow anyone to access from anywhere
# Lt;/directory>
# ScriptAlias/cgi-bin/E:/apache2/cgi-bin/
# Lt; directory e:/apache2/cgi-bin>
# Al
convenient script named arc, which allows us to create a backup snapshot at the Linux shell prompt.
Listing 1. Arc shell script
#!/bin/sh tar czvf $1.$(date +%Y%m%d%-H%M%S).tgz $1 exit $?
The arc script receives a separate file or directory name as a parameter, creates a compressed archive file, and embeds the current date into the name of the generated archive file. For example, if you have a directory named beoserver, you can c
How to Learn: python learning path (1): python source code installation Preface
Python is a versatile language, especially in Linux. The general Linux system also comes with Python. However, it is still necessary to learn how to install Python in Linux.
Operating system version:
Gaopeng @ gaopeng-virtual-machine :~ $ Uname-
Linux gaopeng-virtual-machine 3.2.0-38-generic # 61-Ubuntu SMP Tue Feb 19 12:20:02 UTC 2013 i686 i686 i386 GNU/Linux
Python version:
Gaopeng @ gaopeng-virtual-machine :
ZEND_EXTRA_LIBS = '-liconv'Generating phar. phpGenerating phar. pharPEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.Pharcommand. incInvertedregexiterator. incDirectorygraphiterator. incClicommand. incDirectorytreeiterator. incPhar. incBuild complete.Don't forget to run 'make test '.# Make installError message: PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabledSolution: download an unwrapped pear
that is located before the version number, such as APACHE-3.1.12-I386.rpm and apache-devel-3.1.12-i386.rpm are Package Names whose packages are Apache and APACHE-Devel. For more RPM parameters, see man rpm.
If you do not like to install or uninstall these software packages on the Character interface, you can use graphical software package management programs such as glint and xrpm in X-window, or the kpackge of KDE. You can easily install, upgrade, uninstall, verify, and query the software pack
Address: http://www.dutor.net/index.php/2010/07/symbol-hard-links/
There are two types of links in Linux/Unix: hard links and soft links, which are created by ln commands.
Ln-S/home/M/. vimrc/Media/elements/115/vimrc Soft link
The soft link is created using the-s option of the ln command:
1
Ln -S SourceFilename# Create a soft link target (Destination Address) for the source file)
Soft links are similar to shortcuts in Windows. The path of the source file is saved inte
How does one install the MongoDB database in Linux? Follow these three steps to install MongoDB in Linux.
Read more: Install and start MongoDB in LinuxStep 1: download an object
For 32-bit linux
$ Curl http://downloads.mongodb.org/linux/mongodb-linux-i686-1.4.4.tgz> mongo. tgz
$ Tar xzf mongo. tgz
For 64-bit linux
$ Curl http://downloads.mongodb.org/linux/mongodb
// decompress the tar package
Tar-xzvf file.tar.gz // decompress tar.gz
Tar-xjvf file.tar.bz2 // unzip tar.bz2
Tar-xZvf file.tar. Z // extract tar. Z
Unrar e file.rar // extract rar
Unzip file.zip // decompress the zip file
Summary
1. Decompress *. tar with tar-xvf
2. Use gzip-d or gunzip to decompress *. gz
3. Use tar-xzf to decompress * .tar.gz and *. tgz.
4. Use bzip2-d for *. bz2 or use bunzip2 for decompression.
5. Use tar-xjf to decompress * .t
, download the binary version. Currently, only the binary offline version is available for domestic images, which is close to 800 mb. download the latest version 1.4.0:
Harbor-offline-installer-v1.4.0.tgz
MD5: 6161843c84c9944a087
Revoke Delete, repackage named harbor. bytefish. online-installer-v1.4.0.tgz, size about 32 K.
5. Upload the harbor. bytefish. online-installer-v1.4.0.
The mail functions in mediawiki mainly include:
1. When registering a new user, an email is sent to the user registration mailbox for confirmation.2. After the user changes the password, an email is sent to confirm the password.3. When the user's monitoring page changes, an email will be sent to the user who has registered and monitored the page.In the Wiki settings, You need to modify the default settings file and the local settings file in the pair des file. In the defaultsettings file, you
directory has three groups of access permissions. Each group is represented by three digits, which are the read, write, and execution permissions of the file owner; the read, write, and execution permissions of users in the same group as the owner; the read, write, and execution permissions of other users in the system. When you use the LS-l command to display detailed information about a file or directory, the leftmost column lists the file access permissions. For example:
$ LS-l sobsrc.
1. Start
The friendly arm does not provide detailed methods and steps for creating the root file system of the mini6410 and tiny6410 development boards, therefore, I made the mini6410 root file system according to the mini2440 Linux transplant Development Practice Guide. The tools and source code packages used in this production process are from friendly official CDs, including:
(1) kernel: linux2.6.38-20111116.tgz
(2) root file system: rootfs_qtopia_
In general, the Python version that comes with the system is 2.7. python2.7 is the last version of the 2 series and has been discontinued and will be terminated shortly. You can check what version of Python the system installs by using the following command, for example, the following version is python2.7
[Email protected] opt]# python-vPython 2.7.5[Email protected] opt]# Python3-bash:python3: Command not found[Email protected] opt]#
Method/StepHere are the quick and e
-devel-3.1.12-i386.rpm are package file names, and their package names are Apache and Apache-devel respectively. More RPM Parameters please refer to the manual page: Man rpm.
If you do not like to install or uninstall these packages under the character interface, you can use the graphical interface package management program under X-window, such as glint, xrpm graphics interface, or KDE kpackge, so that the package installation, upgrade, uninstall, Verification and querying can be done easily by
.
Download pdo_oci-1.0.tgz source files from Https://pecl.php.net/package/PDO_OCI.
# wget https://pecl.php.net/get/PDO_OCI-1.0.tgz
# TAR-XVF pdo_oci-1.0.tgz
# CD pdo_oci-1.0
Since Pdo_oci has not been updated for a long time, it is necessary to edit the Config.m4 file in the odi_oci-1.0 folder to support 11g:
# Find code similar to the fol
is restricted to PHP file operations can only be limited to/apache/phpsafe and its subdirectories, can not operate on the text outside this directory
# Php_flag engine off
#表示此目录下的PHP脚本不会被解释执行, this option requires that PHP be installed in a modular manner!
# allowoverride None
# Order Allow,deny
# Allow from all #表示允许任何人从任何地方访问
#
#ScriptAlias/cgi-bin/"e:/apache2/cgi-bin/"
#
# allowoverride None
# Options None
# Order Allow,deny
# Allow from all
#
Indexoptions fancyindexing Versi
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.