Mongodb Installation
1. Download mongodb
Wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.8.5.tgz
2, tar xvf mongodb-linux-x86_64-1.8.5.tgz
Music mongodb-linux-x86_64-1.8.5/mongodb
Mv mongodb/data
Create a data file storage
IPTraf is a network monitoring tool with more powerful functions than nload. It can monitor all traffic, IP traffic, protocol-based traffic, and set filters, such
For the monitoring network, this is more suitable and more powerful, but in the
First, perform the following steps:
(C ++ version), you must first install the JAVA environment JDK 1.6 or later, so the original JAVA environment must be upgraded, the idea was to upgrade the original JDK (gcj component), but later found that the
Install apache using the source code. skip this step.
I. First, enable the VM function.
[Root @ localhost ~] # Vim/usr/local/apache2/conf/httpd. conf
Locate this line and remove the # comment (different versions may not be in this line)
46
SWFTools is a set of utilities that work with Adobe Flash files (SWF files. This toolkit includes SWF files for reading, combining them, and creating programs from other content (such as, sound files, videos or source code) with them. SWFTools is
In CentOS 6.x Security proftpd:
yum -y remove vsftpdyum -y install proftpdchkconfig proftpd on
After changing the settings and re-activating proftpd, the ftp user cannot log on normally !! It is also irrelevant to the setting of the fire prevention
The http_gzip_module is used for gzip compression. This module supports online real-time compression of output data streams. Example:
Gzip on;
Gzip_min_length 1000;
Gzip_proxied expired no-cache no-store private auth;
Gzip_types
Apache provides a series of authentication, authorization, and access control modules. Here we use the most convenient mod_auth_basic, mod_authn_file, and mod_authz_user modules to implement directory or file authentication by entering users and
Open the Apache configuration file httpd. conf, for example,/etc/httpd/conf/httpd. conf by default.# Vi/etc/httpd/conf/httpd. confAdd the following Virtual Machine configurations to the end of the httpd. conf file.
NameVirtualHost *: 80 // note:
1. grep IntroductionGrep (global search regular expression (RE) and print out the line, full search for regular expressions and print out rows) is a powerful text search tool, it can use regular expressions to search for text and print matching rows.
1. swap Overview
Swap partition, that is, Swap zone. The role of Swap space can be simply described as: when the physical memory of the system is insufficient, a part of the physical memory needs to be released, for the currently running program.
Many Linux users encounter the following dilemma when installing the operating system: How to accurately evaluate and allocate the capacity of each hard disk partition? If the original evaluation is inaccurate, once the system partition is
Specific operations:1: Click vmware and move the focus to vmware.2. Inserted into the USB flash disk, which is automatically recognized by the System3. Create a mount directory. Generally, # mkdir/mnt/udiskAt this time, he will automatically detect
As we all know, the current time-sharing operating system can run multiple programs on a single CPU, making these programs seem to be running at the same time. Linux is such an operating system.In linux, each running program instance corresponds to
CentOS uses the YUM source to install the X Window System graphical interface.
Yum grouplist # view installable ComponentsYum groupinstall "X Window System"
If you install GNOME Desktop
Yum groupinstall "Desktop"
If you install KDE Desktop
Yum
Recently, some customers often asked why, after installing various environments in Linux, they accidentally found that the memory was not enough. For example, the system's original 80% MB memory was nearly of the memory, and it seems that it was not
1. What is scp?
Scp is short for secure copy. It is used to remotely copy files in Linux. Similar Commands include cp, but cp only Copies files on the local machine and cannot be copied across servers, scp transmission is encrypted. It may slightly
Pack all files in the/homef Directory into A. tar file.
1 $ tar-cvf test.tar/home /*
A file named test.tar will be obtained.
Pack all files in the/homecatalog into a tar.gz file.
1 $ tar-czf test.tar.gz/home /*
A test.tar.gz file will be
I. What is the screen command?
Screen is a full-Screen window manager that allows multiple processes to reuse one physical terminal. Screen has the concept of session. You can create multiple screen Windows in one screen session, just like
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