Sponsored Content
Full Discussion: What distro for server
Operating Systems Linux Fedora What distro for server Post 302569209 by jlliagre on Sunday 30th of October 2011 05:56:30 AM
Old 10-30-2011
Quote:
Originally Posted by jtt89
(somebody told me not to get this one because root is disabled by default ...)
Regardless of the OS, this was a poor advice.
Having the root account disabled by default is a recommended security practice for any OS and particularly servers.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Which distro best for me?

Im goin to build a server soon, im planning to use it for a dedicated server for my favorite game counterstrike. I also want to use it as a file server for my lan, should i also make this server my internet gateway and dhcp server or should i just continue using my linksys router for those tasks? ... (5 Replies)
Discussion started by: stealthdestroyr
5 Replies

2. Debian

which distro?

Hi all, I know, it's a highly subjective and speculative question, but can anyone advise a Linux-newbie (haven't even started yet) on what distribution might be right in my case? - I have for all intents and purposes NO Linux experience. - I do have some previous IT experience. -- A... (9 Replies)
Discussion started by: ropers
9 Replies

3. Red Hat

What is the best distro to host a server?

My friend and I want to each host a gaming server. One for Counterstrike, and one for Battlefield: 1942. I need to know what distros would best for this. I was thinking Redhat but I'm not 100% sure. (2 Replies)
Discussion started by: never_more
2 Replies

4. UNIX for Dummies Questions & Answers

Looking for right distro...

Hello all! I am searching for a *nix distro for a project I am about to undertake. I have a laptop (p3 500mhz, 128MB ram, 10GB hard drive) that I would like to use as a server for VPN & possibly hosting a small personal web site. Now, here is where it gets a bit tricky. There is no optical... (2 Replies)
Discussion started by: DISK
2 Replies

5. Linux

Choosing the best distro.

Hi all Help me find the best distro for the following configurations: Intel pentium IV 1.6 Ghz 128 MB RAM :( 40 GB Hardisk with one very big partition more than 35 gb n another 2 gb partition. windows xp is already installed but has enough free space (26gb). Which linux will be... (0 Replies)
Discussion started by: bbala
0 Replies

6. Linux

how to build my own distro

howdy.... I am currently in a project, which needs a new distribution of linux.. At first, we select suse as our platform, but this newest version suse is at least several gigabytes. but recently, we want to run out system in a flash card with capacity of 500M, So, self-customized linux is... (6 Replies)
Discussion started by: macroideal
6 Replies

7. Linux

Best Linux Distro

Hello, I have a Compaq Presario v3000 5 year old laptop, with 1 GB RAM and currently running the (slow and stupid) Windows 7 32 bit, thus I would like to dual boot it with an appropriate distro of Linux that 1) Doesnt consume too much resources (1 GB RAM is not a lot of space) and it ll be... (4 Replies)
Discussion started by: ajayram
4 Replies
JavaScript::RPC::Server::CGI(3pm)			User Contributed Perl Documentation			 JavaScript::RPC::Server::CGI(3pm)

NAME
JavaScript::RPC::Server::CGI - Remote procedure calls from JavaScript SYNOPSIS
package MyJSRPC; use Carp; use base qw( JavaScript::RPC::Server::CGI ); sub add { my $self = shift; my @args = @_; unless( @args == 2 and $args[ 0 ] =~ /^d+$/ and $args[ 1 ] =~ /^d+$/ ) { croak( 'inputs must be digits only' ); } return $args[ 0 ] + $args[ 1 ]; } sub subtract { my $self = shift; my @args = @_; unless( @args == 2 and $args[ 0 ] =~ /^d+$/ and $args[ 1 ] =~ /^d+$/ ) { croak( 'inputs must be digits only' ); } return $args[ 0 ] - $args[ 1 ]; } package main; use strict; my $server = MyJSRPC->new; $server->process; DESCRIPTION
JavaScript::RPC::Server::CGI is a CGI-based server library for use with Brent Ashley's JavaScript Remote Scripting (JSRS) client library. It works asynchronously and uses DHTML to deal with the payload. In order to add your custom meothds, this module should be subclassed. The most current version (as of the release of this module) of the client library as well as a demo application have been included in this distribution. INSTALLATION
To install this module via Module::Build: perl Build.PL ./Build # or `perl Build` ./Build test # or `perl Build test` ./Build install # or `perl Build install` To install this module via ExtUtils::MakeMaker: perl Makefile.PL make make test make install METHODS
new() Creates a new instance of the module. No further options are available at this time. query() Gets / sets the query object. This has the side effect of extracting the env() data. get_new_query() This method generates a new query object. It is used internally by the query() method. This method should only be used if you want to sup- ply a query object other than the standard CGI.pm object. However, it must be a CGI.pm compatible object. Here's an example using CGI::Sim- ple. sub get_new_query { require CGI::Simple; my $q = CGI::Simple->new(); return $q; } env() Gets / sets a hash of information related to the currently query. The resulting structure contains four items: * method - the method called * params - an array of parameters for the method * uid - the unique id for this query * context - the context id error_message() Get / sets the error message sent to the client if an error occurred. process() Processes the current query and either returns the result from the appropriate method, or an error to the client and returns either true or false, respectively, to the caller. An error will occur if the method name is blank, or the method has not been defined. This function takes an optional CGI.pm compatible object as an input. Your subclass' method will be evaled and will either return an error to the caller if it died, or return a valid result payload on success. error() Returns a valid error payload to the client and false to the caller. It will automatically call error_message() for you. result() Returns a valid result payload to the client and true to the caller. SEE ALSO
* http://www.ashleyit.com/rs AUTHOR
* Brian Cassidy <brian@alternation.net> COPYRIGHT AND LICENSE
Copyright 2005 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2005-10-06 JavaScript::RPC::Server::CGI(3pm)
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy