See the ulimit documentation.
$ update-rc.d name lvl 2 3 4 5 .
Do not forget the '.' at the end of the commandline!
See the linux kernel documentation.
In ~/.profile the path must be set before calling ~/.bashrc because otherwise no path modifications can be made.