How to install Bitdefender on CentOS 7 or Redhat Enterprise. First of all you have to sign up for a Bitdefender Gravity Zone account. If you have it already go to under the Network section and then to Packages.

Click on the Packages tab and click on add on the top left. Input the name of the server, under what company, and select what modules you want to install on the server. Click save. Then the list will populate with the name of the server. Select that server and check mark it. Then on the top select Send download link button. A box will then pop up, then select installation links. Copy and paste the linux download link and add wget to the front.

wget https://cloud.gravityzone.bitdefender.com/Packages/NIX/../...../Bitdefender_for_Linux.tar

Once you download the Linux install file Bitdefender_for_Linux.tar. Now you need to change the permissions on the file to 755.

chmod 755 Bitdefender_for_Linux.tar

After you changed the permissions on the file now its time to extract it and execute the file.

tar -xvf Bitdefender_for_Linux.tar
./installer

Once you execute the installer the installer will set up everything. If you run into a problem executing the ./installer command you need to go individually to the three files you extracted and chmod 755 each file. Then run the command again.

To check the status of Bitdefender running on your server type the following command into the terminal.

bd status

You will get something that looks like this


user@machine /]# bd status
BitDefender EPSec Scan Daemon (bdepsecd) (pid(s) 5114) running... for 0d 0h 3m 39s
BitDefender Live! Daemon (bdlived) (pid(s) 5274) running... for 0d 0h 3m 33s
BitDefender Watchdog Daemon (bdmond) (pid(s) 5266) running... for 0d 0h 3m 33s
BitDefender Scan Daemon (bdsrvscand.bin) (pid(s) 5133) running... for 0d 0h 3m 39s
BitDefender Endpoint Agent Daemon (epagd) (pid(s) 5107) running... for 0d 0h 3m 39s
BitDefender Logger Daemon (bdlogd) (pid(s) 5099) running... for 0d 0h 3m 39s
BitDefender Registry Daemon (bdregd) (pid(s) 5093) running... for 0d 0h 3m 39s

You can also just type the command bd and you will get a list of commands you can run. Now if you would like to run a scan, update Bitdefender you need to run the following command on your terminal. This command will display all your options.

sudo /opt/Bitdefender/bin/bduitool -h

Each option that you see on your screen you will have to run first /opt/Bitdefender/bin/bduitool then the command.

How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 7

In this guide, were going to install LAMP Server CentOS 7.

Step One — Install Apache

In the terminal type the following.

sudo yum install httpd

Once it installs, you can start Apache on your server:

sudo systemctl start httpd.service

The next step is to find out if Apache is running. Go to your browser and type in your ip address.

http://your_server_IP_address

You will see the default CentOS 7 Apache web page, It should look something like this:

default_apache

If you see this page, then your web server is now correctly installed.

 

The last thing you will want to do is enable Apache to start on boot. Use the following command will enable this:

sudo systemctl enable httpd.service

Step Two — Install MySQL (MariaDB)

Now that we have our web server up and running, it is now time to install MariaDB (MySQL).

sudo yum install mariadb-server mariadb

When the installation is complete, we need to start MariaDB with the following command:

sudo systemctl start mariadb

Now that the MySQL database is running, we want to run a simple security script that will remove some dangerous defaults and lock down access to the database. Run the following command:

sudo mysql_secure_installation

Then the prompt will ask you for your current root password. Since you just installed MySQL, you most likely won’t have one, so leave it blank by pressing enter. Then the prompt will ask you if you want to set a root password. Go ahead and enter Y, and follow the instructions:

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorization.

New password: password
Re-enter new password: password
Password updated successfully!
Reloading privilege tables..
… Success!

For the rest of the questions, you should simply hit the “ENTER” key through each prompt to accept the default values. This process will remove some sample users and databases, disable remote root logins.

The next thing you will want to do is enable MariaDB to start on boot. Use the following command:
sudo systemctl enable mariadb.service

Step Three — Install PHP

To install PHP run the following command on the terminal:

sudo yum install php php-mysql

This will install PHP. We need to restart the Apache web server in order for it to work with PHP.

sudo systemctl restart httpd.service

Once this is done that is it. There are also other PHP modules you can install. You can see what’s available by running the following:

yum search php-

Save