During the Boxer Rebellion, Linevich was commander of the 1st Siberian Army Corps. He participated in the Battle of Peking in 1900. In 1903, he was appointed commander of the Amur Military District as Governor-General of Dauria.