Linux Shared Memory _ server

Source: Internet
Author: User
Tags diff

Overview
If you want to have shared memory support in the APACHE/EAPI, you need to set up a mm shared memory library. In this case, it will allow mod_ssl to use an efficient RAM-based session cache instead of a disk-based session cache.
Attention matters
All of the commands below are UNIX-compliant commands.
The source path is "/var/tmp" (of course, you can use a different path in fact).
Installed in the Redhat Linux 6.1 test pass.
To install with the "root" user.
The version number of MM is 1.0.12.
The source of the package
MM's home page:
Must be sure to download: mm-1.0.12.tar.gz
Issues to be aware of when installing packages
In the installation of MM before and after the file list to you may be a good idea, and then use diff to compare the two file list to find out where the mm file was installed, the method is to install the MM before running the "Find/*>mm1", and in the installation of MM service run "Find * * > MM2 ", then execute the command" diff MM1 MM2 >mm "To get the installation file list.
Compiling programs
To decompress a package (tar.gz):
[root@deep]# CP Mm_version.tar.gz/var/tmp
[root@deep]# cd/var/tmp
[root@deep]# tar xzpf mm_version.tar.gz
Compiling and installing
The CD enters the new mm directory and then type the following command on the terminal:
./configure
--disable-shared
--prefix=/usr
This step tells MM for the current hardware configuration: Disable shared libraries.
[root@deep]# Make
[root@deep]# Make Test
[root@deep]# make Install
Note: the "make Test" command will do some important testing to verify that it works properly and react correctly before installing this program.
Clear unnecessary files
[root@deep]# cd/var/tmp
[root@deep]# RM-RF mm-version/mm_version.tar.gz
The RM command clears all source files used to compile the installation mm service and also clears the compressed files of mm from the "var/tmp" directory.
More information
For more detailed information, refer to the following man descriptions.
MM (3)-shared Memory Library
Mm-config (1)-MM Library Configuration/build Utility
Files installed in the system
>usr/bin/mm-config
>usr/include/mm.h
>usr/lib/libmm.la
>usr/lib/libmm.a
>usr/man/man1/mm-config.1
>sr/man/man3/mm.3
Responsible Editor: Hilinux (01-04-12 23:01) [Close window] [forwarding mail]

==> Hint Information <==
You are welcome to express your personal opinion on this article, before you publish please note the following questions:
1, you must be a registered user of Linuxaid, and you have successfully logged in before you can publish, if you have not logged in, please click here, if you have not registered, please click here to register, in your login/registration completed after the system will automatically bring you back to this page;
2, you published the content of the right to represent your personal opinion, and linuxaid position is irrelevant, if necessary, you must be published in the content of the full responsibility;
3, the content of your publication does not allow the inclusion of pornography, illegal or harmful to national security statements, otherwise will be prosecuted to the current;
When you fill out the relevant content, please note the following questions:
1, the theme maximum length of 120 bytes, only allowed to use in addition to "" "," "" in English characters;
2, the content of the maximum length of 250 bytes, can contain any characters.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.