Linux Consulting  

Login or Register  

If you wish to contribute an article, please login or register.

Who's Online  

We have 61 guests online

Add static route with destination

linux 128Q. I have 5 IP addresses from my provider, however, I can only access 1. When I try to access the others internally, they time out.

Another scenario: I would like to access a different subnet. (eg 192.168.0.0/24 from 192.168.1.0/24). How can this be done?

A. You need to add the gateway for particular IPs (or IP range) manually, to the routing table. (This exercise assumes that you are running a linux based router).

Thursday, 03 July 2014 14:00
 

Change default editor in Ubuntu

ubuntu-logo-smThere should a separate article on the "easiness" and "intuitiveness" of the NANO editor. Who would have thought that Ctrl+V stands for Next Page, Ctrl+C for Cur Pos (What is Cur Pos anyway?)? The person that says that this is intuitive should get shot. Completely ignoring well established norms of ALL editors (be it Windows, Mac or Linux) should be a punishable offense.

VI (or VIM) has one advantage over all *NIX editors - it's just there when you need it. No need to install, no matter what distribution or version - it's there. Whether you want it or not, you have to know at least the basic commands of VI. Forcing NANO on me and making me learn random key combinations is unacceptable.

I got distracted, however.

To select one of the more familiar editors in Ubuntu, you can run the following as root:

Wednesday, 25 June 2014 10:15
   

Adding a new user to Joomla 1.5 using custom code

There used to be a nice link on the Joomla site (http://docs.joomla.org/JUser) on how to add a user to Joomla 1.5 using custom code. The link was taken down, so here's that code:

Friday, 20 June 2014 15:27
   

Run a script at shutdown

ubuntu-logo-smQ: I would like to run a script at system shutdown, how do I do that?

A: The best way to do so, is to add it to the /etc/init.d directory and link it to rc0 and rc6 (reboot and shutdown). Here's a sample script:

Tuesday, 27 May 2014 14:13
   

"550 5.1.1 User unknown" Error when Sending to a Distribution Group

Ifexchange2010 you receive an error when sending to a newly created distribution group: "550 5.1.1 User unknown", you have to take the following steps to resolve it:

Monday, 03 March 2014 10:58
   

Create an empty test file in Linux

Q. How can I create an empty test file? 

A. There are several ways, including dd command, but this one is the quickest: 

fallocate -l 10G test.file

Monday, 28 October 2013 14:24
   

Specify search domains for Windows DNS

Q. I've added a server to the DNS, but when I do an NS lookup it doesn't show up, unless a fully qualified domain name (FQDN) is used. How can I fix this.

A. There are many ways to fix this.

1) Quickest way is to add the host to your hosts file:

Edit C:\Windows\system32\drivers\etc\hosts file and add at the bottom:

10.10.10.11    servername

This however, leads to a lot of manual work if you want to do it on an organizational level, so the second method is probably better:

Wednesday, 23 October 2013 14:23
   

Page 1 of 17

<< Start < Prev 1 2 3 4 5 6 Next > End >>
   
Copyright © 1999 - 2014 Virtual Helpme | r | Original Template: Allrounder