Compiling google’s mod_pagespeed for nginx

This post is intended mainly to Zyxel NSA310 users. Prerequisites See first for building environment, script and other things not defined here. Before starting do declare the environment variables specified to the link above. Environment & other preparations […]

Linux media conversion

sudo apt install libav-tools webm to mp4 ffmpeg -i “Jurjak – Bucuresti.webm” -qscale 0 “Jurjak – Bucuresti.mp4” ffmpeg -fflags +genpts -i “Jurjak – Bucuresti.webm” -r 24 “Jurjak – Bucuresti1.mp4” -> change to 24 FPS ffmpeg -i “Jurjak – Bucuresti.webm” […]

Linux hardware information

# sources: # RAM sudo lshw -short -C memory sudo lshw -C memory sudo dmidecode -t memory VGA memory sudo dmesg | grep Reserving [ 0.000000] Reserving Intel graphics stolen memory at 0x5ef00000-0x7eefffff compute now using a hexadecimal calculator […]

Linux youtube downloader errors

first, let’s see the youtube-dl error youtube-dl [youtube:playlist] PLEmVsSEEP5HDTSik5ZSyOWz0qsS1tPos_: Downloading webpage [download] Downloading playlist: cantece pt copii in germana [youtube:playlist] playlist cantece pt copii in germana: Downloading 6 videos [download] Downloading video 1 of 6 [youtube] dtZ7U7csvcw: Downloading webpage […]

X server and related managers

See also # nice explanation about the entire startx workflow # explanation about sessions # list available desktop environments ls -l /usr/share/xsessions # show current login/display manager cat /etc/X11/default-display-manager # see also lightdm-greeter from Alternatives Configurator: ls -l […]

Plex Transcoding with low cost slow CPU

I have Ubuntu 16.04.1 LTS on this low power SoC board Asrock N3150DC-ITX with N3150 CPU: According to (see The Guideline) I quote: Very roughly speaking, for a single full-transcode of a video, the following PassMark scores are […]

Transmission on Ubuntu

Important files /etc/init.d/transmission-daemon -> SysV service /etc/default/transmission-daemon -> run by /etc/init.d/transmission-daemon /********/.config/transmission-daemon -> CONFIG_DIR in /etc/default/transmission-daemon /********/.config/transmission-daemon/settings.json User and Group running transmission-daemon change to desired ones (e.g. USER=************) in /etc/init.d/transmission-daemon

Boost or at least unlock the website’s performance

### configure /etc/sysctl.conf: # Uncomment the next line to enable TCP/IP SYN cookies # See # Note: This may impact IPv6 TCP sessions too net.ipv4.tcp_syncookies=0 # # fs.file-max = 6815744 # # # The maximum […]