Linux ServerServer

How to set up a linux server?

Story Highlights
  • Bilgi güçtür
  • Mümkün Olanın Geleceği
  • Hibs ve Ross County taraftarları finalde
  • Günün ipucu: Yine o adam
  • Hibs ve Ross County taraftarları finalde
  • Spieth eksik kesim tehlikesi altında

How to set up a linux server?

How to set up a linux server?, In this article, we will examine how to setup HTTP and FTP servers in Linux Operating Systems. Let’s first examine what these terms are.

The HTTP Server (Hyper Text Transfer Protocol) aka Web server is the server responsible for the broadcast of a website on the Internet. Web service is the most widely used service on the internet. It is basically a service provided using the HTTP (Hyper Text Transfer Protocol) protocol.

FTP Server (File Transfer Protocol) is an internet protocol developed to transfer files from one computer connected to the internet (in both directions) and is the general name given to the application programs that do this work.

FTP is one of the first internet protocols to be developed.

With FTP protocol;

When transferring files from another computer to another computer, it interacts with that computer at the same time.
With the help of a series of commands provided by the protocol, file sending / receiving operations are performed between two computers.
What is Needed to Make FTP?

Name or IP address of the computer we will connect to,
The user number, if any, the password for the account from which we want to access files on the computer we will connect
Computer with internet access and FTP software
On the computer we will connect to, a functional FTP service program, that is, an FTP site, is required to interpret FTP protocol commands.
Using FTP
General usage; FTP is <address of the machine to be FTP>. After this process, when connected to the related computer, user name and password are asked. After entering these, the user’s machine is connected. By using some FTP commands, file operations are performed between two machines, as well as some basic file / disk operations (opening / deleting files, etc.) on the connected machine.

FTP Commands Required to Do These:

cd: Change directory. Use of; cd <directory name> to switch to the previous directory cd .. is done.

pwd: When this command is typed, we see the name of the current directory. Lists the files in the current directory.

ls: If there are too many files in the directory, it is the command that lists the pages and shows the files in short.

get: The command to get a file. Use of; The name after get <file – name> (<name after retrieval>) may remain the same.

mget: It is the command to import multiple files. For example: mget * .zip mget a *. *

put: It is the file upload command. Use of; put <file-name> <name-in-send-where>

mput: It is the command to send multiple files.

ascii: Indicates that ASCII will be used as the transfer mode in file transfers.

binary: Used to indicate that the binary mode will be used in file transfers.

So;
-archive files (such as zip, tar etc.),
executable programs (such as. exe),
-Image format programs, (such as gif, jpeg, etc.)

rm: It is the command to delete the desired file in an FTP location. Use of; delete <file – name>.

mkdir: The command to create a new directory in the FTP site is mkdir. mkdir is <directory -name>.

rmdir: It is a command to delete an empty directory where FTP is made. Use of; rmdir <directory- name>.

lcd: Allows you to change directory on your own machine without leaving the FTP environment.

close: It closes only the relevant connection without exiting the FTP environment.

quit: It is the command used to exit the FTP environment and close the connection.

What is Anonymous FTP?

During FTP operations, we need to know the user number (user name) and password (password) on the machine we will connect to for security. (The program asks us for these. The connected machine can be a private machine whose password is only known to us, or it can be in a public archive. A single type of user number is defined that enables everyone to easily access and retrieve files, which is ANONYMOUS or FTP.When FTP is done to these centers, when anonymous (or FTP) is entered as the user name, we are asked to enter our own: e-mail address as a password. ) Never enter the password of our own computer as a password.

FTP on the Web

Recently, the general trend has manifested itself as accessing all internet services from more efficient and interactive environments and using different services interactively. One of the most important of these is the WEB. Many internet services and many additional features, including FTP, can be installed over these environments. Therefore, another way to do FTP is to FTP over WEB. This method is easier to use.
It is possible to get a binary file in ASCII mode easily by mistake with standard FTP programs, these inconveniences are eliminated in FTP over the WEB. For example, as soon as you receive an image file in standard image formats, you can send the image to the screen. This “different, easy and beautiful” way of FTP

Related Articles

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
%d bloggers like this: