Posts Tagged “vi”

MapPress is a WordPress plugin that provides an interface to Google Maps and easily allows you to insert detailed Google Maps into WordPress posts or pages. We have a site that provides password auditing services called QD Tools and on the homepage there is a map that lists the city, state/province, and country of our customers. I have been using MapPress Pro for a long time because it offers lots of extra features and MapPress itself is such an awesome plugin I like supporting the developer. Anyhow the Google Map on the QD Tools homepage is has over 1,000 markers and continues to grow. I wanted to modify the default MapPress/Google Maps marker that was being used but there is no way in MapPress to retroactively change this so the instructions below explain how to do this.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , , , , ,

Comments 2 Comments »

Changing the default text editor to vi on Ubuntu is fairly easy however it may be tricky depending on how it has been set since there are numerous ways. In BackTrack Linux for instance the default editor is set using select-editor so if you follow another Ubuntu Linux howto it may tell you to modify the default editor using update-alternatives. Below I describe setting the default text editor using both of the mentioned methods and note a couple other locations where it can be set.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , , , , , ,

Comments No Comments »

When attempting to install dhcp3-server on BackTrack Linux version 5 R3 you likely will run into a dependency error. This error was received on a brand new install of BT5r3 so the issue would be the same on any current install. Below I describe the error installing dhcp3-server on Backtrack in more detail as well as how to easily fix the problem. It should also be noted that this will likely fix other dependency issues you might have run into with a fresh install of BT5r3.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , , , ,

Comments No Comments »

Recently I was contracted to do some work for a new client that had around 25 CentOS Linux and Ubuntu Linux servers. The client needed various system administration tasks completed such as updating the servers, modifying a couple scripts that performed automated tasks, and a couple other basic tasks. I typically use vi to modify scripts or text files on Linux servers so when I started to perform my tasks I started getting annoyed as the vi default configuration included the line numbers which makes it a pain to copy/paste from the files you are editing. You can obviously turn off the line number display by typing “:” followed by “set nonu” (both without the quotes) however that does get old. Use the information below to change the default vi configuration so line numbers no longer display by default.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , , , , , , ,

Comments No Comments »

I was installing some tools on my mac today which I wanted to have in the path. Specifically I was installing the Android-SDK tools. I wanted to have the adb shell come up no matter which directory I was in. Being a Linux guy I check out /etc/profile but discovered that mac does it just a tiny bit different . Below I will show you two ways to edit your path in mac OSX. One is permanent and one only lasts until reboot.

Read the rest of this entry »

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , ,

Comments 2 Comments »