After a long search I found a nice TFTP server GUI for linux. It is called tftpgui and written in phython by Bernard CzenkuszIt Simple and easy as it should be: it has a tftproot folder where you should place […]
How to setup chroot and bindfs
In order to allow a user to have restrict access to a specific directory we should use the chroot and bindfs setup:(tested on Centos 7 x64) bindfs Mount a directory to another location and alter permission bits. bindfs is a […]
chroot mount bind
mkdir -v -p /sftp/root/${USER}/home chown root.root /sftp/root/${USER} mount –bind //${DIR} /sftp/root/${USER}/home useradd -g tomcat -s /sbin/nologin ${USER} sshd_config Match Group tomcat AllowTcpForwarding no ForceCommand internal-sftp -u 0002 -d home ChrootDirectory /sftp/root/%u All folder must have permission as 777, so I […]
ssh tunnel squid proxy setup
SSH is a very secure encrypted connection. Much much easier to setup then a VPN. its quite easy to setup, on the server side all we need is Open SSH and Squid on the client side Windows we can use […]
Centos 6 python 3.5 django
I do like working with RedHat / Centos 6 (python 2.6.6) but when it comes to Python, urghh…They just remain old old, its sad. I dont know why. Solution is to use virtualenv and install a second python version. At […]
sudo apt-get update behind proxy
When using sudo apt-get update behind a proxy you must do visudo Defaults env_keep = “http_proxy https_proxy ftp_proxy DISPLAY XAUTHORITY”
How to restream mms to wowza
How to restream mms to wowza (Centos 6 and Linux AMI) Add these repos /etc/yum.repos.d/centos.repo [centos] name=CentOS-6 – Base baseurl=http://mirror.centos.org/centos/6/os/x86_64/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 enabled=1 priority=1 protect=1 includepkgs=SDL libtheora gsm libdc1394 libdrm liboil mesa-dri-drivers mesa-dri1-drivers mesa-dri-filesystem libraw1394 libpciaccess cppunit libLLVM /etc/yum.repos.d/dag.repo [dag] […]