Forum > Linux

Quick questions

(1/4) > >>

egsuh:
I'm first to Linux. I hosted Linux server which runs as virtual machine (AFAIK) at $30 for one month.  But I have never used Linux before. Attached image is what I have done with Linux for 5 minutes after connecting via PuTTY.

I have found some web pages that explain Linux commands, and I'll have some time to read them. But before that, I'd like to get some quick questions so that not to waste time on searching for not possible solutions.

- Can I run a GUI interface on the server side? If not, how can I use Internet, e.g. for download Lazarus?
- Are there any remote connection tool to use from Windows client (GUI would be better) other than PuTTY?

I know these are not proper questions to ask here. I only need a quick grasp on what I have to do to run a small webserver on Linux. It will take too long to read books and manuals on Linux first.

My target is to run nginx, FastCGI webserver program written in Lazarus, plus Firebird database.

Thanks in advance.

egsuh:
Server is Rocky 9.

Zvoni:
Maybe a stupid question: Why are you on an external (Linux)-Server?
Install VirtualBox on your (Windows?)-Dev-Machine, install a Linux-Server as a guest in VirtualBox, and presto : You have a setup at home.

As to your Questions: No, you can't run a GUI on your external (Linux)-Server (at least from what i can see in your screenshot). What would be the purpose of it?
Why would you download Lazarus on your external Server?!?!?!

Alternative to PuTTY: https://remmina.org/remmina-on-windows/
If you don't want to deal with WSL, setup a Linux-Guest in VirtualBox, and use Remmina there natively

btw: On this (or any, in fact) Linux-Server: "tmux" is a must-have
https://en.wikipedia.org/wiki/Tmux

egsuh:

--- Quote ---Why are you on an external (Linux)-Server?
--- End quote ---

I'm assessing the possibility of using it as a web-server. Maybe I would be able to copy compiled binary file to the server, and via some setups, I might be able to use it as a web-server.
I'm checking the feasibility of compiling web-server program on the server itself. In order to do that, I need to install Lazarus (or FPC?) on the server.

Currently I'm hosting a Windows server (Server 2019), which costs about $130 per month. Linux server is less than $30 (Of course, access rights would be different. Windows server is a stand-alone server. I can connect to it via Remote Desktop and do anything. They say Linux server is a cloud-based service.)  If I'm confident with Linux server, I can host  a stand-along Linux server (it costs about $30 less than Windows server for hosting).

So, I'm looking for quick answers first --- this is possible, and that is not, etc. as I do not know anything for now.

MarkMLl:
Focussing on the three questions asked, since I assume that you have an adequate "why".


--- Quote from: egsuh on September 19, 2024, 12:10:27 pm ---- Can I run a GUI interface on the server side?

--- End quote ---

Broadly speaking that will depend on what's been provided to you by the owner of the machine on which you're running. I'll come back to that.


--- Quote ---If not, how can I use Internet, e.g. for download Lazarus?

--- End quote ---

wget, curl and so on. Possibly git once you've got the relevant development tools in place.


--- Quote ---- Are there any remote connection tool to use from Windows client (GUI would be better) other than PuTTY?

--- End quote ---

If the system provides SSH then PuTTY is probably the most-mature option. Teraterm is an alternative, but it might by now be mature to the point of senility.

Now going back to the start: what sort of service has been sold to you? Do you /only/ have SSH (or /gasp/ Telnet) or does it also have all the X11 stuff installed? In the latter case I'd expect that the system owner had it set up in a way that allowed you do get access via a Display Manager (note: term-of-art) to a Display Manager (note: term-of-art) hence some form of desktop. If the various X11 support libraries are installed but you do not have access to a desktop I'd expect that you could tunnel access to a GUI-oriented program such as Lazarus via SSH or in-extremis VNC etc.: there's 30 years' worth of documentation for this sort of thing floating around elsewhere (i.e. it's not /our/ problem) but the bottom line is that you ought to be asking the system owner.

You'd make life /far/ easier for yourself if you cut your teeth on a local system...

MarkMLl

Navigation

[0] Message Index

[#] Next page

Go to full version