Remote And Local Entanglement Of Ions Using Photons And Phonons