Monday, March 26, 2018

How to install cPanel on existing centos 7 server

Warning: Installing cPanel on an existing server/configuration/installation is a huge risk and doing mistakes might cause you to wipe out or make your server unusable, do this at your own risk.

I really wanted to install cPanel on a dedicated server running centos 7. The server doesn't serve any websites and just existing to help me accomplish some tasks.

You will need to uninstall httpd, and remove any mysql databases or installation throughout the process.

However, no support was given from my host and everything online said you need to wipe our your server before installing it, here is how to install cPanel on an existing server without wipeout.

Step 0: Log in to the root account via SSH to your server, command:

ssh root@1.1.1.1 

Make sure you replace 1.1.1.1 with your server's IP address.

Step 1: If you haven't set your hostname already, do it now.  The hostname is any domain or subdomain linked to the server, in that case, I will assume it is called www.example.com. To set up your hostname, type this command:

hostname: www.example.com

If this works, the terminal will remain silent.

Step 2: If httpd is installed (highly likely), remove it by typing this command:

yum remove httpd

Then, you will be asked a question, type:



Here is a screenshot:



Step 3: If mysql is installed (highly likely), remove it by typing this command:

yum remove mysql mysql-server -y 

Here is a screenshot: 


Then run this command:

mv /var/lib/mysql /var/lib/mysql_old_backup

If there are no problems, the server will be silent when you run mv.

Step 4: Run a separate screen, to do that type:

screen

Step 5: Run this command:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

You should see something like this: 


Step 6: Wait for around 30 to 45 minutes for the installation to finish. It might take more.

Step 7: Visit installed VHM login on:

www.example.com:2087


The password is the root account of the server and its password.

Step 8: Follow all necessary instructions, then go to:

www.example.com:2083

You may be able to login normally to cPanel now:


Share:

Tuesday, March 20, 2018

I think I found the best VPN ever made

Almost every internet enthusiast will use a VPN at some point, VPNs are probably a billion dollar industry today due to the increasing demands. VPNs promise to give you another IP address thus masking your real IP address. Casual users aren't really interested how it is done and most don't know how they operate; they just want an anonymous IP address to use.

There are many reasons why people use VPNs, one of which would be to increase their privacy online. That would work if you want to hide the websites and files you download from your ISP but it would never work if you want to hide your real IP address and location from websites such as google.com or amazon.com. At some point, they will always be able to route your original IP address. If private corporations are very much advanced against VPNs, governments would be much more advanced.

Having said all that, I definitely don't use VPNs for privacy protection, but instead, I use it to access entertainment content available to only US customers.

I tried to do that in the past hundreds of times, but always failed where Netflix detected I was on a proxy and refused to stream until it was off:



And recently, I found a VPN that was able to fool Netflix into being a US network and I was able to access US Netflix from Lebanon. I was desperate, I had already started White Collar in the UK, they obviously don't have the license to broadcast it in Lebanon, so I've tried PureVPN. And it actually worked:


Awkward silence.

Netflix might appear simple on the outside but inside they have an extremely advanced technology, for example, their video player is immensely advanced and I had started to believe it is more advanced than YouTube's video player.

Nextflix's fight against VPN is no secret as most and almost all VPNs don't work while on Netflix.  PureVPN seems to have won the fight today, and it works very perfectly without any performance issues, for streaming on Netflix, a Chrome extension has to be installed where you insert your credentials:


And not only Netflix US can be accessed but other services as well: 

This is not an advertisement for PureVPN but merely a feedback. I am very impressed by their new technology and their proxies that go undetected. This can be contrasted to a 'mouse and cat game' so now Netflix and other companies will have to catch up and find out how they can fight against those evolving proxies.  
Share: