You are on page 1of 13

FINAL REPORT

CONFIGURATION OF FTP SERVER AND DATABASE SERVER


COURSE : Data Communication and Networking INSTRUCTOR :Sir Kashif Bashir SUBMITTED BY : M.Azfaar Kabir Siddiqui (55869) M. Hasan Bari

Table of Contents
Introduction: ................................................................................................................................................. 2 Linux overview: ............................................................................................................................................. 3 Project: .......................................................................................................................................................... 4 Hardware used: ............................................................................................................................................. 6 Software used: .............................................................................................................................................. 6 Installing ubuntu: .......................................................................................................................................... 6 Configuration of mysql:............................................................................................................................... 12 Apache2 installation ................................................................................................................................... 13 PHPMYADMIN installation: ......................................................................................................................... 13

Introduction:
The Database server is the core service for storing, processing, and securing data. The Database server provides controlled access and rapid transaction processing to meet the requirements of the most demanding data consuming applications within your enterprise. Use the Database server to create relational databases for online transaction processing or online analytical processing data. This includes creating tables for storing data, and database objects such as indexes, views, and stored procedures for viewing, managing, and securing data. You can use SQL Server Management Studio to manage the database objects, and SQL Server Profiler for capturing server events.

Linux overview:
Linux is, in simplest terms, an operating system. It is the software on a computer that enables applications and the computer operator to access the devices on the computer to perform desired functions. The operating system (OS) relays instructions from an application to, for instance, the computer's processor. The processor performs the instructed task, and then sends the results back to the application via the operating system. Explained in these terms, Linux is very similar to other operating systems, such as Windows and OS X. But something sets Linux apart from these operating systems. The Linux operating system represented a $25 billion ecosystem in 2008. Since its inception in 1991, Linux has grown to become a force in computing, powering everything from the New York Stock Exchange to mobile phones to supercomputers to consumer devices. As an open operating system, Linux is developed collaboratively, meaning no one company is solely responsible for its development or ongoing support. Companies participating in the Linux economy share research and development costs with their partners and competitors. This spreading of development burden amongst individuals and companies has resulted in a large and efficient ecosystem and unheralded software innovation. Over 1,000 developers, from at least 100 different companies, contribute to every kernel release. In the past two years alone, over 3,200 developers from 200 companies have contributed to the kernel--which is just one small piece of a Linux distribution. This article will explore the various components of the Linux operating system, how they are created and work together, the communities of Linux, and Linux's incredible impact on the IT ecosystem.

Project:
1. FTP SERVER :
File Transfer Protocol (FTP) is a TCP protocol for uploading and downloading files between computers. FTP works on a client/server model. The server component is called an FTP daemon. It continuously listens for FTP requests from remote clients. When a request is received, it manages the login and sets up the connection. For the duration of the session it executes any of commands sent by the FTP client. Access to an FTP server can be managed in two ways:

Anonymous Authenticated In the Anonymous mode, remote clients can access the FTP server by using the default user account called "anonymous" or "ftp" and sending an email address as the password. In the Authenticated mode a user must have an account and a password. User access to the FTP server directories and files is dependent on the permissions defined for the account used at login. As a general rule, the FTP daemon will hide the root directory of the FTP server and change it to the FTP Home directory. This hides the rest of the file system from remote sessions. buntu Linux comes with various ftp servers to setup FTP service such as: => proftpd - Versatile, virtual-hosting FTP daemon => vsftpd - The Very Secure FTP Daemon => ftpd - FTP server => wu-ftpd - powerful and widely used FTP server => wzdftpd - A portable, modular, small and efficient ftp server => pure-ftpd - Pure-FTPd FTP server We configure our server using vsftpd because vsftpd is the Very Secure File Transfer Protocol Daemon. The server can be launched via a super-server such as inetd or xinetd. Alternatively, vsftpd can be launched in standalone mode, in which case vsftpd itself will listen on the network.

Step # 1: Install vsftpd


sudo apt-get install vsftpd

Step # 2: Configure /etc/vsftpd.conf


After installing, run the commands to open vsftpd.conf file.

Add the following line (uncomment line) to the vsftpd configuration file:

Save and close the file.

Step # 3: Restart vsftpd:


To restart vsftpd type the command :

The important to remember when editing the file is to comment out ( # ) anonymous_enable=YES and remove the comments for both local_enable=YES and write_enable=YES.

2. DATABASE SERVER :
Our project in Data comm and Networking is database server which holds the database. Database server is the term used to refer to the back-end system of a database application using client/server architecture. The back-end, sometimes called a database server, performs tasks such as data analysis, storage, data manipulation, archiving, and other non-user specific tasks.

Hardware used:
Intel core 2 duo based system Included Lan card and wifi Router

Software used:
Ubuntu 12.04 Apache2 Phpmyadmin Php5 Mysql (database)

Installing ubuntu:

Configuration of mysql:
To install MySQL, run the following command from a terminal prompt: sudo apt-get install mysql-server

Once the installation is complete, the MySQL server should be started automatically. You can run the following command from a terminal prompt to check whether the MySQL server is running: sudo netstat -tap | grep mysql

When you run this command, you should see the following line or something similar: tcp 0 0 localhost.localdomain:mysql *:* LISTEN

If the server is not running correctly, you can type the following command to start it: sudo /etc/init.d/mysql restart

You can edit the /etc/mysql/my.cnf file to configure the basic settings -- log file, port number, etc. For example, to configure MySQL to listen for connections from network hosts, change thebind_address directive to the server's IP address: bind-address = 192.168.0.5

Replace 192.168.1.5 with the appropriate address.

Apache2 installation
sudo apt-get install apache2

PHPMYADMIN installation:
Sudo apt- get install phpmyadmin

After installing all the essentials, restart my sql, then copy html or php files in /var/www/ folder, for the sake of connecting through other computers, give the system ip address, can be found by (ip addr) command, now we have configured database server sucessfully

You might also like