Serposcope is a free and open source search engine rank tracker application. It is built in Java and it is a cross-platform application. With Serposcope you can track any keywords and any websites you want without any limits. As the software tracks all the websites for a keyword, you can retrieve the ranking history of a competitor at any times. It is flexible and searches can be done from a specific city or a country. Provides user account management so that you can create an account with the ability to monitor specific keywords only.
In this tutorial, we will install Serposcope on CentOS 7 server.
Serposcope requires at least 1GB of RAM. All the required dependencies will be installed throughout the tutorial. You will need a minimal installation of CentOS 7 with root access on it. If you are logged in as a non-root user, you can run sudo -i to switch to root user.
Before installing any package it is recommended that you update the packages and repository using the following command.
yum -y update
Serposcope runs on both OpenJDK and Oracle JAVA. In this tutorial, we will install the latest version of Oracle Java into the server. Run the following commands for same.
To start the application immediately you can run the following command.
java -jar serposcope.jar
But it is recommended to create a systemd service to run Serposcope jar file and create a reverse proxy with Apache or nginx for accessing the application on port 80. Using systemd service will automatically start the application on failures and boot time.
Move the Serposcope jar file to another location using the following command.
mv serposcope.jar /var/serposcope.jar
To create a systemd service, create a new systemd service file using the following command.
Now add the following lines into the text file.
Save the above text into the Systemd service file. You can now run the Serposcope server directly using the following command.
systemctl start serposcope
To enable the application to start automatically at boot time, run the following command.
systemctl enable serposcope
To check the status of the service, run the following command.
systemctl status serposcope
You will likely see the following output.
[root@liptan-pc ~]# systemctl status serposcope
● serposcope.service - Serposcope server
Loaded: loaded (/etc/systemd/system/serposcope.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2017-05-19 14:54:14 UTC; 46s ago
Main PID: 9447 (java)
└─9447 /bin/java -jar /var/serposcope.jar
May 19 14:54:15 ip-172-31-1-14 Serposcope: [2017-05-19 14:54:15,067] [NinjaJetty] INFO c.SerposcopeConf - se...2.7.1
May 19 14:54:15 ip-172-31-1-14 Serposcope: [2017-05-19 14:54:15,071] [NinjaJetty] INFO c.SerposcopeConf - se...scope
May 19 14:54:15 ip-172-31-1-14 Serposcope: [2017-05-19 14:54:15,071] [NinjaJetty] INFO c.SerposcopeConf - se.../logs
May 19 14:54:15 ip-172-31-1-14 Serposcope: [2017-05-19 14:54:15,071] [NinjaJetty] INFO c.SerposcopeConf - se...MySQL
Instead of using the application on Port 7134, you can use nginx to run on port 80 or 443 in the case of using SSL. This way the main application will run on port 7134, and nginx will work as a reverse proxy. Nginx is not available in default YUM repository, hence you will need to install EPEL repository also.
yum -y install epel-releaseyum -y update
Install nginx web server the following command.
yum -y install nginx
Now we will need to generate SSL certificates from Let's Encrypt client. If you can want to use commercial SSL certificates instead, you can purchase SSL certificates from HostPresto.
To install Let's Encrypt client also called Certbot run the following command.
yum -y install certbot
Once the installation finishes, run the following command to obtain the SSL certificates from Let's Encrypt. Make sure that your domain is pointed to the server, the Let's Encrypt will check the domain authority before providing the certificates.
In the above configuration change yourdomain.com to your actual domain. Also, make sure that the path to your SSL certificate and private key are correct.Now start nginx web server and enable it to automatically start at boot time using the following commands.
systemctl start nginxsystemctl enable nginx
Now you will need to disable your SELinux because Proxy configuration does not work with SELinux policies. To temporary disable SELinux without restarting the server, run the following command.
To completely disable the SELinux you will need to edit /etc/selinux/config file.
Find the following line:
Change it to:
Now you will need to reboot your server so that the new configuration can take effect. Now you can start the Jekyll service if not started already using the following command.
systemctl start serposcope
You can now browse the following URL in your favorite browser.
You will see the following screen, which will ask you to create an administrator account.
Provide your email address and password twice, and click on Create button. Once the account is created, you will be taken to login interface, login using same credentials, and you will see the following dashboard.
Truth be told, it’s difficult for a web application that doesn’t have some kind of identification, even if you don’t see it as a security measure in and of itself. The Internet is a kind of lawless land, and even on free services like Google’s, authentication ensures that abuses will...
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...