Install flash
The prerequisite is that the visual desktop has been installed on the Linux server (for the installation method, please refer to my previous blog https://blog.csdn.net/weixin_50835854/article/details/111722195)
. Visit the flash official https://www.flash on this machine or server. cn/ download the plug-in for the corresponding Linux system.
It is recommended that you download tar and decompress it locally. The size is about 9M and it will be downloaded soon. You can decompress it locally.
Find the libpepflashplayer.so file
and then find the server terminal, find the mozilla directory, the code find /usr -name "mozilla", the result may not be unique
and then arrive in the mozilla directory one by one, the blogger recommends using the pagoda panel (the installation method I also mentioned in other blogs Go to https://blog.csdn.net/weixin_50835854/article/details/109894404) Go
to the mozilla directory to see if there are plugins (plug-ins),
if so, click in and upload the libpepflashplayer.so file to the directory.
It is recommended to try this once in every Mozilla directory. Some directories do not have to be uploaded without plugins. Then restart the server to watch the video.
Install FFmpeg
You can watch the video after installing flash in Firefox. But sometimes there are some need to use html5 player such as Xuetong. The original intention of the blogger is to use the server to brush online courses. After querying data, you need to install a transcoder, and the blogger installed FFmpeg
1. Upgrade the system
#yum install epel-release -y
#yum update -y
#shutdown -r now
Just run them one by one.
2. Install Nux Dextop Yum source
1) CentOS 7
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
2) CentOS 6
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
3. Install FFmpeg and FFmpeg development kit
yum install ffmpeg ffmpeg-devel -y
4. Test whether the installation is successful
ffmpeg
Successful installation