Your Ad Here

Thursday, October 28, 2010

Installing FTP Server on UBuntu 10.10

It’s pretty simple to install and to a basic configuration of an FTP server on Ubuntu 10.10 Maverick Meerkat. By default Ubuntu uses a package called vsftpd as an FTP server, which is currently the most popular FTP package for Linux systems. To install the vsftpd package, use the following command at the Terminal:

sudo apt-get install vsftpd

Follow the default prompts, and the vsftpd server will be installed on your computer. Generally, the default configuration for vsftpd is pretty secure. Anonymous users are blocked, and no one can write files to the server. If you want to change any settings, the configuration file for vsftpd is /etc/vsftpd.conf. You can edit with this command:

sudo gedit /etc/vsftpd.conf

(New users will probably find gedit the easiest to use due the graphical interface, but more experienced users can opt for vi or emacs instead.)

If you want users to be able to write files to your FTP server, change this directive:

#write_enable=YES

To this:

write_enable=YES

If you make any changes to the file, save them, and then restart the vsftpd server so it reads its new directives:

sudo /etc/init.d/vsftpd restart

You can then test your Ubuntu machine’s FTP service from the local command line:

ftp 127.0.0.1

You should be able to log into the FTP server using your local Ubuntu system account.

Friday, September 10, 2010

Installing VLC on Ubuntu 10.04

For video-viewing needs in Ubuntu, install VLC Media PLayer.

Here's how:

Step 1: Log in as root

su root

Step 2: Install VLC

apt-get install VLC

Monday, August 30, 2010

Setting-up Fedora 13 as a LAMP Server

This short guide demonstrates how to setup Fedora 13 as a LAMP server containing Apache, PHP, Perl, Python, Ruby and MySQL.

yum install httpd
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-shout php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
yum install mysql mysql-devel mysql-server
yum install httpd-devel ruby ruby-devel
yum install mod_python
yum install mod_perl
yum install perl-HTML-Parser perl-DBI perl-Net-DNS perl-Digest-SHA1 perl-ExtUtils-AutoInstall perl-NetAddr-IP perl-Archive-Tar
/etc/init.d/httpd restart

Now you have got everything installed except for mod_ruby;

cd /tmp
wget http://www.modruby.net/archive/mod_ruby-1.3.0.tar.gz
tar zxvf mod_ruby-1.3.0.tar.gz
cd mod_ruby-1.3.0/
./configure.rb --with-apr-includes=/usr/include/apr-1
make
make install

/etc/init.d/httpd restart

You have to add mod_ruby by hand in /etc/httpd/conf.d/ruby.conf
By adding

LoadModule ruby_module modules/mod_ruby.so

Installing VLC Media Player on Fedora 13

This will work on Fedora 12 and 13.

Step 1: Add RPM Fusion repositories

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Step 2: Install the media players:

yum install mplayer-gui
yum install xine
yum install vlc

Step 3: Enjoy your videos!

Monday, June 14, 2010

Patching Fedora

In Windows (assuming you're using a genuine one), patches and updates happen all the time. These are to keep our systems immune from the latest security threats and fix bugs.

Well, in the Linux world, these updates are a part of user's routine.

Here's how to patch (or update) the Linux kernel:

1. Open a Terminal
2. Log in as root:

#su root

It will ask you for your root password

3. Type this: yum update

-

Sunday, June 13, 2010

Installing WINE in Fedora

WINE (Windows Emulator) - needed if you would like to run native Windows applications on your Linux box. Unless the open source guys rewrite every program that works on windows to work on linux, this little program's going to be useful.

How to install:

1. Open a Terminal
2. Log in as root (this is for fedora 13) - #su root
3. Type: yum install wine

That's it!

-

How to Install OpenOffice in Fedora 13

Scenario:

- You install Fedora on your system and succeeds
- You boot into it
- You want to type your first document or create your first spreadsheet on a linux platform
- Alas, you search the menu bar and realize that OpenOffice (MS Office open-source rival) is no where to be found

Don't fret my friend, here's how to install OpenOffice:

Step 1: Open a Terminal
Step 2: Log in as root user

# su root

It will prompt you to enter the root password that you've setup during installation (it's a mortal sin to forget this).

Step 3: Type this: yum groupinstall "Office/Productivity"

Ta da!