Language Selection

English French German Italian Portuguese Spanish

Write your own Linux server

Filed under
HowTos

One of the great strengths of Linux is its multi-faceted network server capabilities, reaching back to its rich UNIX history and the development of TCP/IP on that platform. If you’re a software developer, it’s dead simple to network-enable your own apps too, making them act consistently with other server processes. Here’s how to do it, in two parts.

The task at hand

Firstly, a real world story: I was called to do some work for a local ISP. They used a database system for administration and billing purposes, and a Linux server for user accounts and subscriber Web publishing.

This ISP was reasonably small. Its two system administrators were making all the Linux accounts by hand. They wanted the help desk staff to take over the job in some automated fashion, but didn’t want to give them actual privileged logins to the Linux server. These guys didn’t know Linux either, so sudo wasn’t really a solution.

What they requested was a Web page that the help desk staff could access on their local Intranet. The form allowed new registrations to be manually entered or uploaded from a file. When the staff member clicked OK the user details entered on the form were to be added to both the database and the Linux server, creating an account in the process.

The intranet was not running on the public Linux server; it was on a private machine – so a CGI script wasn’t an option. This called for a client/server solution.

Part One
Part Two




More in Tux Machines

Transcend Wifi SD Card Is A Tiny Linux Server

He read a post about these cards on the OpenWRT forums. They’re all a similar configuration of a relatively large amount of memory (compared to the usual embedded computer), a WiFi chip, and an ARM processor running a tiny Linux install. The card acts as a WiFi access point with a little server running on it, and waits for the user to connect to it via a website. It also has a mode where it will connect to up to three access points specified by the user, but it doesn’t actually have a way to tell the user what its IP address is; which is kind of funny. Read more

Atom-based gateway taps new open source IoT cloud platform

Eurotech’s rugged, IP40 protected “ReliaGate 20-26” IoT gateway runs Red Hat Linux on a Bay Trail Atom, and has cellular, GPS, WiFi, and Bluetooth options. Eurotech’s ReliaGate 20-26 is the latest in a line of Internet of Things gateways, such as the ReliaGate 10-11, based on a TI AM3352 Sitara SoC, and the Intel Atom Z510-based ReliaGate 50-21. For the ReliaGate 20-26, Eurotech advances to a more modern “Bay Trail” Atom E3800. Read more

Scientific Linux 6.8 to Be Based on Red Hat Enterprise Linux 6.8, RC1 Is Out Now

Today, June 30, 2016, Connie Sieh from the Scientific Linux development team has had the pleasure of announcing the immediate availability for download of the first Release Candidate (RC) of the upcoming Scientific Linux 6.8 operating system. Read more

The OpenGL Speed & Performance-Per-Watt From The Radeon RX 480 To Radeon HD 4850/4870

With the Radeon RX 480 Linux review now being out of the way and our various other RX 480 Linux benchmarks, the latest results I have to share with being a benchmarking fanatic are RX 480 results with high-end AMD GPU tests of each generation going back to the Radeon HD 4850/4870 (RV770) days. This article has high-end GPUs from the RX 480 to RX 200, HD 7900, HD 6900, HD 6800, HD 5800, and HD 4800 series compared side-by-side with the latest open-source Radeon Linux graphics driver code. Not only is the raw performance being looked at but the system power consumption was also being polled in real-time for looking at the performance-per-Watt too. For any other benchmarking fanatics curious about the Radeon GPU evolution over the past eight years (RV770 launch in 2008), here are the numbers to enjoy. Read more