Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 7. instalasi modul tambahan di centos ikuti langkah2 dibawah ini :
- chown -R apache:apache /var/www/html/
- yum -y update
- yum -y install nano zip unzip libreoffice python
- nano /etc/systemd/system/soffice.service
- # Start File #
- [Unit]
- Description=Soffice Service
- After=network.target remote-fs.target nss-lookup.target
- [Service]
- Type=simple
- ExecStart=/usr/lib64/libreoffice/program/soffice --nofirststartwizard --headless --norestore --invisible "--accept=socket,host=localhost,port=6969,tcpNoDelay=1;urp;"
- RestartSec=5
- ExecStop=/usr/bin/pkill -F /var/run/soffice.pid
- PIDFile=/var/run/soffice.pid
- [Install]
- WantedBy=multi-user.target
- # End File #
- systemctl daemon-reload
- systemctl start soffice.service
- systemctl status soffice.service
- systemctl enable soffice
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement