and connection to the network. Because the integrity check tool only retains the initial state (snapshot) of the system file to ensure the integrity of the system file; if the system takes its snapshot after a period of time, it is likely that it is no longer an image of the original system File (for example, it has been damaged), so the reliability of the integrity detection has been discounted.
Lab environment
Centos-5.8
Lab software
Gcc-c ++ mak
Tripwire, the latest data integrity check tool in CentOS
Tripwire is an open-source integrity check tool. Tripwire generates a unique identifier (also known as "snapshot") for the file or directory status and stores it for future use. When the Tripwire program runs, it is co
ObjectiveWhen the server is attacked by hackers, in most cases, hackers may modify some important files, such as system files, and so on. In this respect, we use tripwire to establish data integrity monitoring system. Although it can not protect against hacker attacks and hackers on some important files, but the change is able to monitor whether the file has been modified and which files have been modified, so that the attack after the targeted plan t
Now that tripwire itself is fully ready, the next thing we need to do is use it to perform an integrity check.
Iv. maintenance of policy files and profiles if you want to browse the tripwire policy and configuration, but they are stored in binary form or are currently missing, use the following command:
Generate a valid configuration file
# cd/etc/
IntroducedWhen managing a networked server, server security is a very complex issue. Although you can configure firewalls, set up logging policies, buy security services, or lock apps, it's not enough if you want to make sure that every intrusion is blocked.A HIDS can collect your computer's file system and configuration, storing this information for reference and to determine the current state of operation of the system. If there is a change between the known safe state and the current state, i
verify apache users. If you use htpasswd-capachepasswduser to create a user and generate a password, you can also use johnapachepasswd to guess. John output the password on the terminal when he guessed it, and stored the password in the john. pot file.
Another passwordCracker is the classic Cracker you know. Home Page in http://www.users.dircon.co.uk /~ Crypto/
Linux Network Security Tool-Logcheck
Logcheck is a tool used to automatically check system security intrusion events and abnormal activ
Original link: Threat intelligence:reduce the GapIn any event, there are three aspects that must be considered in the face of security threats:
Detection
Emergency response
Prevention
Advanced MALWARE identification to QUICKLY IDENTIFY potential threats (high-level malicious code identification, rapid identification of potential threats)From a simple product introduction, mainly according to show work:
Information about this malicious file and its behavior are now
CentOS 7 security reinforcement, detection, and auditRKHunter: detects Rootkit
RKHunter Portal: http://rkhunter.sourceforge.net/Root Kit details: http://linux.vbird.org/linux_security/0420rkhunter.php
RKHunter Installation
[root@linuxprobe ~]# yum --enablerepo=epel -y install rkhunter
Configure and use RKHunter. For general checks, check that the script is installed in the cron. daily directory and is executed by Cron every day.
[root@linuxp
In the previous article, I have recorded the process of installing mysql under CentOS (CentOS for Linux (13)-installation and configuration of Mysql database under CentOS ), however, when we try to back up data in the database or import SQL files to our database, we may encounter Encoding Problems, when installing mysql in windows, we can select the encoding meth
First open GitHub's Phalcon source address: Https://github.com/phalcon/cphalcon
There are installation steps, as follows
1. Installation tool: sudo yum install php-devel pcre-devel gcc make
2. Download Phalcon Source: Git clone git://github.com/phalcon/cphalcon.git, after download, you can check your desired version of Phalcon by using Git.
3. Go to the relevant subdirectory to install: CD Cphalcon/build.sudo./install
You may experience the following installation failure problem
*php version to
One, download
wget http : / / Nginx . org / Download/nginx - 1 . 9 . - . Tar . GZ
Two, unzip
TAR-XVF nginx-1. 9 . - . Tar . GZ
Three, the configuration into the decompression directory
. / Configure - - prefix = / usr/ Local / Nginx -1.9.14
Four, installation if there is no error, execute the installation command
Make
Make install
5, Site Configuration
Enter/usr/local/nginx-1.9.14/conf
Configure nginx.conf
Six, common mistakes
403:
instance, the site files are uploaded by Java users, extracte
Error: not found in any of your drives. Please insert the CentOS disc and press OK to retryReason:The status of the optical drive is disconnected due to the use of a VM and the use of the disc detection feature.Workaround:Primarily at the beginning of the installation, the following options are available:If the unfortunate choice is OK, then directly to the lower right corner of the optical drive icon select Connect, as follows:When installing
CentOS 7 Setup Boot service to add custom system services
Create a service file
Save Directory
Set up boot from
Other commands
1. Create a service file
File path
vim /usr/lib/systemd/system
Service file Content
[Unit]Description=nginx - high performance web serverAfter=network.target remote-fs.target nss-lookup.target[Service]Type=forkingExecStart=/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.confExecReload=/usr/local/
CentOS common file operation commands and centos commandsSummary of common CentOS file operation commands
I can say that I am a newbie in linux, and I often forget some commands, especially some operations on files. I often need to read the previous notes, today, I posted the "common file operation commands for CentOS"
Upgrade CentOS 4.x to CentOS 5.x
Note:
Current operating system: CentOS 4.x 64-bit
Purpose:
Use the yum command to upgrade CentOS 4.x to the latest CentOS 5.x version.
1. Upgrade CentOS 4.x to
In the initial environment settings, we can use Yum as a resident service to automatically update the system. However, the default server is an official site, which is far away from Chinese users and is extremely fast. However, you can modify the corresponding configuration file of Yum to update the system at high speed. The method is as follows:
Modify/etc/yum. Repos. d/CentOS-Base.repo to change the image site address to the site address in China.
Upgrade CentOS 6.5 to CentOS 7
CentOS7 has been released, and I have been trying to test it on it. I have never had a chance. I can finally feel CentOS7 this time. CentOS6.5 has been used for some time, but since its kernel version remains at 2.6.32, it is decided to upgrade to CentOS7.
By the way, we upgraded the kernel to the latest 3.15.
After the upgrade, the disk suddenly has no space. When querying th
Note: This is not the most highly recommended method to move from centos 6 to centos 7... but it can be med, at your own risk, if the tool says the risk is slight or none. we wowould never recommend using this method with any medium, high or extreme issues present.
Centos upgrade Tool
1. Location of the Tool
The tool is currently available from the testing Reposi
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.