Kevin Whitman's Blog

Tag: PHP

How I got into programming

It started back in the sixth grade. I really wanted to get into programming and creating websites. I would find free web hosts. I had a site up, a few days later my site disappeared. All It had been embedded games. So I went to the main hosting site and it was gone also! Then I found another free host which had a nice web based editor. I made the site I had on the other host, again from scratch. I didn’t know about backing up back then. So once I had the site created again, the next day at school I told some classmates about it. It was a sub domain. I told them the web address. Some of them mistyped the address. It took them to an adult site, I didn’t even know about it. So I never really liked free hosting, and I don’t think I will. Sub domains are really ugly and not full control over my site is also not a good thing.

I wanted to learn more about coding, the free website builders seemed like it lacked features. So I thought maybe if I learn how to code, I could do more, and it was true. Html seemed very basic and a good starting point. I went to the library and got a few html books. I flipped around and got to the forms section then I wanted to create a version of Office for the web. I was going to use a text area, I didn’t know about rich text JavaScript editors for the document area. Also this was before I seen web based office programs. Continue reading

Set up a sandbox to test PHP Apps: Part 2, Install Web Server, PHP, MySQL and PhpMyAdmin

We already installed Ubuntu. Set up root. Now we are going to start up the server again for part 2. Going to login as root.

You could enter commands in the virtual box screen, but copy and paste seems to not work. Plus scroll does not seem to work. So i like to SSH in to it with a SSH client.

Get the server IP:

First we need to get the ip of the sever. When we first login it shows the IP address.

Another way you can get the server ip address is by ifconfig

Connect via SSH:

Open up the terminal App on the Mac.  My server IP is 10.0.1.16.

[code lang=”bash”]
ssh SERVERIP -l root
[/code]

Continue reading

Copyright © 2010 - 2024 Kevin Whitman's Blog

Back To Top ↑