This paper presents procedures and techniques for correcting
the linear optics of the VEPP-4M collider. The accelerator structure
investigation is based on the measurement and analysis of orbit
response matrices (ORM) and optical functions reconstructed from
turn-by-turn (TbT) data. Having no technical description of
quadrupole lenses and corrector magnets, we have calibrated their
current dependencies of magnetic strengths and fields,
respectively. Corresponding to the reference orbit, quadrupole
shifts in each plane have been obtained by using the beam-based
alignment (BBA) technique. The accelerator optics has been corrected
and calibrated at the injection energy of 1.9 GeV. The software
combining automated optical functions measurement and correction has
been developed and successfully implemented at VEPP-4M.