1. support apache2;
2. read spectra file and run scripts;