preview doc/ppt/xls online via unoconv.
sudo apt-get install unoconv redis-server php5-redis
git clone https://github.com/nladuo/online_office_viewer.git
cd online_office_viewer && composer install
redis-server
cd online_office_viewer/cli
bash ./start_worker.sh
cd online_office_viewer
php -S 0.0.0.0:8888
Now, You can visit http://localhost:8888/ and upload a office file to see result.
MIT