How To Set Up A LAMP Stack.

Okay. So you want to set up your own development environment but you have no idea how to do it.

First thing you want to do is you need a server to install your LAMP Stack (Linux, Apache, Mysql and PHP.) I prefer Centos linux, you can get a free tier t.2 micro server from Amazon Web Services for 12 months if you just want to play around with it.

Okay so you have your server either in-house or at AWS.

I am assuming your running Centos or the amazon version of linux.

How to Update your server:

Please note the -y option installs the update without asking you if you’d like to install the update.

    • Connnect to your server
    • You will then issue this command:
      [ec2-user ~]$ sudo yum update -y
    • Your instance is now up to date.

You now have the latest version of everything that comes with the Linux bundle.

This is where I had some trouble, so stay with me.

How to install LAMP on your server:.

    • To install LAMP you are going to issue this command:
      [ec2-user ~]$ sudo yum install -y httpd24 php56 mysql55-server php56-mysqlnd
    • To start Apache:
      [ec2-user ~]$ sudo service httpd start

You should now be able to go to your public IP address and see the Apache test page.

You have a LAMP stack.

Note: You may have to go a HTTP rule in your security group.


Another Helpful Tip:

The test page is located here /var/www/html

To start your mysql server:
[ec2-user ~]$ sudo service mysqld start

Read carefully in the installation Y is to say Yes N is for No.

This is as far as I will take you.

If you have any questions Email Us!

Feel free to leave comments below as well!

– Liam

How to Make Windows 10 Run Better

So I was sitting here computing like I always do, and I opened my Dell Laptop. We were also watching the Rose Parade off our Roku device and as soon as I opened my laptop, the Roku started buffering.

My Dad said, “You are infected.”

I replied, “I just restored a couple months ago and that was a full re-install.”

So I went ahead and started to “tweak” Windows 10.

Some of the stuff I found was that in Windows 10 when you press the Win key all the apps that are there: Mail, Netflix, etc.

All of these apps grab information, push notifications, and sync with your Microsoft account or whatever else you have set up and use up tons of bandwidth that you didn’t even know you were using. If you look at the Task Manager, you might find that you are using 100mb of data just by looking at your Desktop!

I don’t know how many of you actually use Cortana but I don’t at all. I didn’t realize that Cortana is running in the background too – all of the time – and you can’t kill the task unless you rename the task file location and rename it so it won’t run.

Disabling Cortana:

Instructions on how to disable Cortana:

  • Right click on the Task bar and click Task Manager.
  • Scroll down until you find Cortana.
  • Right click on that and click “Open File Location.” It will open File Explorer and highlight the file that you want.

It will look like this: c:\windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy

Then right click on that file and click “rename.”

Add .bak to the end of the file name. So it looks like this: c:\windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy.bak

Here is the tricky part: You have to kill the process. You will get an error message that says you can’t do it because it’s still open. You need to press Alt-Tab and go back to the Task Manager window. Right click on Cortana and select “End Task.”

Then quickly go back to the open file explorer with the error message and click “Try Again.”

Done. Cortana is now disabled.


Disable All Background Apps

The second thing I did was disable all the background apps.

How to disable background apps:

This is easy. All you have to do is right click on the Task bar again and instead of clicking Task Manager,  click “Settings.

  • Go to “Privacy.”
  • Scroll down to where it says “Background apps” and just click what you don’t need running.

I did all of them.

I use a third-party mail application and I use Google Chrome as my browser not Edge.

Just by changing these two things, I went from 93 running processes to 75 and it continues to drop as I go and uninstall useless applications.

Another helpful tip:

Open the Task Manager (CTRL -ALT-DELETE) and go to the Services Tab. Check hide Microsoft services and it will list all the services that are starting up when you push the power button on your computer.

This is just a couple of steps how to make your Windows 10 machine run better. If you need help with any of it, go to the contact form on the front page and send us a quick email on what you are having problems with. Be sure to include what operating system you are running and all that good stuff.

– Liam