First thing in establishing your own software development company is to setup a development server, this way your developers can synchronize and manage their work as a team. This is a 4 step instruction on how to setup a development server. Software includes:
- SSH – remote access to server.
- VSFTP – upload/download files to server.
- Apache – web server.
- Tomcat – java web server.
- Postfix / SpamAssassin – mail server, needed for mailer programs.
- Eventum – defect tracking.
- phpBB – forum to discuss projects.
- PHPFileNavigator – file repository for project documents.
- MySQL – database.
- CVS – file versionin.
So let’s go!
SSH
- Open file /etc/ssh/sshd_config
- Uncomment #Protocol 2,1 and change to Protocol 2
- Apply PermitRootLogin no
- Add Banner as login message
- Open file /etc/ssh/ssh_config
- Uncomment #Protocol 2,1 and change to Protocol 2
- Limit su only to wheel group.
- Open /etc/init.d/pam.d/su
- Uncomment or add : auth required /lib/security/$ISA/pam_wheel.so use_uid trust
- Make sure one user is member of wheel group.
- Test the settings. Do not logout as root, instead open a new connection. Configuration changes might disable your ssh access forever.
VSFTP
- Install VSFTP via yum. yum install vsftpd
- Disable anonymous access.
- Setup banner.
- Enable ftp only to listed users by setting.
- userlist_deny=NO
- Update list of users allowed for ftp in /etc/vsftpd.user_list
- Setup chrooted ftp access as follows:
- chroot_list_enable=YES
- chroot_local_user=YES
- Set FTP for autorun.
- chkconfig add vsftpd
- chkconfig vsftpd on
- In order to support PASV, high ports needs to be opened on IPTABLES. This is disabled in the iptables file. So, add the following commands:
- pasv_enable=YES
- pasv_min_port=65000
- pasv_max_port=65534
- pasv_address=[your_ip_address]
- Test the settings. Run vsftpd by issuing /etc/init.d/vsftpd star
Continued… Setting up Web Development Server (2/4)