Category: Tweaks

Tweaks

How to set watermarks in video using FFMPEG

To watermark video using FFmpeg, run ffmpeg -i SOURCE.mp4 -vf “drawtext=text=’WATERMARK_TEXT’:x=10:y=H-th-10:fontsize=32:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2” OUT.mp4 In the above command replace SOURCE.mp4 = file name of the video you need to watermark. OUT.mp4 = file name for the watermarked video. WATERMARK_TEXT = Text you need to watermark on the video.

Control Panel, CPanel / WHM, Tweaks

Optimize MySQL & Apache on cPanel/WHM server

Optimize MySQL & Apache on cPanel/WHM server On this optimization process, we will go over the Apache core configuration and modules that are part of Apache core. We think that with the correct settings of Apache and MySQL you can get excellent results and the correct level of resource use without installing third-party proxy and cache modules. …

Cloud Linux, CPanel / WHM, Tweaks

How to change the color of your BASH prompt

How to change the color of your BASH prompt You can change the color of your BASH prompt to green with this command: export PS1=”\e[0;32m[\u@\h \W]\$ \e[m” It will change the colour of bash temporarily. To make it permanent then add code in bash_profile page. vi ~/.bash_profile and paste above code save the file and you …

Tweaks, Uncategorized

How to tweak linux server harddisk using hdparm

Tune your hard disk for high performance Using hdparm First of all you have to install hdparm in linux. apt-get install hdparm #hdparm /dev/sda /dev/sda: readonly = 0 (off) readahead = 120 (on) geometry = 8850/255/63, sectors = 142182912, start = 0   Hard disk Performance Information # hdparm -tT /dev/hda /dev/hdd: Timing cached reads: …