Which Desktop Environment? KDE, Gnome, XFCE, wm, none???
KDE: Control Center / Peripherals / Keyboard / NumLock Setting
Other DE's have their own way - poke around.
If you do not run X, then there is a solution too. But there are so many options in Linux, you have to help us out here. We are not mind readers.