Address Space Layout Randomization is one of the exploit mitigation technique that's implement in most modern OS. But for academic purpose, we can deactivated it for a while
In linux, ASLR can be configured through /proc/sys/kernel/randomize_va_space # cat /proc/sys/kernel/randomize_va_space 1