Friday, April 13, 2012

Configure FTP server on Fedora 16/17

This post is about the configuration of FTP server for the specified users.

$ sudo yum install vsftpd
$ sudo nano /etc/vsftpd/vsftpd.conf

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ftpd_banner=Welcome to FTP server!!
chroot_local_user=YES
listen=NO
log_ftp_protocol=YES
max_per_ip=5 # Max number of allowed connections per IP Address.
max_clients=5 # Max number of different IP Addressed which are allowed to connect.
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES


Wednesday, April 11, 2012

Install Lexmark Z600 printer driver on Fedora 16/17

$ sudo yum install glibc-2.* cups-libs-1.5.* compat-libstdc++-33.i686 popt.i686 cups-libs.i686

Download CJLZ600LE-CUPS-1.0-1.TAR.gz.

$ tar xvzf CJLZ600LE-CUPS-1.0-1.TAR.gz
$ export _POSIX2_VERSION=199209
$ tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz
$ tar -xvzf install.tar.gz
$ sudo rpm -ivh z600cups-1.0-1.i386.rpm z600llpddk-2.0-1.i386.rpm
$ sudo systemctl restart cups.service


 Add the printer using the Lexmark Z600 driver in System > Administration > Printing.

Source: http://heuristically.wordpress.com/2010/12/03/install-lexmark-x1150-printer-driver-fedora/

Install Skype on Fedora 16/17

$ sudo yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686

Download Skype for Fedora from here: http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/

$ sudo yum install skype-2.2.0.35-fedora.i586.rpm

Gedit configuration

Here is some useful configuration for gedit:

Open gedit and go to Edit > Preferences

View tab:
Display line numbers = true
Highlight current line = true
Highlight matching brackets = true

Editor tab:
Tab width = 4
Enable automatic indentation = true
Create a backup copy of files before saving = false