Firstly, I apologize for my bad English.
My purpose,I need get a some information from my Linux server.Example : Get CPU,RAM or CPU temperature.I know those commands on Linux Terminal Commands.
(free -m,df -lh).But I need connect on my Windows PC and open Chrome then go on "www.GETMYSERVERINFO.com" then i wanna see my server hardware information.How do I proceed?
I would recommend firehol/netdata.
Check this demo.
Related
I need to access Azure Linux( RedHat 7) via RDP so that we can connect this vm in GUI mode. Please suggest how to achieve this.
To get RDP-like functionality with Linux using Microsoft Windows as the client, look at programs like Xming or X-Win32. You might refer to the CentOS Wiki on the subject: https://wiki.centos.org/HowTos/Xming
Essentially it is a three step process:
Install X system on the remote system (VM)
Install an X tool such as Xming or X-Win32 on the local system
Enable X11 forwarding on SSH tunnel (PuTTY, Bitvise, WinSCP, etc)
Be sure to include on the remote system useful X applications such as xterm.
First google result:
https://learn.microsoft.com/en-us/azure/virtual-machines/linux/use-remote-desktop
Linux does not have RDP (that's a Windows protocol), but there are alternative solutions like xrdp. However, first you most likely need to install a graphical desktop environment like xfce4.
Has anyone successfully used XRDP/freeRDP to remote login to a Windows PC from a LINUX Client? I did some research on the matter and I found there may be incompatibility issues. However those posts were quite old.
I would like to use the latest XRDP or freeRDP
The site says the following:
"The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop, freerdp, and Microsoft's own terminal server / remote desktop clients.
Unlike Windows NT/2000/2003/2008/2012 server, xrdp will not display a Windows desktop but an X window desktop to the user.
So it sounds like I can communicate between a Linux Box and Windows. But it sounds like the Windows PC can only be the client logging into a Linux Server and not vice-versa."
Is this true?
That's not true. You can using a freeRDP client in Linux connecting to a server on Windows. I've just tried the latest freeRDP code in Ubuntu, and I've tested Win7/Win10, both are OK.
Follow the instruction of freeRDP in the following link:
https://github.com/FreeRDP/FreeRDP/wiki/Compilation
and hope you make it.
Ps: There may be some connectivity issues, like firewall or something, just google it.
We need to develop a console application for Linux (Centos 6.x) similar to what you see when VMware ESXi first boots. This console app will be used to initially configure Linux as a virtual appliance when the system first boots (prior to entering the Linux desktop console).
It's been years (decades, actually) since I did any console programming in Unix, which used to use the old "curses" library... I'm sure technology has advanced markedly since then and there must be many better options.
My question is: What are the language options for developing a nice console UI today? TCL? Python? Other?
Thanks
Rick
You can use Python and Urwid: http://excess.org/urwid/
I have an old computer with formatted drive lying around collecting dust, now I want to instal a linux like OS (any suggestions?) on it and install a web server, preferrably Lighttpd. I want to set up a server so that I have an environment to practice web development in PHP or Java. My problem is I dont want to hook up another set of keyboard/mouse/monitor to that old computer, and if possible I want to remote boot/shutdown the server from this computer that I use to type this question.
I did some google search, but the results are never comprehensive or suitable for my circumstance. Any input would be appreciated, book recommendation or link to a good resource are fine too.
Thanks
Qin
P.S. I did some search on stackoverflow before asking this question, if there is another similiar question being asked, let me know.
You actually needs an unattended (silent) linux installation, which may trigger beeps to tell you when the installation is done. Hope this can help you refine your search on google.
You'll definitely need at least a monitor or KVM and a keyboard if you want to install any OS on it.
For server OS, you could try going for CentOS / Ubuntu. However, if your requirement is just to practice your PHP and Java, you could even use your existing laptop / PC and, assuming windows, you can just install wamp or xampp, to install your apache/php/mysql with just clicks.
I do this all the time using VNC and it is very easy, but I am curious about a few things like XDMCP. As I understand it, this is a way of creating the entire desktop on a remote X-Server which seems fairly elegant.
Several years ago, I worked on a Solaris server and multiple developers had X-Servers running in Windows and we were able to access a full remote X-desktop. All my efforts so far in X based systems seem to indicate that only one instance, remote or local, of the desktop can be loaded, so I guess this Solaris thing was an actual application that "emulated" a desktop, but who knows....
Any input ?
From Windows I've found the best way to do this is using the Xwin command in cygwin.
Steps:
Install Cygwin, making sure to install X11. (Do this by scrolling to the bottom of the list on the "select packages" screen and click on the word "default" to the right of "X11". Give it a second or two and it will change to "install".)
Then, just run the Xwin command like this:
Xwin -query your.unix.system.name
You'll get a full-screen login window from you unix box. That's it!
Btw, sometimes firewalls get in the way of the UDP protocol for XDMCP. If that happens, look up the port numbers (one UDP outgoing, and one TCP incomming) and unblock them. Other xdmcp troubleshooting tips here.
NX will allow you to use a complete remote desktop environment locally, and most Linux distros already have the server available.
As an alternative to full cygwin install you might want to look at Xming. It is quite a bit lighter and should provide the same functionality.
In Xorg/GDM/LightDM options : "listen" should be activated (disabled by default)
In windows, try Xwin32.
In Linux, try Xnest (windowed) or X with "-query" command.
Be careful: it's slow and everything (passwords included) is transmitted in clear. So keep it on local network, tunnel it in SSH or better don't use it.
I found an additional remote desktop implementation which works quite nicely with LXDE:
x2go
Has clients for Windows, Linux and MacOS X.