Git Basics: A Quick Reference

git_basics

This is a quick reference guide to Git basics. If your completely new to Git or version control, this is not the best reading to spend time on. I suggest progit.org or the quick reference guides from the official git website. Init To start tracking a directory: Add To start version-controlling specific files or a sub-set of files you need to add them to the staging area using the add …

Posted in Linux | Tagged , | Leave a comment

Setting up Apache HTTP Server on CentOS

apache_httpd

Setting up HTTPD on CentOS By default the Apache web server is installed on CentOS but even if it is not, you can install it using the following command: to start the service, type the following entry: if you want to be able to access your pages externally, you need to open port 80 on the firewall. Open up the iptables file: and add the following line to the end …

Posted in Linux | Tagged , , , | Leave a comment

Setting up Git on CentOS

centOS_git

Git is a new version control system created by Linus Torvalds. If your starting a project, it is a good idea to have a version control system setup before starting the project. There are alternatives to git but two of the most popular ones are SVN, CVS. The major difference between git and the rest is that git is distributed where svn or cvs are server-client based. Setup By default, …

Posted in Linux | Tagged , , | Leave a comment

Setting up a SSH server on CentOS

centOS_ssh

SSH allows users to connect to a remote linux/unix operating system and work on it as if they were actually physically near it. This allows you to work on your code/project from a remote location and not to worry about coping and pasting the changes made somewhere to another. Setup By default, SSH is installed on your CentOS, but even if it is not for some reason you can install …

Posted in Linux | Tagged , , | 1 Comment

Python: quick start

python_icon

What is Python? Python is a programming language like C or C++ with several key differences.  First, it is not as fast as C or C++ because it’s a scripting language, what this means is that the code doesn’t need to be compiled to a native machine in order for the code to run. (To compile means to turn your code into zero’s and one’s (10010010101) so the machine can …

Posted in Programming Languages, Python | Tagged , , | Leave a comment