Cloud Hosting

Benefits of WordPress Cloud Hosting: About WordPress in the Cloud

Sam Guiliano August 24, 2015 by under Cloud Hosting 0 Comments

Why do WordPress and the cloud work so well together?

Content management systems (CMS’s) are now fundamental to website development. WordPress has proven especially popular. Originally designed as a blogging platform, people quickly started to realize it could be used to create entire sites. It is now used for 75 million projects (websites and blogs) worldwide. It is incredibly easy for users to make their site their own:

Read More


How to: FreeBSD User Administration

Jose Velazquez August 24, 2015 by under Cloud Hosting 0 Comments
Verified and Tested 08/18/15

Introduction

Imagine that you give a copy of your house keys to all of your family members and all of your friends. You get home one day, and it’s been vandalized. Who will you go to for information? It would be chaotic! So you only give your house keys to special people who you trust. In the same way in a network user administration works the same way. It adds a level of security and the peace of mind that if something happens you know who has access to your systems. There are main two types of users commonly used worldwide. You have plain users that have limited access to what they can access and you have super users or admin users that have extra permissions to perform system updates, installs and many other management tasks that normal users can’t. In this how-to we will go through the basics of User Management in FreeBSD and make sure that only users we want to have keys have them.

Prerequisites

You need a FreeBSD server that is configured with a static IP address. If you do not have a server, try our SSD Cloud Hosting get going in under 30 seconds.

Adding users in FreeBSD

For server management, it is recommended that you at least have one user for the server besides the default root account. If you want, add a user or multiple users in FreeBSD you can accomplish this with the following command replacing NAME with the user that you want. (Note: You will be prompted to fill out information about that user, fill out whatever is applicable)

adduser NAME

Root Privileges to Users in FreeBSD

You now have the option to select the type of account you want for your user. You can leave it as a regular user account, or you can add that user root permissions adding that user to the “super user” account with the following:

sudo pw groupmod wheel -m USER1

Removing users in FreeBSD

Once you have no use for a specific user, whether it was a previous employee, a colleague or any other type of user. You can simply remove them in FreeBSD with the following command replacing NAME with that user.

rmuser NAME

Changing user passwords in FreeBSD

There are two ways to change a users password in FreeBSD. You can change it as the root user or the actual user. If you are the root user or have root privileges, you can change a specified users password with the following command replacing NAME with that user.

passwd NAME

If you are the actual user and want to change your current password, you can simply your password with the following command:

passwd

Locking users in FreeBSD

In a networked environment when you have active users or customers, you have the ability to lock and unlock their accounts. To lock a user in FreeBSD, you can type the following command:

pw lock USER1

If you want to reactivate a user in FreeBSD, this can be completed with the following command:

pw unlock USER1

Active Users list in FreeBSD

Since you could have more than one user logged in simultaneously, you have the ability to view a list of all the users that are currently logged in to the system with the following command:

who

Resetting the root password in FreeBSD

In the event of an emergency and you forget or misplaced your systems root password. There is a way that you could manually change/update it by completing the following steps.

1. Log into the server selecting “single user mode.”

2. From the options available, select shell, and press enter.

3. Once in shell run the following command:

mount -a

4. Then you can change your password with the following command:

passwd

5. Finally, you will need to reboot the server to apply the changes with the following command:

reboot

What Next?

Congratulations! You have just learned the basics of User Administration in FreeBSD. Thank you for following along this how-to!  Feel free to check back with us for further updates and browse our many different Cloud hosting options.

How to Install Java (JRE or JDK) on FreeBSD

Jose Velazquez August 21, 2015 by under Cloud Hosting 0 Comments
Verified and Tested 08/18/15

Introduction

If you had the option to choose between a base model car or a fully loaded model, which one will you choose? Both cars will take you from point A to point B, but with the fully loaded car you have additional features that can make rush hour a chill hour. Well, that’s the same concept when we take a closer look at Java. There are two standard types of installations, JRE (Java Runtime Environment) and JDK (Java Development Kit). As the base model car, JRE enables the ability to create Java Applications for different types of deployments using minimal core tools to accomplish the task. JDK is a fully loaded Development Kit that has everything that JRE has plus additional resources to create/secure Applications and Applets.

This how-to will take you through the installation of JRE and JDK on your FreeBSD server.

Prerequisites

You need a FreeBSD server that is configured with a static IP address. If you do not have a server already, you can set up a FreeBSD server with one of Atlantic.Net’s award winning Cloud hosting solutions in under 30 seconds.

Read More


How to Install DenyHost on CentOS 6.7

Jose Velazquez August 21, 2015 by under Cloud Hosting 0 Comments
Verified and Tested 08/11/15

Introduction

In this How-To, we will walk you through the install and configuration of DenyHost on a CentOS 6.7 Server. DenyHosts is used by many System Administrators to protect their servers/networks from Brute force attacks and hackers. It is simple and effective in getting the job done with little experience. Due to the simplicity of DenyHost and the ability to manually configure your rules it is widely used as an alternative to Fail2ban which is a bit more complicated to use and configure. We will now work on getting it installed on your server.

Prerequisites

You need a CentOS 6.7 server that is configured with a static IP address. If you do not have a server already, fire up a cheap and reliable Cloud Server from Atlantic.Net.

Server Preparation

First, we need to make sure that your server is fully up-to-date by running the following command:

yum update

With the server up-to-date, we can continue and install DenyHost on CentOS 6.7.

Install DenyHost on CentOS 6.7

Download the EPEL repository with the following command:

sudo rpm -Uvh http://mirror.metrocast.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm

Install the Deny Hosts package with the following:

sudo yum install denyhosts

We must make sure to allow your IP address to prevent yourself from being denied access. We do this editing the following:

nano /etc/hosts.allow

Add the following line all the way to the bottom of the description with your IP. In most cases, you can use this link to find your IP address.

sshd: YOUR.IP.ADD.RESS

Next we need to block everything by editing the following file:

nano /etc/hosts.deny

Add the following line all the way to the bottom of the description:

 sshd: ALL   **

Save your work and restart DenyHosts with the following command:

/etc/init.d/denyhosts restart

You can further configure any settings in the DenyHosts.conf file by going to the following and updating according to your preference.

nano /etc/denyhosts.conf

Congratulations! You have just installed DenyHosts on your CentOS 6.7 Server. Thank you for following along in this How-To! Check back with us for any new updates, and browse our full lineup of our SSD Cloud Hosting.


How to Install Python 2.7 on CentOS 7.1 or 6.7 with Anaconda

Karoline Alexiou August 20, 2015 by under Cloud Hosting 0 Comments
Python Illustration by Walker Cahall

Python Illustration by Walker Cahall

Introduction

CentOS is a popular Linux distribution because it’s free to use without the need for a license and because the feature-freeze practices applied during the release cycle guarantee long-term stability.

The price for stability is that the operating system ships with certain libraries that are quite out of date. Such is the case for Python, which is found in CentOS distributions at versions 2.6 or even lower. If developers need a higher version of Python, they need to compile and install it themselves.

However, it’s important to leave the already installed Python intact, too. The operating system requires it for internal use, such as for the yum package manager. The most common thing that can go wrong is that a developer, in trying to install the new Python version, manages to corrupt the system (just Google for “installing Python 2.7 on CentOS broke my yum”).

For that reason, it makes sense to use an existing tool that manages Python installations without tampering with the system Python installed at /usr/bin/python, and installs the new version side-by-side with the old one. A relatively new but already widely-used tool for managing Python installations is Anaconda by Continuum.io, which makes building Python quite easy.

Read More


How to Install LEMP (Nginx, MySQL, PHP) on Centos 6.7

Jose Velazquez August 17, 2015 by under Cloud Hosting 0 Comments
NGINX Car by Walker Cahall

NGINX Car by Walker Cahall

Verified and Tested 08/17/15

Introduction

In this How-To, we will walk you through the LEMP install on your CentOS 6.7 Server. LEMP is a software bundle that is made up of four parts (Linux, Nginx, MySQL, and PHP). This how-to will be using CentOS 6.7 which was released on August 7th, 2015, Nginx version 1.0.15, MySQL version 5.1.73 and php-fpm using PHP version 5.3.3.

Prerequisites

A server with CentOS 6.7 already installed. If you do not have a CentOS 6.7 server, you can get a reliable cloud SSD server from Atlantic.Net and be up and running in under 30 seconds!

Installing EPEL in CentOS 6.7 for LEMP

In this how to we are going to install the Fedora epel release to quickly install Nginx. Run the following command to install EPEL:

sudo yum install epel-release

Installing and Configuring NGINX in CentOS 6.7 for LEMP

Install NGINX with the following command:

sudo yum install nginx

Start the NGINX service with the following command:

sudo /etc/init.d/nginx start

Configure NGINX to start when the system is rebooted:

sudo chkconfig nginx on

You will now have NGINX installed on your server. This can be verified by typing in the following with your IP ADDRESS on your browser. Also, all configuration files are provided on the page.

We can now verify Apache is working by opening your browser and entering the URL http://your-server's-address. you should get a blue Nginx test page similar to the image below.

Note: If you do not know your IP address, run the following command:

sudo ip addr show eth0
An example of running the command: ip addr show eth0 and getting 192.168.100.10 for the IP address.

An example of running the command: ip addr show eth0 and getting 192.168.100.10 for the IP address.

In our example we would put http://192.168.100.10 into our browser’s address bar.

 

Sample Nginx Default Webpage

Sample Nginx Default Webpage

Installing and Configuring MySQL on CentOS 6.7 for LEMP

Install MySQL with the following command to begin the install:

sudo yum install mysql-server

Start the service with the following command:

sudo service mysqld start

Set root MySQL password with the following command:

sudo /usr/bin/mysql_secure_installation

Note: You will be prompted with a series of questions. Just type Y for yes on all of them, see the screen shot below:

Sample my_secure_installation output.

Sample my_secure_installation output.

Configure MySQL to start when the system is rebooted:

sudo chkconfig mysqld on

 

Installing and Configuring php-fpm on CentOS 6.7 for LEMP

Install php-fpm with the following command:

sudo yum install php-fpm php-mysql

Start the php-fpm service with the following command:

sudo service php-fpm restart

Make sure php-fpm starts on boot with the following command:

sudo chkconfig php-fpm on

Using your favorite editor, edit the file /etc/php-fpm.d/www.con  and change user and group from apache to nginx. It should look similar to the block below.

; Unix user/group of processes
; Note: The user is mandatory. If the group is not set, the default user's group
;       will be used.
; RPM: apache Choosed to be able to access some dir as httpd
user = nginx
; RPM: Keep a group allowed to write in log dir.
group = nginx

Now we need to make some changes to the Nginx configuration file so that php-fpm works correctly with Nginx. Using your favorite editor, edit the file /etc/nginx/conf.d/default.conf and carry out the following changes or copy the following block below into your conf file.

1) Add the index.php to the index location

2) Change the root location to /usr/share/nginx/html

3) Uncomment the Pass PHP scripts to FastCGI section.

4) Change the fastcgi_param  SCRIPT_FILENAME  to use /usr/share/nginx/html$fastcgi_script_name

#
# The default server
#
server {
    listen       80 default_server;
    server_name  _;

    #charset koi8-r;

    #access_log  logs/host.access.log  main;

    # Load configuration files for the default server block.
    include /etc/nginx/default.d/*.conf;

    location / {
        root   /usr/share/nginx/html;
        index  index.php index.html index.htm;
    }

    error_page  404              /404.html;
    location = /404.html {
        root   /usr/share/nginx/html;
    }

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }

    # proxy the PHP scripts to Apache listening on 127.0.0.1:80
    #
    #location ~ \.php$ {
    #    proxy_pass   http://127.0.0.1;
    #}

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    location ~ \.php$ {
        root           /usr/share/nginx/html;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  /usr/share/nginx/html$fastcgi_script_name;
        include        fastcgi_params;
    }

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    #location ~ /\.ht {
    #    deny  all;
    #}
}

 

Create a test PHP file in the following directory with the following command:

sudo vi /usr/share/nginx/html/info.php

Insert the following code in the space then save and exit:

<?php
phpinfo();
?>

Restart apache so all the changes take effect:

sudo service nginx restart

Test your page in your browser with the following hyperlink changed with yourIP address:
http://YOUR.IP.ADD.RESS/info.php

Sample info.php

Sample info.php

You should removed the info.php file as it could be used against you by an attacker. Delete it with the following command:

sudo rm /usr/share/nginx/html/info.php

Congratulations! You have just installed LEMP on your CentOS 6.7 Server. Thank you for following along in this How-To! Check back with us for any new updates and browse our scalable Cloud Hosting solutions for any sized business.


Reduce Your Cloud Computing Costs – Cut the Middleman

Adnan Raja August 14, 2015 by under Cloud Hosting 0 Comments

If you want to get your cloud computing costs down to the level you expected when you initially made the transition, one expert argues that the solution is simple: cut out the middleman.

When 150 top IT executives in the United Kingdom were asked about the challenges and costs of transitioning to cloud, the results (released in early 2015) were both predictable and startling.

Read More


How to Install a LAMP (Apache, MySQL, PHP) stack on CentOS 6.7

Jose Velazquez August 13, 2015 by under Cloud Hosting 0 Comments
LAMP Magic In Your Hands created by Walker Cahall

LAMP Magic In Your Hands created by Walker Cahall

Verified and Tested 08/12/15

Introduction

In this How-To, we will walk you through the installation of a LAMP stack on a CentOS 6.7 based server. Although we are writing this article in the context of CentOS 6.7, a Linux, Apache, Mysql, PHP(LAMP) server is a common installation stack capable of being hosted on many different Operating Systems. Examples of such are Debian (see our how-to on this here) and Debian based distributions like Ubuntu (see our how-to for Ubuntu here), or RHEL and RHEL based distributions such as Fedora or Scientific Linux. You’ll see these installations occurring on a variety of hosting platforms such as shared web hosting, dedicated hosting and cloud hosting.

In the case of this article, we’ll be utilizing the YUM package manager associated with the RHEL distribution CentOS.

Prerequisites

A server with CentOS 6.7  installed will take care of the Linux aspect of the LAMP stack install. If you do not have a server, consider a reliable SSD cloud hosting server from Atlantic.Net.

Installing Apache on CentOS 6.7

Install Apache with the following command to begin the install:

sudo yum install httpd

Start Apache with the following command:

sudo service httpd start

We can now verify Apache is working by opening your browser and entering the URL http://your-server's-address. you should get a blue Apache 2 test page similar to the image below.

Note: If you do not know your IP address, run the following command:

ip addr show eth0
An example of running the command: ip addr show eth0 and getting 192.168.100.10 for the IP address.

An example of running the command: ip addr show eth0 and getting 192.168.100.10 for the IP address.

In our example we would put http://192.168.100.10 into our browser’s address bar.

 

Apache 2 Test page

Apache 2 Test page

Installing MySQL on CentOS 6.7

Install MySQL with the following command to begin the install:

sudo yum install mysql-server

Start the service with the following command

sudo service mysqld start

Set root MySQL password with the following command:

/usr/bin/mysql_secure_installation

Note: You will be prompted with a series of questions. Simply type Y for yes on all of them, see the screen shot below:

Sample mysql_secure_installation

Sample mysql_secure_installation

Installing PHP on CentOS 6.7

Install PHP with the following command to begin the install:

sudo yum install php php-mysql

Create a test PHP file in the following directory with the following command:

sudo vi /var/www/html/info.php

Insert the following code in the empty space then save and exit:

<?php
phpinfo();
?>

Restart apache so all the changes take effect:

sudo service httpd restart

Test your page in your browser with the following hyperlink changed with your IP address:
http://YOUR.IP.ADD.RESS/info.php

Sample info.php

Sample info.php

It is a good idea to remove your php.info file as it can be used to aid an attacker to compromise your server. You can do that with the following command:

sudo rm /var/www/html/info.php

If you would like Apache and MySQL to start on boot, run the following commands:

sudo chkconfig httpd on
sudo chkconfig mysqld on

Congratulations! You have just installed a LAMP stack on your CentOS 6.7 Server. Thank you for following along in this How-To and check back with us for any new updates, or to learn more about our industry leading cloud hosting solutions.


How to Install Zabbix Server on a CentOS 6.7 Server

Brendan Bonner August 12, 2015 by under Cloud Hosting 0 Comments
Zabbix Vision by Walker Cahall

Zabbix Vision by Walker Cahall

Verified and Tested 11/23/15

Introduction

This how-to will show you how to install Zabbix 2.4 Server on a CentOS 6 installation. Zabbix is an open source monitoring tool that is ideal for monitoring your cloud servers. However, it can monitor many other types of devices. Installing Zabbix can help you find issues with your server before an outage occurs.

Prerequisite

– A CentOS 6.7 server running LAMP. Please see this post for details on installing LAMP on CentOS 6.7.

–  If you do not have a CentOS 6.7 server, try a Cloud Server today!

Read More


How to Configure Logging in IIS Windows Server 2012

Jose Velazquez August 11, 2015 by under Cloud Hosting 0 Comments
Verified and Tested 08/11/2015

Introduction

In this How-To, we will walk you through to Configure Logging in IIS Windows Server 2012.

This feature is set up to store data HTTP request and errors from your website(s) and of your Web Server. Configuring this feature will make your site troubleshooting much easier because you will have logs that serve as a starting point.

Prerequisites

– A Server with Windows Server 2012. If you do not have a server already, why not spin up a Windows Cloud server from Atlantic.Net in under 30 seconds.

– Internet Information Services(IIS) installed on your server. If you need to install IIS, follow our guide Install IIS On Windows Server 2012 R2.

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.