A salvo of artillery started life as a polite hello. The word goes back to the Latin greeting salve, which meant "hail!" and, more literally, "be well."
Salve is the imperative of the verb salvere, which the Latin Dictionary glosses "to be well, in good health." Merriam-Webster traces the greeting to the adjective salvus, "healthy."
The greeting became gunfire through ceremony, when guns were fired together to honor someone. Merriam-Webster traces Italian salva to French salve and from there to the Latin greeting. Its first sense of salvo still includes guns discharged "as a salute," alongside guns fired in battle.
English picked up the word in the 1590s, and Merriam-Webster's first known use is 1591. Somewhere along the way the Italian -a became an English -o, and the plural can be spelled salvos or salvoes.
The military meaning widened over time. A salvo came to mean any simultaneous discharge of guns, and later the release of a full rack of bombs or rockets at once. In the age of sail, ships of the line were placed to bring as many cannon as possible to bear at once. In the dreadnought era, gunners fired half a broadside first, watched where the shells landed, then corrected their aim.
Figurative salvos followed. Merriam-Webster gives "a salvo of cheers" for a sudden burst, and "the first salvo of a political campaign" for an opening attack.
English also has a second salvo with a separate history. From Medieval Latin salvo jure, "with the right reserved," it means a mental reservation or a way of easing one's conscience. Merriam-Webster dates it to 1642.
The Latin root behind the gunfire is a large one. The same salvus and its relatives gave English safe, save, salute and salvage, words about health and rescue rather than artillery.