Cloud Hosting

What is the cPanel TSR-2016-0001 Announcement?

Atlantic.Net NOC January 21, 2016 by under Cloud Hosting 0 Comments

Introduction

On January 18th, 2016, cPanel announced a patch to address security concerns with cPanel and WHM (TSR-2016-0001).  This patch addresses 20 vulnerabilities in cPanel & WHM cloud hosting software versions 11.54, 11.52, 11.50, and 11.48.

cPanel has rated these updates as having CVSSv2 scores ranging from 2.1 to 10.0.  Security level definitions can be located here.

At this time, additional information regarding the security vulnerabilities has not been made available.  This information is currently set to be released on January 25th, 2016.  You can check the cPanel Announcement page here for updates.

So what does this mean?

cPanel is suggesting that all cPanel/WHM servers that are not set to automatically update perform manual updates to the policies.  This will fix the vulnerabilities before they become an issue.

The Fix for the cPanel TSR-2016-0001 Announcement

Start by logging into your WHM management page.  In the options on the left, almost all the way at the bottom is a section named “cPanel” and under that section is “Upgrade to Latest Version”.  By clicking on Upgrade… option, it will take you to a page allowing our to “Click to Upgrade.”

cpanelupdate

After clicking on the blue “Click to Upgrade” button, an installation window will appear and run.  This may take a few minutes, but be assured that the process is running.  Once this is completed, the completion bar will state 100%, and the text box will turn green.  This means all your cPanel accounts have been updated to the current version and are safe from the potential vulnerabilities.

cpanelupdate2


How Elon Musk Stole My Car

Marty January 14, 2016 by under Cloud Hosting 0 Comments

This was my personal experience with Tesla Motors. I’m a fan of what Tesla Motors is trying to accomplish and hope they get their issues worked out.

 

With a new baby on the way, I was in the market for a new vehicle.  I scheduled a test-drive with Tesla Motors (Tesla) in mid-November and was on the fence about purchasing a Tesla. I had some questions which I emailed my test-drive consultant, but didn’t receive any response and I wasn’t particularly in love with the car, so I let it go.

Read More


How to Install Nginx, MySQL, PHP (LEMP) stack On a Debian 8.3 Cloud Server

Brendan Bonner January 13, 2016 by under Cloud Hosting 0 Comments
NGINX Car by Walker Cahall

NGINX Car by Walker Cahall

Verified and Tested 8/26/16

Introduction

This how-to will show you how to install LEMP on a Debian 8.3 cloud server. LEMP is a web service stack that consists of a Linux operating system, NGINX, MySQL, and PHP. The main difference between LAMP and LEMP is that LAMP uses Apache and LEMP uses NGINX. LEMP has been gaining popularity within the last few years because it excels in speed and scalability.

Prerequisites

A server with Debian 8.2 installed.  If you do not have a server,  please consider an SSD Cloud server from Atlantic.Net

Installing LEMP on a Debian 8.3 Cloud Server

First we want to make sure that your server is up to date by running the command:

apt-get update
apt-get upgrade

Note: Depending on your installation you may need to remove apache2. You can do that by running the commands:

apt-get remove apache2*

Followed by:

apt-get autoremove

Installing Nginx on Debian 8.3

To install Nginx use the command:

apt-get install nginx

When it asks “Do you want to continue? ”  Hit enter.

Start the Nginx service with the following command:

service nginx start

We can now test Nginx, by going to your hostname or IP address in your browsers address bar. If you do not know your IP address you can run the following command:

ifconfig

You should get a result similar to the image below.

An example of ifconfig that shows the IP address of 192.168.0.2

An example of ifconfig that shows the IP address of 192.168.0.2

 

In our example, 192.68.0.2 is the IP address. So in our browser we would go to http://192.68.0.2

You should see a web page that looks like the image below.

This is the default webpage when installing Nginx on Debian 8

This example is the default Nginx web page on Debian 8.3

 

Now that Nginx is installed, we can move on to installing MySQL.

Installing MySQL on Debian 8.3

Install MySQL with the command:

apt-get install mysql-server

When it asks “Do you want to continue?” hit enter.

Shortly after, a screen similar to the image below will appear.  You need enter a password for your MySQL root user. It should be a strong password.

Insert your own secure password for your new MySQL root passwod

Insert your secure password for your new MySQL root password

 

Hit enter to continue. Once you have hit enter, a new screen will appear prompting you to re-enter the password you just picked.

Re-enter your new root password.

Re-enter your new root MySQL password.

 

Now that MySQL is installed we need to do the MySQL secure installation by running the command:

mysql_secure_installation

Enter your MySQL root password. When it asks “Change the root password?” Type N followed by enter. The rest of the questions are up to you. For standard installations, you can hit enter for the defaults.

An example of the mysql_secure_install

An example of the mysql_secure_install

 

Now that MySQL is installed we can now install PHP.

Installing PHP on Debian 8.3

Install PHP with the following command:

apt-get install php5 php5-fpm php5-mysql

When it asks “Do you want to continue?” hit enter.

For Nginx to work with PHP correctly, we need to edit a Nginx configuration file. In this how to, we are going to place a simple Nginx config file.

First we need to moved the original to a new file name, run the command:

mv /etc/nginx/sites-available/default /etc/nginx/sites-available/default.old

Using a text editor of your choice, we are going to make a file called default in /etc/nginx/sites-available. For nano use the command:

nano /etc/nginx/sites-available/default

Copy the following into your text editor:

server {
        listen       80;
        server_name  your_site_name.com;
        root /var/www/html;
        index index.php index.html index.htm index.nginx-debian.html;

        location / {
                try_files $uri $uri/ =404;
        }

        error_page 404 /404.html;
        error_page 500 502 503 504 /50x.html;

        location = /50x.html {
                root /var/www/html;
        }

        location ~ \.php$ {
                try_files $uri =404;
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                include fastcgi_params;
        }
}

In nano to exit and save, hit ctrl+x and type y and then enter.

We are now going to make a simple PHP page to test.

Using a text editor of your choice, we are going make a file called info.php in /var/www/html

nano /var/www/html/info.php

Copy the following into your text editor.

<?php
phpinfo();
?>

Since we made changes to the conf files, we need to restart Nginx, by running the command:

service nginx restart

In your browser, you can go to http://Your-Hostname/info.php or http://Your-IP-Address/info.php

You should see a web page similar to the one below.

An example of what your info.php file should look like

An example of what your info.php file should look like

Congratulations you have installed LEMP on Debian 8.3. Thank you for following this How-To! Check back for more updates, and take a look at our how-to Installing WordPress on Debian 8. Atlantic.Net offers expert technical support and  services like Managed Cloud Hosting and popular one-click install applications like cPanel Cloud Hosting.


Why Deis and what is it?

Adnan Raja January 12, 2016 by under Cloud Hosting 0 Comments

Do you want to join the era of open platform-as-a-service? Adopted by Mozilla among others, Deis is one option that combines the strengths of Docker and Chef.

  • Groundwork of Deis
  • DevOps & NoOps
  • Born from Docker
  • Decision to Transition to Chef
  • Hats Off to Heroku
  • Deis on the Rise
  • Commercial Support Now Available
  • Deis Hosting from Industry-Leading Cloud

Groundwork of Deis

If you are a developer, it’s nice to see all the different types of environments and tools that are becoming available to automate the implementation of apps and to manage infrastructural components. With the nuts and bolts handled, it’s becoming easier to really focus squarely on innovation.

One way to leverage new technologies to improve the lives of developers is via a platform as a service (PaaS). This form of cloud computing give them an ecosystem that creates a distinction between the program and the OS.

Read More


How to Install Apache, MySQL, PHP (LAMP) On Arch Linux

Jose Velazquez January 12, 2016 by under Cloud Hosting 0 Comments
LAMP - Lighting created by Walker Cahall

LAMP – Lighting  created by Walker Cahall

Verified and Tested 1/12/16

Introduction

This how-to will help you with your LAMP installation in Arch Linux so that you can successfully run a high available solid platform for your web environment. LAMP is simply a software bundle that consists of 4 components that work together to form a powerful web server.  However, in this setup the acronym’s are as follows: Linux (L) is the core of the platform which will sustain the other components. Apache (A) is used for the web service. MySQL (M) is used for database management,  and PHP (P) is used as the programming language.

Prerequisites

You need an Arch Linux server that is configured with a static IP address. If you do not have a server already, please consider our cheap and reliable Cloud Hosting plans and spin a new server up in under 30 seconds.

Read More



A Two-Year Ansible Case Study

Sam Guiliano January 8, 2016 by under Cloud Hosting 0 Comments

Are you interested in finding a new configuration management system? Here are some thoughts from one system administrator’s two years of experience with Ansible.

  • The Search for Easy Configuration
  • Why Ansible over Chef, Puppet & SaltStack?
  • Uses
  • A Few Tips from Experience
  • Cloud from Infrastructure Experts

The Search for Easy Configuration

If you are trying to figure out which configuration management system would work best for you, you may have SaltStack, Puppet, or Chef on your list. We all develop our comfort zones with certain tools, and it can sometimes be a little confusing to figure out which of a variety of environments is best.

Read More


How to Install Cacti Monitoring on Ubuntu 14.04

Arnaldo Arrieta January 8, 2016 by under Cloud Hosting 0 Comments

Introduction

Cacti is a web-based tool for monitoring and graphing, designed as an easy-to-use front-end for the data logging software RRDTool.

Cacti allows you to graph data–such as system load or network traffic–polled over predetermined intervals. It most commonly polls network utilization data via Simple Network Management Protocol (SNMP). You can also use custom shell scripts and executables to collect data.

This guide will show you how to install and perform a basic setup to begin using Cacti on your server.

We will use example.com in this guide. Replace it with the domain name or IP address you have configured on your server.

Prerequisites

  • This guide covers installation on Ubuntu 14.04 (or later) server. You can run Cacti on a different flavor of GNU/Linux, but some of the distribution-specific steps outlined below will differ. If you do not have an Ubuntu server, Atlantic.Net offers a wide range of industry leading cloud hosting. solutions.

Read More


How to Limit Your Root User Access in Debian and Ubuntu

Jason Mazzota January 7, 2016 by under Cloud Hosting 0 Comments
Verified and Tested 1/7/16

Introduction

What we’ll be doing in this tutorial is making it so that you can no longer SSH using your root user. In this article, we are using Ubuntu 14.04 64bit in our Cloud. However,  this also works on any modern version of Ubuntu or Debian. We will be making a new user on the server to use as our new SSH user and we will be setting the user up to be a sudo access user. In other words, the new user will be able to access commands as if it were the root user!

Prerequisites

A server with root access on Debian or Ubuntu. Need a Debian or Ubuntu server? Try one of our Cloud hosting solutions.

Limiting Your Root User Access in Debian and Ubuntu

First, we will want to SSH into our server as the root user using your preferred SSH client. Now what we will want to do is run the below command to make a new user and their home directory.

adduser newuser --home /home/newuser

You will want to change “newuser” to be the new user that you wish to create. After running this, you will be prompted to create a password for the user. After creating the password, you will be prompted to add details to this new user. These details are for you and you may fill them out if you’d like. If not, simply press enter through each step and finish by verifying your new user information and entering ‘y’ for yes and pressing enter.

Remember to always use strong passwords!

Sample adduser

Sample adduser

Now, we will want to edit our sudoers file so that our new user can run commands like the root user.

visudo

note*In Debian, you do not need to configure your visudo. In fact, all you need to do is run:

adduser newuser sudo

Where newuser is your username. If you are running Debian, you may skip to the testing the new user section below.

In your sudoers file, you will need to locate the area that has the below information. This is where we will be adding our new user’s rights. Right under the root entry, you will want to make the entry:

newuser ALL=(ALL:ALL) ALL

The newuser entry is your new user. It should look similar to the below picture.

Sample sudoers

Sample sudoers

If you don’t know how to edit in vi, you will want to (on your keyboard) hit the Insert button. Then go to the location to add the new user information and type it out. When you are done hit the ESC key on your keyboard and then do “:wq!” to save your changes.

Now the next thing to do is to test the new user! The best way to do this is to either log out or create a new SSH session using that new username and password to log in. Once you log in successfully, we can test your sudo access by going into the SSHD configuration file as the new user. This is because we still have one more change to do to prevent root log in. You can use your favorite editor for this part, we are using vi.

Note: To use other commands on the server “as root” you will need to preface it with sudo

sudo vi /etc/ssh/sshd_config

This command will open the SSHD configuration file like you are the root user. You will want to locate the “PermiteRootLogin” option indicated by the green indicator in this picture and change the “yes” to a “no”

locate the “PermiteRootLogin” option indicated by the green indicator in this picture and change the “yes” to a “no”

Once done, save and exit the file. Then run:

sudo service ssh restart

You will now be unable to SSH to your server as the root user.

Thank you for following along this how-to, we hope you enjoyed it.  Please check back here for new updates or check out our related articles below.


How to: SFTP Commands – Securely Transfer Files to a Remote Server

Atlantic.Net NOC December 29, 2015 by under Cloud Hosting 0 Comments
Verified and Tested 08/31/15

Introduction

In this How-to, we will be going over the  SFTP commands to make our lives easier and to work more effective in our shell sessions. SFTP is an acronym for “Secure File Transfer Protocol” and it is a secure way for file management over a network using SSH. Essentially it is FTP using SSH.

Prerequisites

– You need two Linux servers that configured with static IP addresses. One server to run the SFTP commands and one server to connect via SFTP.

If you need Linux servers, you can visit our Linux Cloud Hosting page and spin up a new server in under 30 seconds.

Read More


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources

We use cookies for advertising, social media and analytics purposes. Read about how we use cookies in our updated Privacy Policy. If you continue to use this site, you consent to our use of cookies and our Privacy Policy.