25. Install Linux Malware Detect (LMD)
Linux Malware Detect (LMD) is an open source Linux malware scanner released under the GNU GPLv2 protocol, which is specifically designed for the host environment under threat. LMD Complete installation, configuration, and usage methods can be viewed:
- Install LMD and use it with ClamAV as an anti-virus engine
26. Test server bandwidth with SPEEDTEST-CLI
SPEEDTEST-CLI is a tool written in Python to test the network download and upload bandwidth. About the complete installation and use of the SPEEDTEST-CLI tool please read our article using the command line to view Linux server bandwidth
27. Configure Cron Tasks
This is one of the most widely used software tools. It is a task scheduler, for example, now schedule a job that can be run automatically later. It is used for logging and maintenance of records that are not processed, as well as other routine tasks, such as regular backups. All schedules are written in the file/etc/crontab.
The crontab file contains the following 6 domains:
Minute date month week Order (0-59) ( 0-23) ( 1-31) ( 1/jan-12/dec) (0-6/sun-sat) Command/script
Crontab Domain
To run a cron task (such as running/home/$USER/script.sh) at 04:30 every day.
time of Day month Week Order 4 * * * SPEEDTEST-CLI
Add the following entry to the crontab file '/etc/crontab/'.
4 * * * /home/$user/script.sh
After adding the above line to Crontab, it will run automatically on the daily 04:30 am, and the output depends on the contents of the script file. In addition, the script can be replaced by commands.
28. Installing Owncloud
Owncloud is an HTTP-based data synchronization, file sharing, and remote file storage application.
29. EnableVirtualBox Virtualization
Virtualization is the process of creating virtual operating systems, hardware, and networks and is one of the hottest technologies today. We'll discuss in detail how to install and configure virtualization.
Our minimal CentOS server is a non-user interface server (LCTT: no user interface [headless] server refers to a server that does not have peripherals such as monitors and mouse keyboards). We install the following package to allow it to host virtual machines that can be accessed via HTTP.
# yum Groupinstall ' development Tools ' SDL kernel-devel kernel-headers dkms
Installing development tools
Change the working directory to '/etc/yum.repos.d/' and download the VirtualBox library.
# wget-q HTTP://DOWNLOAD.VIRTUALBOX.ORG/VIRTUALBOX/DEBIAN/ORACLE_VBOX.ASC
Install the key you just downloaded.
# RPM--import ORACLE_VBOX.ASC
Upgrade and install VirtualBox.
# Yum Update && yum install virtualbox-4.3
Next, download and install the VirtualBox expansion pack.
# wget Http://download.virtualbox.org/virtualbox/4.3.12/Oracle_VM_VirtualBox_Extension_ pack-4.3.12-93733.vbox-extpack# vboxmanage extpack Install Oracle_vm_virtualbox_extension_ Pack-4.3.12-93733.vbox-extpack
Installing the VirtualBox expansion pack
Installing VirtualBox expansion Pack
Add user ' VBox ' to manage VirtualBox and add it to the group Vboxusers.
# adduser vbox# passwd vobx# usermod-g vboxusers vbox
Install the HTTPD server.
# yum Install httpd
Install PHP (supports SOAP extensions).
# yum Install php php-devel php-common php-soap PHP-GD
Download Phpvirtualbox (a PHP-written open-source VirtualBox user interface).
# wget Http://sourceforge.net/projects/phpvirtualbox/files/phpvirtualbox-4.3-1.zip
Unzip the zip file and copy the extracted folder to the HTTP working directory.
# unzip phpvirtualbox-4.*.zip# CP phpvirtualbox-4.3-1-r/var/www/html
Next, rename the file/var/www/html/phpvirtualbox/config.php-example to var/www/html/phpvirtualbox/config.php.
# MV Config.php.example config.php
Open the configuration file and add the ' username ' and ' password ' that we created in the previous step.
# VI config.php
Finally, restart the VirtualBox and HTTP servers.
# service Vbox-service restart# service httpd restart
Forward port and access it from a server that has a user interface.
http://192.168.0.15/phpvirtualbox-4.3-1/
Login PHP Virtualbox
PHP Virtualbox Panel
30 things to do after installing the minimized Rhel/centos 7 (v)