ProFTP, installation and configuration PDF Print
Sunday, 27 December 2009 14:45

 

 

On the net there are hundreds of posts and articles like this, but from research undertaken all or most do not explain in detail the configurazoni you should take to configure an FTP server.

So to be clearer, we hardly ever setup an FTP server on GNU / linux and see how having a dedicated hostname so that it can be reached from outside.

 


Let's go!


First through your distribution's repositories installed proftpd. Via Archlinux give the command pacman-S proftpd while other distros like Debian or Ubuntu can find it via apt-get install proftpd.

We just have to modify the configuration file according to your preferences and needs. The file may go to edit is in /etc/proftpd.conf.


The main parameters on which to have an eye on are:

1. ServerName "Welcome to einstein ftp server"


2. # Port 21 is the standard FTP port.
Port              21


3. # To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~


4. # A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User              ftp
Group             ftp

 


Explanation


1. Well as ServerName for the welcome you want to have once connected to your FTP personnel;

2. Set up like a door, it's usually good advice to set a port other than 21 to prevent scans from a third party but for the example I'll use the default port;

3. This point is very important because you must not allow access to the root system. It is precisely for this reason that you put a pound sign ( # ) to disable the voice;

4. In the latter point, we can select whether to allow anonymous access to our FTP server. I recommend to disable the voice. As the DefaultRoot just insert a hash (#) before the items.


Good is all we can do is start the daemon. The command is /etc/rc.d/proftpd start in other distributions such as Debian instead of rc.d will init.d (/ etc / init.d / proftpd start). If we were to stop or restart the service /etc/rc.d/proftpd stop | restart.


The daemon is started is well configured, we can only open the TCP port on the router and subscribe to DynDNS.


Once entered the information and register, we activate the account with the link that arrives with us at the email given above. Autentichiamoci the site and we need to create a hostname in a totally transparent and free.



Let's see how:

My Account Section - Add Hostname, proceed.



 

The main points were grouped by those red rectangles.


As can be seen from the image we Hostname enter the name of our FTP server in my case provaftp while, as regards the domain name we can choose the most various extensions that we like.

Do not alter the host with IP address in the section Wildcard.


In the IP Address must select the IP address that DynDNS should refer otherwise we might as well click on Use auto detected IP address.


Now we proceed on Create Host.



We are faced with a screen like this:




As you can see our FTP account is created, click on the Activate Services >>



And now Payment >>


Now there are two:

  • If port 21 was not changed we will achieve our FTP server or via browser or via ftp://provaftp.serveftp.org free software like filezilla.

  • If, as in most cases it should be, is to change the gateway to our FTP server will be reachable via a URL like this: ftp://provaftp.serveftp.org:port


Will ask user name and password for users created on your machine.


N.B.: be careful, however, another note. For if we have an ADSL subscription with dynamic IP every few hours or days, the IP address is changed settings around which we are allocated. Unlike other hand, those who use a static IP address, will not have this kind of problem because the IP address visible on DynDNS is always the same.


As for those who have a dynamic IP address, most of the current router has a section for DynDNS set up the account so that every time they change the IP address of the router is authenticated at the site indicated by updating the section for us . If the router is not provided with address of this tool we will connect us to DynDNS and then getting our FTP server.


I think it's everything. For any question or problem please contact me at the addresses found in the Contact section.

 


Read 2 Comments... >>
 
Google DNS PDF Print
Saturday, 05 December 2009 13:45

 

 

As Wikipedia tells us the proper DNS or Domain Name System servers are nothing more than working on resolving the host IP addresses and exactly the opposite. This is what allows you to navigate smoothly and reach the Web sites we want. Not just in house, Google has decided to set up DNS servers.

 

These are easy to remember it. Let's see why.

 

  • Primary DNS: 8.8.8.8
  • Secondary DNS: 8.8.4.4

 

As regards the application of DNS servers, there are more roads to be taken quite defined. One is to directly set in the configuration screen of your router. Other hand, is set in the configuration file of your GNU / Linux. For my current Archlinux, you must edit the resolv.conf file that is located within /etc.

 

 

For others, such as Debian or Ubuntu, it is very simple to include the DNS servers in the network configuration.

 

 

We now have access to DNS set as mentioned above, or a domain name system and a primary alternative. If, however, tested them and browsing there seems brighter as before, you can always use OpenDNS.
( 208.67.222.222 - 208.67.220.220 ).


Read 0 Comments... >>
 
OpenSSH and IRSSI PDF Print
Saturday, 12 December 2009 11:00

 

 

In today's tutorial how to configure openssh, for the specific installation, service configuration and subsequent implementation of a chat through the terminal.

 

The software for the occurrence are openssh and irssi. As a first step, it is necessary, perhaps through your distribution's repository to install them. In my case, using Archlinux, I will give the command pacman -S openssh or yaourt -S openssh.

 

This done, and if you did not run smoothly, we pass to the configuration. The files are mostly two, and are both located in /etc/ssh/. First with our text editor, edit sshd_config. We will find several options, those that concern us are listed below:

 

  • Port 22

  • Protocol 2

  • SyslogFacility AUTH

  • LogLevel INFO

  • PasswordAuthentication yes

  • X11Forwarding yes

  • X11UseLocalhost yes

  • Subsystem sftp /usr/lib/openssh/sftp-server

 

N.B.: to enable the party indicated above, it is necessary, if it is present, remove the pound sign (#) to enable everything.

 

Save is now edit the file ssh_config this also in /etc/ssh/:

 

  • ForwardX11 yes

  • Port 22

  • Protocol 2,1

  • SendEnv LANG LC_*

  • HashKnownHosts yes

  • GSSAPIAuthentication yes

  • GSSAPIDelegateCredentials no

 

N.B.: Same as before, then changed everything according to what mentioned above, alert to the pound (#) to enable the options for the proper functioning of the program.

 

Now we just have to restart the daemon, in my case /etc/rc.d/sshd restart. Who should use distributions such as Debian, Ubuntu, the command to activate, stopping the service will restart and /etc/init.d/sshd start | stop | restart.

 

 

 

The base string to connect is: ssh username@IP otherwise ssh indirizzo IP -l username or even ssh IP

To view the logs we cat /var/log/auth.log | grep ssh but if they do use a fairly steady is better to use a text editor rather than the cat that will simply display the requested file.

 

Now with a little foresight, we must be configured to wait the address of the LAN IP to enable the listening port and then connect remotely to our car. It 'an important thing to do, because without it, we will not be able to fully exploit the potential of the program and our needs.

 

Just give a ifconfig, you'll see something like the figure below:

 

 

 

In my case the issue is the wireless interface wlan0 with IP address 192.168.1.100. If you use the network cable to test the value corresponding to the field indicated on eth0. Now we just have to get inside the router configuration and section virtual server IP address set as that seen shortly before (192.168.1.100) as the TCP protocol and port as the number 22. Save the settings and log out.

 

Now we spend maybe the most interesting, or remotely connect to our car. As mentioned a few lines above, there are two strings to connect remotely via ssh to our car. There propose a third, but it is not a string, but a Windows software that allows us the same thing. Also because, as often as often happens, one is to use more and more computer systems during the course of a day. The program in question is called Putty.

 

 

 

N.B.: Remember that the section Host Name should be inserted the public IP address and not the LAN. To find a reference site can be www.mioip.it manual or if you can see it in the settings of the router.

 

If all goes well we will be in front of a terminal that will ask your username and password (our login credentials so to speak). Now to chat, write irssi. Et voilà:

 

 

 

In the image above irssi running connected to an IRC server.

This is a simple guide on how not to lose much time in the ssh configuration, see the command man ssh for a configuration to suit your needs.


Read 0 Comments... >>
 
FeedRSS, configuration Thunderbird PDF Print
Saturday, 12 December 2009 09:34

 

 

An important imprint that a website or blog you can leave respects is represented by the RSS feed. But in essence what is a RSS Feed? The RSS feed or RSS Feeds are born primarily to create a flow in information of any kind to stay up to date on a particular topic, usually using XML dynamically.

Presented in the tutorial we will see how to configure an RSS feed via email management software Thunderbird. Is valid for any GNU / Linux is currently available on-line application provided you have mentioned above and an RSS feed of a site at will.

 

So, without this premise, we open Thunderbird. Section Edit - Account Settings - Add Account - select RSS News & Blog, set a name and go forward. Only after we press Finish.

 

 

 

Now we just have to manage the RSS feed by entering the following link that will allow us to download the news we need.

Then, following the initial procedure log back in to Edit - Account Settings and go to look for HomeLinux which is exactly the name that we are giving primary and the RSS that allows us to distinguish it from any other email account that we have. This of course is our discretion and choice.

 

 

 

Paragraph numbers below, before accessing the Manage Subscriptions must flagge options listed in step 2. Now, as the last item go to Manage Subscriptions ...

 


 

From point by pressing Add, and now we are in front of the properties of the feed. It 'the most important because it allows us to insert the link that will allow us to see the news you want. In case you want to add the RSS feed of HomeLinux you must enter the address http://homelinux.us/en?format=feed&type=atom

 

 

Tap OK, close the screen, RSS subscriptions and press OK again. Now we just have to click on the RSS Feed (ubuntu) previously created and we will notice the articles / news as a real email.

 

 

 

According to the settings that we have said before, every day when we will start our mail software, or otherwise kept it ever open it, the messages will be searched when the application is the same, or every 10 minutes. E 'tutto.

 

RSS Feeds HL you can check via the link shown above or through the appropriate icon on Sixtus himself. And 'can display the appropriate XML file for a more correct.

 

 

Thank you for your attention


Read 0 Comments... >>
 
<< Start < Prev 1 2 3 4 5 6 7 Next > End >>

Page 5 of 7
Copyright © 2010 www.homelinux.us. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.
Creative Commons License
The contents of this work are published under Creative Commons License.