- configure deploy user
groupadd deployers
adduser deploy
usermod -a -G deployers deploy
- to give the deployers group the permissions, run the following and edit the /etc/sudoers file:
visudo
php bin/console doctrine:mapping:import EntityBundle yml --force
php bin/console doctrine:generate:entities EntityBundlephp bin/console doctrine:mapping:import EntityBundle yml --force --filter=TableName
php bin/console doctrine:generate:entities EntityBundle:CusFileshare --path=srcyum install javawget http://www.us.apache.org/dist/lucene/solr/6.1.0/solr-6.1.0.tgztar xzf solr-6.1.0.tgz solr-6.1.0/bin/install_solr_service.sh --strip-components=2sudo ./install_solr_service.sh solr-6.1.0.tgz/etc/init.d/solr status sudo su - solr -c "/opt/solr/bin/solr create -c core-name-for-solr -n data_driven_schema_configs"
| diff -ruN ffmpeg-orig/libavcodec/Makefile ffmpeg/libavcodec/Makefile | |
| --- ffmpeg-orig/libavcodec/Makefile 2016-03-04 00:17:21.166198276 +0200 | |
| +++ ffmpeg/libavcodec/Makefile 2016-03-04 00:18:17.583433360 +0200 | |
| @@ -102,7 +102,7 @@ | |
| motion_est.o ratecontrol.o \ | |
| mpegvideoencdsp.o | |
| OBJS-$(CONFIG_MSS34DSP) += mss34dsp.o | |
| -OBJS-$(CONFIG_NVENC) += nvenc.o | |
| +OBJS-$(CONFIG_NVENC) += nvenc.o nvenc_ptx.o | |
| OBJS-$(CONFIG_PIXBLOCKDSP) += pixblockdsp.o |
| Running Keycloak on docker | |
| https://www.keycloak.org/server/all-config#_database |
| #!/usr/bin/env bash | |
| START_TIME=$SECONDS | |
| set -e | |
| echo "-----START GENERATING HLS STREAM-----" | |
| # Usage create-vod-hls-gpu.sh SOURCE_FILE [OUTPUT_NAME] | |
| [[ ! "${1}" ]] && echo "Usage: create-vod-hls.sh SOURCE_FILE [OUTPUT_NAME]" && exit 1 | |
| # comment/add lines here to control which renditions would be created | |
| renditions=( |