Sites update/upgrade

Just a quick post talking about update and hardware upgrades on this website and other websites I maintain.

So over the last week, I’ve updated the sites theme and upgrading the hardware the websites run on, the websites are not longer hosted on a contabo (https://contabo.com) vps but now on a vps on my own dedicated server witch I rent from UKServers (https://ukservers.com)

The website is now also running on cPanel instead of just apache making the site much easier to maintain, and the site looks to be loading alot faster

Stats for nerds

Dedicated Servers Specifications

100mb uplink

32GB of ddr3 ram

8 cores + hyperthreading – 3.20 gigahertz

4gb of ram – 2 standalone drive and 2 in raid 1

Running XenServer

cPanel/WHM virtual machine

500GB raid storage

4GB of ram with another 4GB shared reserved

2vcores

IGSteven / November 12, 2017 / Apprenticeships, Development, Thing that interest me / 0 Comments

multicraft install page - Multicraft - the minecraft hosting solution

How to Install Multicraft On CentOS 7

How to Install Multicraft On CentOS 7

What is the Multicraft Control Panel?

Multicraft is a powerful Minecraft control panel witch is brilliant for manging you’re servers or for hosting companies wanting to sell Minecraft hosting with a WHMCS and BoxBilling module with Multicraft you get the ability to limit server ram and player slots the configs and who has console and ftp access to the server (per mc server)

Installing the Dependencies

first its always a good idea to check for updates on you’r systeam

$ yum y update

next we want to install the dependencies, that multicraft requires to run (httpd, php, curl, zip, tar, wget, vim, java 1-8-0 php-mysql and a few other things)

$ yum -y install httpd php php-common php-gd php-mbstring php-ldap php-odbc php-pear php-xml php-xmlrpc php-bcmath php-mysql php-pdo wget vim tar zip curl java-1.8.0-openjdk
once installed 

Ok now we want to download and start installing multicraft

$ wget O multicraft.tar.gz http://www.multicraft.org/download/linux64
$ tar xfvz multicraft.tar.gz
$ cd multicraft
$ ./setup.sh

Now that its installing it will prompt you with a few settings options, I would recommend running each minecraft server under its own user as it says

next we need to make sure the web

$ chown R apache.apache /var/www/html

Now we need to allow override in apache

$awk ‘/AllowOverride None/{c++;if(c==2){sub(“AllowOverride None”,”AllowOverride All”);c=0}}1’ /etc/httpd/conf/httpd.conf > /tmp/httpd.conf; mv f /tmp/httpd.conf /etc/httpd/conf/httpd.conf

 

and now enable and restart apache/httpd

$ systemct1 enable httpd

$ service httpd restart

 

now visit the IP address of the server for example http://172.0.0.2/install.php

multicraft install page - Multicraft - the minecraft hosting solution

click start install.

Now we need to setup our databases

i would just use the default (SQLite) as it docent really matter and it makes it easier to move the multicraft to another server in the future.

 

once you’ve done that, we can now login to multicraft

The default username is admin and the password is admin as well.

 

now its a good idea to enable multicraft as a service so it can boot on lunch ( something i never did for 6months.. so every time i restarted i had to run systemctl start multicraft)

first thing we need to do to make it a service is to create a .service file you can find some online or use the example below.

$ nano /lib/systemd/system/multicraft.service

Now paste this in ( from ssh you can right click after you’ve put it in you clipboard

[Unit]
Description=IGSteven's Multicraft Startup Script
After=syslog.target network.target
 
[Service]
Type=forking
PIDFile=/home/minecraft/multicraft/multicraft.pid
ExecStart=/home/minecraft/multicraft/bin/multicraft -v start
ExecReload=/home/minecraft/multicraft/bin/multicraft -v restart
ExecStop=/home/minecraft/multicraft/bin/multicraft -v stop

[Install]
WantedBy=multi-user.target

now save and you should be good,

$ systemctl enable multicraft 
$ systemctl start multicraft

just like multicraft says we should remove the install file from the public so that people don’t just reinstall mutlicraft, i usually just put it in the /var/www folder

$ mv /var/www/html/install.php /var/www/

 

In the next part I’ll show you how to setup jars on multicraft and creating a server

Mutlicraft install page

IGSteven / October 31, 2017 / Development, Random / 5 Comments

How to installing your own nginx RTMP server

How to installing your own nginx RTMP server

Want to stream to more than one streaming platform such as Twitch, Mixer, Smashcast or youtube gaming at once without using restream or switchboard well then a private RMTP server might be your solution

I’m mainly writing this so cause people ask me how I stream to twitch and mixer without stupid delay you get from services like Restream and SwitchBoard. I’ve been running my own RTMP for around 9 months so far and I’ve only ever had 1 issue with it and that’s because of lack of restarts I’ve no got it on a cron to auto restart every month.

Installing nginx

login to your server using a terminal, this can be with ssh or by with a screen and keyboard plugged into it if you have the server box with you, but I personally use a VPS with Contrabo for my server

You need to install the dependencies,

$ sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev

Now we can download nginx it doesn’t matter where you put it, but I’ve put mine in /home

$ wget http://nginx.org/download/nginx-1.13.1.tar.gz

You also want to download the RTMP Module from GitHub

$ wget https://github.com/arut/nginx-rtmp-module/archive/master.zip

Now we can extract these files and begin the install

$ tar -zxvf nginx-1.13.1.tar.gz
$ unzip master.zip
$ cd nginx-1.13.1

After ok now we get down to business and configure and install nginx with the RMTP module

$ ./configure –with-http_ssl_module –add-module=../nginx-rtmp-module-master
$ make
$ sudo make install

Ok so now the servers installed, lets start it up

$ sudo /usr/local/nginx/sbin/nginx

Configuring RMTP

Where it says (KEY) replace that with you’re stream key for that platform; if you don’t want to stream on that platform you can remove that line,

you can chose if you want to be able to connect the server and watch the stream using publish but if you’re just using this to restream then can just leave it as off.

rtmp {

server {

listen 1935;
chunk_size 4096;

application live {

live on;
record off;
publish on;
push rtmp://live-lhr.twitch.tv/app/(KEY);
push rtmp://ingest-lon.beam.pro:1935/beam/(KEY);
push tmp://a.rtmp.youtube.com/live2(KEY);

}

}

}

Restart nginx/RTMP

to restart nginx and RTMP you can do the following commands,

$ sudo /usr/local/nginx/sbin/nginx -s stop
$ sudo /usr/local/nginx/sbin/nginx

IGSteven / October 28, 2017 / Development, Streaming Tips / 0 Comments

How to install cPanel/WHM on CentOS 7

How to install cPanel/WHM on CentOS 7

cPanel/WHM has a sh installer file that we can download and run on centos 7 witch we can download and run to install cpanel.

Things you’ll need

  • Root access
  • ssh or terminal access

Step 1 – First navigate to you’re home directory as this is where we will put the sh file

$

cd /home

Step 2 – Download the latest version of cpanel/whm

$

7udo wget http://layer1.cpanel.net/latest
Step 3 – run the sh file we just downloaded

$

sudo sh latest
alternatively you can use this command

$

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

IGSteven / October 28, 2017 / Development / 0 Comments

Twitch Logo with a purple background

Why networking is so important as a streamer

Networking is great for bringing in new viewers to your channels. Networking

Teams and Communities

The best way to network, in my opinion, is joining teams and communities if the platform you are on supports it. It’s good to join a team I would recommend trying to Join a pre-established team at the beginning such as Streamers Connected (that’s the team I use and am a developer for) but there were many other teams. Just remember it’s a team and as a team member you should seek to help others succeed, by hang out in their streams and helping to promote them, this has many advantages to it, one being they will most likely return the support and help promote you, you can do this by doing some simple things like sharing out there stream adding them to your autohost, Just give them a heads up you’ve done this. Also try not to make it all about using each other in your team, have fun, play games and have conversations with them try to make a memorable moment for them.

on Twitch, you can be on 1 team and 3 communities and on Mixer, you can be on 3 teams.

Talk to other streamers

Look for other streamers with similar interests that doesn’t have to much of a number difference between them and you, if they are looking for people to play with jump at the opportunity to play with them even try to join them in voice as this gives them and their audience a chance to get to know you and some may check you out.

 

One of my regular viewers was a viewer of Bumblethefox when I jumped in voice with her and a couple of her friends well she drew art so this doesn’t just applied to gamers

AutoHosting

AutoHosting is great for promoting others channels when you are not live and will host there stream on your channel. You can add and sort through a list of Streamers that you will host automatically when you’re not live and they are, Twitch give you the option of adding people of your team to you AutoHost automatically if no one on your list is live

Raiding

So that’s a rap you’re about to end your stream but wait another great thing to do is raiding, this is where before you end up you tell your viewers to go to another channel and say something and they might be inclined to give you a shout out or jump in your stream the next time you are live.

Social Media

One way to network is to use social media platforms as a promotion tool and do it with as many platforms as possible. Use a Facebook page, a Twitter, Instagram, Google plus if you’re a gamer you can also use services like Player.me, FragDNA and even discord. Make sure to follow people that relate to your interested and interact with them.

Taking advantage of Discord, there are a lot of discord’s out there with great communities of other streamers and viewers and a few will have chats dedicated to promotion which you can use to promote yourself and your brand but I would not recommend only being there for promotion, get involved with other channels and have discussions with others on there get to know people and let them get to know you.

 

I'll do a part 2 of things you should not do well networking

IGSteven / September 16, 2017 / Random, Streaming Tips / 7 Comments

Streamers Connected

Streamers connected is the fastest growing Twitch team out there for anyone and i’m working on a community website for them using WordPress with our own custom theme and plugins. I’ve been working hard making sure everything is responsive and relearning my way around WordPress

Here’s a preview of the site

Streamers Connected site preview

Streamers Connected site preview

IGSteven / September 3, 2017 / Development protfolio / 0 Comments

Steve and Firebot

Me and Adam C(cheesecake) have been working on 2 bots

 

Steve is a more personal bot for my stuff

Firebot is a public discord bot

IGSteven / September 3, 2017 / Development protfolio / 0 Comments

BADATGAMING

Badatgaming is one of my first projects I started in 2013 with Joshua W (Zecron). It was my first attempt of making a group of streamers with little knowledge of networking or how the business side of things work.

My original abisions where very self centered, with it mainly revolving around me I later change this to be more about being a team and community based around helping each other grow with

  • adding everyone to our website.
  • Making promotion channels on discord.
  • having a auto retweet bot on Twitter.
  • Creating tools for streamers

This project has been a massive learning experience for me in meny fealds including business, marketing, using third party APIs and oauth and quite a few other very useful things.

Although this is not much of a successful project I’ve tried to keep it up and running as well as condently trying to improve even if I’ve made mistakes.

IGSteven / September 3, 2017 / Development protfolio / 0 Comments

FlareRadio Stream Banner

Flare radio

24/7 online radio station

Flare radio was created in 2016 by Adam C and Luke Hallett with ambitious of a online Radio where presenters with there own shows could just put on some music and even take song requests.

I joined the project because I had a bit of knowledge of how things work and how they can be used. I helped setup icecast and work on improving there site and it’s SEO there autodj along with a project that I was working on for weeks, a way to output the radio from icecast to some streaming platform (rmtp) using ffmpg as well as adding a background to it.

Unfortunately the radio closed a few months later saddly due to the price of PRS n PPL Licences being too expensive just for a little hobby.

IGSteven / September 3, 2017 / Development protfolio / 0 Comments

Scarce Hosting Banner

ScarceHosting

ScarceHosting is a webhosting and game hosted company based in the UK. I worked with them since June 2015 to December 2016 during the I did work on the templates they were using at the beginning as well as making a completely new site, this is were I tried to work on improving my CSS and SEO skills.

Here’s some shots of the site I made for them

To be added, I wrote this on my phone so don’t have the screenshots

I then when on to become the general manager and then a director of the company were I gained experience in management skills.

IGSteven / September 3, 2017 / Development protfolio / 0 Comments