Author: Michael Douse

How to Install Openfire on Ubuntu 14.04

Verified and Tested 12/30/15

Introduction

Ever wanted to run your own private chat service, either for business or personal use? Openfire is a fantastic open source XMPP instant messaging server that will allow you to do just that.

Prerequisites

– You will need a server with root privileges. If you do not have a server already, you can spin up one of our industry-leading Cloud servers in under 30 seconds.

Getting Ready

Before we begin, update the repo metadata with the following command:

apt-get update

Openfire has one dependency, Java Runtime Environment. Run the following to install:

apt-get install openjdk-7-jre

 Installing Openfire on Ubuntu 14.04

Head over to the Openfire download page. You will want to download the Debian specific package.


How to install Openfire #1


Once you have the file downloaded to your workstation, upload it to the cloud server using an SFTP client of your choice. Some good examples are FileZilla and WinSCP. For more information on uploading files via SFTP, click HERE.

To install the newly uploaded openfire package, use the following command:

dpkg -i openfire_3.10.3_all.deb

Now open your web browser and begin the web-based setup wizard by going to the following URL, substituting your server IP address:

http://YOUR-SERVER-IP:9090/setup/index.jsp

Follow the guided setup to complete the install of Openfire. Most of the values can be left as default unless your situation calls for it.


How to install Openfire #2


For the sake of simplicity, under Database Settings choose “Embedded Database“. This is the easiest and fastest way to get up and running. If you are running an external database, choose “Standard Database Connection” and input your database connection parameters.


How to install Openfire #3


Choose an email address for the Administrator account and set a strong password.


How to install Openfire #4How to install Openfire #5


 

That’s it! Now log in to the admin console with the username “admin” and the password you chose.


How to install Openfire #6


To access the console in the future, simply login via the following URL:

http://YOUR-SERVER-IP:9090/login.jsp

Now you can create a chat room and connect to it with your favorite XMPP chat client. Enjoy! Please check back here for more updates, and learn more about our reliable HIPAA-compliant cloud hosting solutions.


How to upgrade from Fedora 22 to Fedora 23

Michael Douse December 10, 2015 by under Cloud Hosting 0 Comments

Verified and Tested 11/12/15

Introduction

In this article, we will go over how to upgrade Fedora 22 to Fedora 23 utilizing DNF.

Prerequisites

– You will need root privileges.

– A Fedora 22 cloud server.  If you do not already have a server, check out our full line-up of scalable and reliable cloud servers.

Getting Ready

Before we begin, let’s confirm the version of Fedora we are running with the following command:

cat /etc/redhat-release

Your output should look like this:

Fedora release 22 (Twenty Two)

Next we will update the repository metadata and ensure we have the latest package versions on the system:

dnf upgrade -y

Then download and install the Fedora system upgrade tool:

dnf install dnf-plugin-system-upgrade -y

It’s now time to download all the Fedora 23 upgrade packages that we will need for the next step:

 dnf system-upgrade download --releasever=23 -y

If you utilize packages from 3rd party repositories that have not published updates associated with the release, then the upgrade may fail. In this case, you will not be able to continue with the upgrade unless you issue the following command:

dnf system-upgrade download --releasever=23 --allowerasing

*Warning: This will remove the packages that have unsatisfied dependencies. Be sure to review the output to determine which packages will be removed and confirm if it acceptable to you.


Starting The Upgrade

Once the packages have been downloaded, you will be prompted to start the upgrade with the following command:

dnf system-upgrade reboot

The system will now reboot and begin the upgrade. You can monitor the progress from the Cloud Control Panel VNC console. See HERE for instructions on how to access the VNC console. Now just sit back and wait for the upgrade to complete. When it is finished, the system will reboot once more, and you will now be running Fedora 23! You can verify by running the same command as before:

cat /etc/redhat-release

Output:

Fedora release 23 (Twenty Three)

That’s it. Enjoy!


Dropbox set up for a Linux Cloud Server

Verified and Tested 04/28/15

Introduction

In this article, we will go over how to set up Dropbox via command line on a Linux Cloud Server. Dropbox is an excellent tool for making your files easy to share.

Prerequisites

-Any 32-bit or 64-bit Linux server. If you do not know if your system is 32-bit or 64-bit, follow our guide here, or if you need a secure and trusted Cloud server, consider one from Atlantic.Net.

– You will also need a Dropbox account, which you can sign up for one here.

Install Dropbox on your Linux system

Change to the root of your home directory and download the required files based on your architecture:

The command cd ~ takes you to your login directory which it typically your home directory.

32-Bit:

wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

64-Bit:

wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

If you run the ls -a command, you will see a newly created .dropbox-dist folder.

To start the daemon, run the command:

.dropbox-dist/dropboxd

This computer isn’t linked to any Dropbox account…
Please visit https://YOUR-SPECIFIC-LINK to link this device.

Paste the link provided into your desktop web browser, and then login with your account information. Once logged in, check your terminal again. You should see the following:

This computer is now linked to Dropbox. Welcome YOUR-NAME

At this time, your files are being synced to the Dropbox folder that was created in the home folder of your current user. This can take a while, depending on how many files you have.

Now verify that your files were all synced:

ls Dropbox/

Next we will download the command line management script. This script requires Python, so make sure you have it installed. You can see if Python is installed with python -V

wget https://www.dropbox.com/download?dl=packages/dropbox.py -O dropbox_manager.py
chmod +x dropbox_manager.py

Run the script to review the available commands:

./dropbox_manager.py
An example of the ./dropbox_manager.py for Dropbox

An example of what the ./dropbox_manager.py looks like

That’s it! You can now check the status of your synced files and manage other aspects of Dropbox. Check back to learn more about hosting services from Atlantic.Net, including our HIPAA compliant database hosting.


How to Set Up a Mount & Blade: Warband Dedicated Server on CentOS

Michael Douse June 16, 2015 by under Cloud Hosting 0 Comments

2015-04-27 15_17_34-Mount&Blade Warband - TaleWorlds Entertainment

Verified and Tested 04/27/15

Introduction

In this article, we will go over how to set up a Mount & Blade: Warband dedicated server in a freshly provisioned CentOS 6.5 cloud server.

Prerequisites

-You will need to provision a CentOS 6.5 (64 bit) VPS.

-If you do not have a server, consider a CentOS server from Atlantic.Net.  The Recommended plan for this game is the Medium plan.

Install Mount & Blade: Warband dedicated server on CentOS

First we will need to install the EPEL repository:

yum install epel-release -y

Now update system packages and EPEL database:

yum update -y

And finally, all the required packages:

yum install tmux nano wine unzip wget -y

Note: Wine will take several minutes to install so be patient.


Now to open up the require ports in the firewall. The default ports needed for steam and non-steam users are 7240 and 7241. Let us open these up in IPtables:

nano /etc/sysconfig/iptables

Add the following lines before the REJECT rules:

-A INPUT -p tcp --match multiport --dports 7240,7241 -j ACCEPT
-A INPUT -p udp --match multiport --dports 7240,7241 -j ACCEPT
An example of the iptables file after adding the additional rules.

An example of the iptables file after adding the additional rules.

Once you are done, save your changes and exit from nano with CTRL O + Enter, and CTRL X.

Then restart IPtables:

service iptables restart

Verify that the rules are in place:

iptables -L
2015-04-28 00_30_27-104.245.38.202

An example of iptables -L

That’s it for the firewall configuration.


Time to create a separate user for the dedicated server. Call this user what ever you wish, but for the sake of this how-to, I will be using “Warband”:

useradd Warband
passwd Warband

Now let’s change to the home folder of the user we just created and make a directory for our server files:

su Warband
cd
mkdir Warband_Server
cd Warband_Server

Download the Warband dedicated server files to the Warband_Server directory we just created. The most recent dedicated server can be found HERE under the “Other Downloads” section.

2015-04-27 15_18_20-Mount&Blade Warband - TaleWorlds Entertainment

An example of what the “Other Downloads” looks like

We can “wget” the zipped file by right-clicking on the link and selecting “Copy Link Address” (For Chrome) or “Copy Shortcut” (For Internet Explorer):

2015-04-27 15_33_06-Mount&Blade Warband - TaleWorlds Entertainment

Getting the link to download so that we can wget it on the server.

2015-04-27 15_47_08-104.245.38.202

An example when you wget the download link

Now that we have the dedicated server files, we will need to unzip them:

unzip mb_warband_dedicated_1158.zip

Change into the Warband directory you just unzipped. You may need to use TAB to fill out the actual directory name:

cd Mount\&Blade\ Wardband\ Dedicated/

Inside you will find many sample server configuration templates to use. The easiest thing to do is edit one of the pre-existing templates. After deciding what kind of game mode you want to host, open it with nano:

nano Sample_Team_Deathmatch.txt

Review this file for applicable settings. The first changes you will want to make are:

#set_pass_admin ADMINPASS
#set_server_name SERVERNAME
#set_welcome_message WELCOME MESSAGE

Remove the “#” and add the appropriate changes to the admin password, server name, and welcome message. Also, keep in mind that the server name cannot have spaces or special characters in it. If you need to create a space, then use an underscore.

NOTE: You can find additional commands to add to this file from the readme.txt. For instance, I highly recommend adding the following line:

set_control_block_direction 1

If set to 1, blocking will have to be done manually by a mouse. Otherwise, directional blocking will be automatic… and that’s no fun.

One you are done, save your changes and exit from nano with CTRL O + Enter, and CTRL X.


Now let’s take a minute to discuss the TMUX package we installed earlier.

At this point, we are ready to run the dedicated server, but once we start it from the current terminal session, it will stop once we disconnect/exit from the session. This is where TMUX comes in. TMUX allows us to create a “Window” to run other applications in. This allows us to quit our current terminal session while leaving the window open to run whatever service we choose. For a better understanding of TMUX, see HERE.

Note: TMUX is what is referred to as a Terminal Multiplexer. The most popular alternative to TMUX is SCREEN. Both of which have very loyal user bases. It is a matter of preference on which one you decide to use.


Open a new window:

tmux

Now start the dedicated server with Wine. Make sure you are still in the dedicated server files directory when you run this:

wineconsole --backend=curses Sample_Team_Deathmatch_start.bat

Note: Each game mode template has an associated “.bat” file. Run the one that corresponds to the template you edited.

2015-04-27 23_28_28-104.245.38.202

An example of the wineconsole.exe

Once the dedicated server is finished loading, you can close the window with CTRL B + D.

Note: You can re-open any active TMUX sessions with the “tmux attach” command.


Now check to make sure that the server is still running with the “top” command:

2015-04-27 23_36_32-104.245.38.202

An example of top

Now go join your server!

Anet ServerList

An example of the Game server that was created.


How to set up a TeamSpeak server on CentOS 6.6

Michael Douse June 4, 2015 by under Cloud Hosting 0 Comments
Verified and Tested 05/19/15

Introduction

In this article, we will go over how to set up a TeamSpeak (v3) server on a freshly provisioned CentOS 6.6 cloud server.

Prerequisites

-You will need to provision a CentOS 6.6 (32 bit or 64 bit) server.

-SFTP Client such as WinSCP.

Install TeamSpeak on CentOS 6.7

First we will need to go download the TeamSpeak Server files. You can find them here. Make sure to choose the correct architecture (x86 for 32-bit, amd64 for 64-bit):

Download TeamSpeak version

Download TeamSpeak version

 

Next we will go download an SFTP client so we can transfer the TeamSpeak Server file to our cloud server. You can download WinSCP from HERE. You can choose either the installation package or the portable version.

Download WinSCP

Download WinSCP

 


Now to open up the required ports in the firewall. These are the default ports we will open:

UDP: 9987 – Default voice port.
TCP: 10011 – Default file transfer port.
TCP: 30033 – Default server-query port.

 

Edit the following with a text editor of your choice. For this article, we will be using “nano”:

nano /etc/sysconfig/iptables

Add the following lines before the REJECT rules:

-A INPUT -p udp -m multiport --dports 9987 -j ACCEPT
-A INPUT -p tcp -m multiport --dports 10011,30033 -j ACCEPT

Add rules to IPtables

Add rules to IPtables

Once you are done, save your changes and exit from nano with CTRL O + Enter, and CTRL X. Then restart IPtables:

service iptables restart

Verify that the rules are in place:

iptables -L -n
Verify IPtables rules.

Verify IPtables rules.

That’s it for the firewall configuration.


 

Time to create a separate user for the TeamSpeak server. Call this user whatever you wish, but for the sake of this how-to, I will be using “ts3srv”:

useradd ts3srv
passwd ts3srv

Now change to the home folder of the user we just created:

su ts3srv
cd

At this point, we will need to upload the TeamSpeak server package we downloaded earlier. Open WinSCP and type your server IP in the “Host name” input box along with the ts3srv username and password you chose. Then click on “Login”:

WinSCP - Connect to your server.

WinSCP – Connect to your server.

 Note: The first time you connect to your server, you will receive a warning that the host is unknown. Don’t worry, click “Yes” to accept the host key.

Host Key Warning - WinSCP

Host Key Warning – WinSCP

Once you are connected, you will be dropped into the home directory of the ts3srv user we created. Just drag and drop the file we downloaded into the main window:

Upload TeamSpeak server package.

Upload TeamSpeak server package.

You can now verify that the file is on the server with the “ls” command:

Verify upload completion.

Verify upload completion.


Time to install the package:

tar xvfz teamspeak3-server_linux-amd64-3.0.11.3.tar.gz
cd teamspeak3-server_linux-amd64

Note: Your command may be slightly different depending the version that you downloaded or if you chose the 32-bit version.

Now start the TeamSpeak server with the following command.

./ts3server_startscript.sh start
Start the TeamSpeak server.

Start the TeamSpeak server.

WARNING: Make sure to copy down all information that is shown. It WILL NOT be shown again.

Once you copy down the Server Query Admin Account password and the ServerAdmin privilege key, you can hit CTRL + C to exit out. The server will remain running in the background.


Now open up your TeamSpeak client and go join your server!

You will need the password and privilege key that you should have copied down in the previous step:

Connect to your TeamSpeak server

Connect to your TeamSpeak server

 

That’s it!  Now go ahead and edit the default channel and/or start adding new channels. Once you are ready, just give your clients the IP address of the server to connect.


How to Install .NET 3.5 In Windows Server 2012 R2

Michael Douse February 25, 2015 by under Cloud Hosting 0 Comments

Introduction

Numerous applications will require Microsoft’s .NET framework to work correctly. By default, Windows Server 2012 R2 does not have .NET 3.5 installed. This article will explain how to install .NET 3.5 on your cloud server.

Installing .NET on Windows Server 2012 R2

Find and open the “Add Roles and Feature Wizard”

Open Server Manager

Server Manager

The easiest way to get there is through the server manager window.

In server manager select Add roles and features

Add roles and features

Click on “Add roles and features”. This will open a new window as shown below.

Select next

Before You Begin

Select role-based or feature-based installation

Installation Type

Under Server Selection select your server.

Server Selection

You should see only one server under the “Server Selection” window. This will be the case for most users that are not managing multiple servers. Otherwise, you will need to make sure to select the applicable server you wish to install .NET 3.5 on. Click Next to proceed.

The next window will drop you into the “Server Roles” category. You will need to click on the Features category to find “.NET Framework 3.5 Features”. Select the following and click Next to proceed with the installation confirmation.

Locate .NET Framework 3.5 Features and add .NET Framework 3.5

Select feature

Select install on Confirm Installation selection

Confirm Installation selection

Click the Install button and monitor for completion.

Verify Results

Verify Results

You now have .Net Framework 3.5 installed!




How to Set Up Apache Virtual Hosts on Ubuntu 14.04

Michael Douse February 5, 2015 by under VMware Hosting 0 Comments
Verified and Tested 02/17/15

Introduction

In this article, we will go over how to add additional virtual hosts to a Linux cloud server with Apache installed. Each virtual host handles a specific website or domain that will be hosted on the server, including sub-domains. This is referred to as named-based hosting because it allows multiple websites to utilize one set of resources, such as a single IP.

Prerequisites

This article assumes that you have already installed Apache and performed the basic configuration of it. If you have not done so, follow our how-to on this here.

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.