Safety first, you need pins in the rack or at least a safe way to dump the weight (not the best choice). The rack I use at the gym is 1" below my full depth squat. So I can dump the bar just by sitting down. Same when I bench (same rack) with my back correctly positioned I can do a full bench to chest, exhale and lay flat and the bar drops onto the rack.
Deadlifts and squats are similar but not the same:
Mark Rippetoe: Deadlift Set-Up - YouTube
"Go For Broke"
Fat Kine-230/24% @ 6'2"