Partially taken from here, but some info is outdated, some missing, because I was unable to finish setup with those manual.
So, what we have?
Freshly installed Centos 7 and root access.
Steps need to be done:
yum -y update
yum localinstall -y https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
yum --disablerepo=mysql80-community --enablerepo=mysql57-community install mysql-community-server mysql-devel
systemctl start mysqld.service
systemctl enable mysqld.service
The most common problem with postgresql – it uses ASCII charset by default, and if you want to create database in UTF8, you can see the error “(UTF8) is incompatible with the encoding of the template database”.
Use these few easy steps to solve it:
su - postgres
psql
UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1';
DROP DATABASE template1;
CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING = 'UTF8';
UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1';
\c template1
VACUUM FREEZE;
Now you can use template1
for creation of your database.
Building FFmpeg on CentOS:
1. Update and install build environment:
yum update
yum install make automake autoconf libtool gcc-c++
2. Install YASM:
cd /tmp
wget http://pkgs.repoforge.org/yasm/yasm-1.1.0-1.el5.rf.x86_64.rpm
rpm -ivh yasm-1.1.0-1.el6.rf.x86_64.rpm