Tags » Gnu/ Linux

Free SSL for VestaCP on CentOS

cd /usr/local
yum install git -y
git clone https://github.com/letsencrypt/letsencrypt.git
git clone https://github.com/interbrite/letsencrypt-vesta.git
mkdir -p /etc/letsencrypt/webroot
ln -s /usr/local/letsencrypt-vesta/letsencrypt.conf /etc/httpd/conf.d/letsencrypt.conf
ln -s /usr/local/letsencrypt/letsencrypt-auto /usr/local/bin/letsencrypt-auto
ln -s /usr/local/letsencrypt-vesta/letsencrypt-vesta /usr/local/bin/letsencrypt-vesta
service httpd restart
letsencrypt-vesta admin mysite.com
… 159 more words
Operating Systems

Raspberry Pi Size of Directories

Calculate all directory sizes using:

q to exit

Operating Systems

Transmission Log

sudo transmission-daemon --logfile /var/log/transmission.log
Operating Systems

Split and Join Large Files

split –bytes=1024m bigfile.iso small_file_


split -d -a 10 –bytes=1m bigfile.iso small_

Then, merge again:

cat small_file_* > joined_file.iso

Operating Systems

CentOS Auto Start Service


chkconfig transmission-daemon on

chkconfig transmission-daemon off

Operating Systems

CentOS Transmission Torrent

yum install transmission-daemon

service transmission-daemon start
service transmission-daemon stop

sudo nano /var/lib/transmission/.config/transmission/settings.json

Set rpc-authentication-required true
sudo nano /etc/init.d/transmission-daemon
DAEMON_ARGS=”-T –blocklist -g $TRANSMISSION_HOME/.config/transmission”
DAEMON_ARGS=”–blocklist -g $TRANSMISSION_HOME/.config/transmission” 63 more words

Operating Systems

Add New Mime Type into CentOS

nano /etc/mime.types

application/vnd.android.package-archive apk

apk files will be downloadable

Operating Systems