-
Archives
-
Meta
Category Archives: Linux
Vim A Quick Guide
Customization First step into Vim is to customize certain attributes that will make life easier. Each user can have their customized vim template and it’s because these settings can be stored in a file named .vimrc located in your home directory. If not already there, create one yourself. Add the following lines which enables certain features in vim. close and save, and reopen vim to see the difference. For more …
Git Basics: A Quick Reference
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 …
Setting up Apache HTTP Server on CentOS
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 …
Setting up Git on CentOS
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, …
Setting up a SSH server on CentOS
SSH allows users to connect to a remote linux/unix operating system and access it as if they were using it directly. 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. With X window forwarding enabled, you can even run remote applications on your local machine, even if the machine is a windows PC. …