Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.hardware > #1563 > unrolled thread
| Started by | "Pol's Team on Technlogy" <xtekhne@gmail.com> |
|---|---|
| First post | 2012-12-01 01:54 -0800 |
| Last post | 2012-12-01 20:39 +0000 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.os.linux.hardware
suggestions for my web server "Pol's Team on Technlogy" <xtekhne@gmail.com> - 2012-12-01 01:54 -0800
Re: suggestions for my web server Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2012-12-01 13:01 +0000
Re: suggestions for my web server "Pol's Team on Technlogy" <xtekhne@gmail.com> - 2012-12-01 06:02 -0800
Re: suggestions for my web server mike <ham789@netzero.net> - 2012-12-01 12:30 -0800
Re: suggestions for my web server Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2012-12-01 20:39 +0000
| From | "Pol's Team on Technlogy" <xtekhne@gmail.com> |
|---|---|
| Date | 2012-12-01 01:54 -0800 |
| Subject | suggestions for my web server |
| Message-ID | <36204aba-80ec-44f3-b59e-8ad9e7b7041c@googlegroups.com> |
Any suggestions to set up a web server at home? A low power comsumption linux station, provided by a 'solid state' memory? thank you Pol
[toc] | [next] | [standalone]
| From | Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> |
|---|---|
| Date | 2012-12-01 13:01 +0000 |
| Message-ID | <50b9ff9e$0$288$14726298@news.sunsite.dk> |
| In reply to | #1563 |
> Any suggestions to set up a web server at home? May I suggest an old laptop? It doesn't take much space and depending on what you want to do on your home web server it might provide more CPU power than you need. A good feature of such a server is also that its battery gives you a built in "UPS". > A low power comsumption linux station, provided by a > 'solid state' memory? Why do you want SSD for a home web server? Those are rather expensive and might not live as long as a spinning drive. It would be easier to suggest hardware if you told us some more about your plans. All we know now is that you are building a server that will provide data using the http protocol. We do not know you the data is static or dynamic generaded from something like an SQL database. We also do not know if the web server will have only a few small files or if it might be streaming big media files. regards Henrik -- The address in the header is only to prevent spam. My real address is: hc351(at)poolhem.se Examples of addresses which go to spammers: root@localhost postmaster@localhost
[toc] | [prev] | [next] | [standalone]
| From | "Pol's Team on Technlogy" <xtekhne@gmail.com> |
|---|---|
| Date | 2012-12-01 06:02 -0800 |
| Message-ID | <7f070516-f5fe-4f0d-8be2-9d880ad9962b@googlegroups.com> |
| In reply to | #1564 |
On Saturday, December 1, 2012 2:01:19 PM UTC+1, Henrik Carlqvist wrote: > > Why do you want SSD for a home web mserver? Those are rather expensive and > might not live as long as a spinning drive. i thought solid state 'disks' would use less power than rotating disks, but i am not sure. > > It would be easier to suggest hardware if you told us some more about > your plans. All we know now is that you are building a server that will > > provide data using the http protocol. We do not know you the data is Right, some clarification are in order. To tell the true, my idea is to set up a vnc server, to access my kde session through the internet. I am not an expert, so i would also appreciate a few hours work from some people, if not too expensive., Thank you Paolo
[toc] | [prev] | [next] | [standalone]
| From | mike <ham789@netzero.net> |
|---|---|
| Date | 2012-12-01 12:30 -0800 |
| Message-ID | <k9dpdm$d9f$1@dont-email.me> |
| In reply to | #1565 |
On 12/1/2012 6:02 AM, Pol's Team on Technlogy wrote: > On Saturday, December 1, 2012 2:01:19 PM UTC+1, Henrik Carlqvist wrote: > >> >> Why do you want SSD for a home web mserver? Those are rather expensive and >> might not live as long as a spinning drive. > > i thought solid state 'disks' would use less power than rotating disks, but i am not sure. > >> >> It would be easier to suggest hardware if you told us some more about >> your plans. All we know now is that you are building a server that will> >> provide data using the http protocol. We do not know you the data is > > Right, some clarification are in order. > To tell the true, my idea is to set up a vnc server, to access my kde session through the internet. > I am not an expert, so i would also appreciate a few hours work from some people, if not too expensive., > > > Thank you > > Paolo The devil is in the details. I'm no expert, but I'll describe some of my newbie experiences based on my interpretation of your need. If you just want your desktop to show up on a remote display device, you don't need different hardware. It's software that runs on your existing machine. But therein lies the rub...which software. Linux is a multi-user OS and stuff is defined for that. Most ordinary newbies, like you and me, use it as a single user system and expect it to behave like other single user systems. Well, it don't. Depending on which version of which operating system running which desktop manager, you may or may not have software installed which may or may not be running by default. Some distros call it desktop sharing. Some call it VNC. Some don't give you a clue. And if you go searching the running processes for "vnc", you may see nothing, even tho it's running. Linux distributions seem to be seriously infected with "LetsRenameItJustCauseWeCan" disease. Then, there's the whole issue of which desktop. A common class of vnc server software lets you open a new session. That won't let you see your currently running local desktop. x0vncserver is one that remotes the current desktop session. That works for me. But I had several issues with it. I had to write a script to start it at login. I can't access it by computer hostname, but the numeric IP address works. It requires a password file, but no way to enter the password into the file. Google found the solution. You use the vnc password file generation mechanism from ordinary vnc then point x0vncserver at that password file from the command line that starts it. In my case, the location of the password file was not accessible by my user credentials, so I had to copy it somewhere my script could read it. You need to forward ports in your router to the correct machine. If you have DHCP assigned internal ip addresses, that can be a problem. For remote access, your external IP address can change too. And the client on the other end also needs ports forwarded thru his router. This can be an issue if your remote access point is a wifi hot spot. Teamviewer gets around that, but I've never tried it with a linux machine. Might be worth a shot. Of course, you have to set it up to accept your connection automagically. Doesn't help much if your computer sits there asking for you to accept the incoming connection manually. It's hard to debug. You really need someone on the other end of the web and a voice connection while you do it. You can't just access your external IP address from the same machine. The router doesn't know where to send the packets. You really need a buddy to help. Then you need a vnc viewer on the remote machine. I like tightvnc on a windows machine. All VNC versions and flavors are fully compatible...except when they aren't. I've been tripped up by that more than once. Help from a guru in a newsgroup with your distro in the name will probably get you a better answer. As for SSD, for newbies it's the wrong choice. Yes, it's easy to come up with a situation where it's better. But, for most of us newbies, we just don't have that situation or the improvement gets lost in the noise. Are we having fun yet?
[toc] | [prev] | [next] | [standalone]
| From | Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> |
|---|---|
| Date | 2012-12-01 20:39 +0000 |
| Message-ID | <50ba6b0a$0$288$14726298@news.sunsite.dk> |
| In reply to | #1565 |
On Sat, 01 Dec 2012 06:02:15 -0800, Pol's Team on Technlogy wrote: >> Those are rather expensive and might not live as long as a >> spinning drive. > i thought solid state 'disks' would use less power than rotating disks, > but i am not sure. That is true, but mostly only a concern for battery powered devices. >> It would be easier to suggest hardware if you told us some more about >> your plans. All we know now is that you are building a server that will >> > provide data using the http protocol. We do not know you the data is > To tell the true, my idea is to set up a vnc server, to access my kde > session through the internet. A vnc server is something completely different than a web server serving html pages. The vnc server is usually not a standalone machine, but the vnc server software runs on the machine running KDE. On the other hand, as you are running Linux and KDE, in most cases a vnc server is not needed as your X server has most of the functionality that a vnc server has. If you start kdm you will be able to connect to your machine from the network using the X protocol and login to a KDE session. An example of a command to do that from another machine in the network is: Xnest -query mymachine :8 For this you might have to edit a file /etc/kde/kdm/Xaccess adding a line something like this: * #any host can get a login window You should not add such a line unless your network is secured by a firewall to the internet. Even though xdm/kdm is only reachable from your own network you can still reach it from the internet if you open up for ssh access. Once logged in by ssh you can tunnel X11 traffic through ssh. The X protocol gives you most of the functionality that vnc gives you, but with vnc you can do one more thing, you can connect to an active desktop and pick up your work exactly as you left it logged in. > I am not an expert, so i would also appreciate a few hours work from > some people, if not too expensive., There used to be a Linux consultants howto, but I don't think it is maintained anymore. The easiest way to find a Linux consultant in your town today is to use google. regards Henrik -- The address in the header is only to prevent spam. My real address is: hc351(at)poolhem.se Examples of addresses which go to spammers: root@localhost postmaster@localhost
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.hardware
csiph-web