Posts

Showing posts from June, 2010

Install vlcplayer in Linux

How to install vlcplayer? I know you may have faced problem installing vlcplayer on Linux. Here I will give an example to install vlcplayer through yum on RHEL5.3. Step 1: You first need to configure your local yum repository. Step 2: You can download rpmforge-release rpm which will configure rpmforge repository for you. The rpm can be downloaded You need to add a file named rpmforge.repo under /etc/yum.repos.d/ with the following content in it: [rpmforge] name = Red Hat Enterprise $releasever - RPM forge.net - dag #baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge enabled=1 protect=0 gpgcheck=0 Step 3: Execute the following command to install vlcplayer: [root@pxeclient yum.repos.d]# yum install vlc Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disab...

Configure scponly chrooted in Linux

FTP - Chrooting using scponly Howto Centos 5.1 Chrooting SFTP using SCPonly Installation GCC is installed. OpenSSH is installed. Download scponly from: SCPONLY Link and extract it to /tmp Configure Your Installation Navigate into the directory in /tmp where you extracted scponly. Configure with the bellow command: ./configure --enable-chrooted-binary Build&Install The Binaries make make install This will install your manpage and scponly binary/binaries. Edit /etc/shells using vi to look like this: /bin/sh /bin/bash /sbin/nologin /bin/tcsh /bin/csh /bin/ksh /usr/local/sbin/scponlyc If you want to not use scponly in a chrooted fashion then use the following instead of scponlyc: /usr/local/bin/scponly Set up the jail with the following command which invokes a helper script: make jail The output will look similar to below: /usr/bin/install -c -d /usr/local/bin /usr/bin/install -c -d /usr/local/man/man8 /usr/bin/install -c -d /usr/local/etc/scpon...