Install proftpd and gproftpd with synaptic or with this command

1- Install proftpd and gproftpd with synaptic or with this command :

Code:
sudo apt-get install proftpd gproftpd

2-Play with the GUI and set up quickly your server.
Beware no support is offered here for this tool but it shouldn’t be too hard to use.

B- The secure way

1- Install proftpd with synaptic or with this command :

Continue reading

Ubuntu Server 14.04.1 LTS Install & Configure FreeRadius

OS: Ubuntu Server 14.04.1 LTS

VMware Player (LAN Bridge Connection)

Daloradius 0.9.9

LAMP

Hardware used:

AP TPLink, Model TL- MR3420

1. Installing LAMP

– Ubuntu Server, after installation: sudo apt-get update & sudo apt-get upgrade need to be apply.

– Apache2: sudo apt-get install apache2

– PHP5: sudo apt-get install php5 & restart apache2: sudo service apache2 restart

– MySql server: sudo apt-get install mysql-server

When it asks for root password, give any password of your choice and note it.
Now we need to install another packet, so that Php5 and Mysql can understand each other.

sudo apt-get install php5-mysql

sudo service apache2 restart

Obs! A small error will appear to fix that, insert

ServerName localhost

in either httpd.conf or apache2.conf in /etc/apache2 and restart apache the notice will disappear.

If you have a name inside /etc/hostname you can also use that name instead of localhost.

Continue reading

config syslog-ng source all ipaddress

edit syslog-ng.config

nano /etc/syslog-ng/syslog-ng.conf

add end file

source s_fortigate {
udp(ip(0.0.0.0) port(514));
tcp(ip(0.0.0.0) port(514));
};
destination d_fortigate {
file(
“/var/log/fortigate/$HOST-$YEAR$MONTH$DAY.log”
perm(644)
create_dirs(yes)
);
};
log { source(s_fortigate); destination(d_fortigate); };

# or —————————————
source s_net { udp(ip(0.0.0.0) port(514)); };
#destination d_router { file(“/var/log/syslog”); };
destination d_router { file(“/var/log/router/$HOST-$YEAR$MONTH$DAY.log”); };

log { source(s_net); destination(d_router); };

New chmod 644
chmod 644 /var/log/syslog

sudo /etc/init.d/apache2 start

* Starting web server apache2

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080 no listening sockets available, shutting down Unable to open logs …fail!

#sudo netstat -tulpn| grep :80

#killall -9 apache2

#sudo /etc/init.d/apache2 start

* Starting web server apache2 …done.  ok wokr

 

 

 

New SSL Ubuntu Server

What the Red Means

The lines that the user needs to enter or customize will be in red in this tutorial! The rest should mostly be copy-and-pastable.

About SSL Certificates

A SSL certificate is a way to encrypt a site’s information and create a more secure connection. Additionally, the certificate can show the virtual private server’s identification information to site visitors. Certificate Authorities can issue SSL certificates that verify the server’s details while a self-signed certificate has no 3rd party corroboration.

Set Up

The steps in this tutorial require the user to have root privileges on the VPS. You can see how to set that up here in steps 3 and 4.

Additionally, you need to have apache already installed and running on your virtual server. If this is not the case, you can download it with this command:

sudo apt-get install apache2

Step One—Activate the SSL Module

The next step is to enable SSL on the droplet.

sudo a2enmod ssl
 Continue reading