10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I want to write a domain specific REST/HTTP server to run on FreeBSD. I have control over both the server side and the primary client intended to consume the service.
My question is: how do you think it should be designed to support multiple connections, given:
It will run on a... (6 Replies)
Discussion started by: LittleCookieMon
6 Replies
2. UNIX for Beginners Questions & Answers
I have a HP Proliant server with centOS.
This is the software that I run:
- SSH + SFTP
- NGINX
- PHP7
- Bitcoind
- MYSQL
Would you recommend FreeBSD or CentOS for this software.
Also how hard is it to set this up with FreeBSD compaired to CentOS?
I never used FreeBSD before, is it hard... (3 Replies)
Discussion started by: jwz104
3 Replies
3. IP Networking
Hello all,
I have configured Freebsd 8.1 Bind DNS as DNS server for intrenal domain and clients on one subnet 192.168.10.0/24 . What do I have to change in zone file and in in-addr.arpa zone file if I have two additional subsets 192.168.20.0/24 and 192.168.30.0/24? Do I have to create another... (0 Replies)
Discussion started by: kreno
0 Replies
4. BSD
Hi,
If anyone know Please answer me the following question :
How to find the usage of individual core cpu usage in FreeBsd server?
What command is used for that?
Thanks,
Maruthu (2 Replies)
Discussion started by: maruthu
2 Replies
5. BSD
Hello, I'm trying to create a NTP server on a FreeBSD machine inside my local network, so all the clients of that network can actually query for that machine.
Should be of no problem right?
Here's the configuration of the /etc/ntp.conf on the FreeBSD machine:
server br.pool.ntp.org burst
... (1 Reply)
Discussion started by: Zarnick
1 Replies
6. IP Networking
Hope I can explain my problem well enough.
I have a DNS server that I'm wanting to replace with an older system. I configured this system exactly the same way as an older system running FreeBSD 6.3.
Here's the problem. Within the network, its working perfectly: performing queries, all the... (2 Replies)
Discussion started by: Alpha_Harblo
2 Replies
7. BSD
I need to migrate an existing master.passwd file to new FreeBsd Unix Box. I will moving from 4.1 to 6.1. I already have the home directories copied over. Once I copy over the masterpasswd file what do I need to do to make the system use the new master.passwd file? (0 Replies)
Discussion started by: rbizzell
0 Replies
8. UNIX for Dummies Questions & Answers
By following the Samba.org how-to's and various finds on groups.google.com I've succeeded in getting a FreeBSD (5.2.1-RELEASE) / Samb-3.0.0,1 server in to my MSFT 2003 Active Directory domain as a member server, but there is a little problem I'm having trouble resolving.
Newly created user... (0 Replies)
Discussion started by: ccy
0 Replies
9. UNIX for Dummies Questions & Answers
Hey guys, what's up? I'm new to UNIX and I really don't know much. Kinda learning as I go along. I have successfully installed FreeBSD 4.9 and enabled FTP and Telnet services. I'm looking to setup a VPN server on my BSD box but I'm lost. Can anyone guide me in the right way? Much thanks!
-... (2 Replies)
Discussion started by: sirex
2 Replies
10. UNIX for Dummies Questions & Answers
hi all :
i am new to unix and linux world , my experience is near zero, so i am seeking your help to maintain a learning environment to try to catch up with linux and unix in the same time , furthermore win 2000 server is a must for my current job , so what do u think , can this triple boot... (1 Reply)
Discussion started by: behmoth
1 Replies
Net::Server::MultiType(3) User Contributed Perl Documentation Net::Server::MultiType(3)
NAME
Net::Server::MultiType - Net::Server personality
SYNOPSIS
use base qw(Net::Server::MultiType);
sub process_request {
#...code...
}
my @types = qw(PreFork Fork Single);
Net::Server::MultiType->run(server_type => @types);
DESCRIPTION
Please read the pod on Net::Server first. This module is a personality, or extension, or sub class, of the Net::Server module.
This personality is intended to allow for easy use of multiple Net::Server personalities. Given a list of server types,
Net::Server::MultiType will require one at a time until it finds one that is installed on the system. It then adds that package to its
@ISA, thus inheriting the methods of that personality.
ARGUMENTS
In addition to the command line arguments of the Net::Server base class, Net::Server::MultiType contains one other configurable parameter.
Key Value Default
server_type 'server_type' 'Single'
server_type
May be called many times to build up an array or possible server_types. At execution, Net::Server::MultiType will find the first
available one and then inherit the methods of that personality
CONFIGURATION FILE
"Net::Server::MultiType" allows for the use of a configuration file to read in server parameters. The format of this conf file is simple
key value pairs. Comments and white space are ignored.
#-------------- file test.conf --------------
### multi type info
### try PreFork first, then go to Single
server_type PreFork
server_type Single
### server information
min_servers 20
max_servers 80
spare_servers 10
max_requests 1000
### user and group to become
user somebody
group everybody
### logging ?
log_file /var/log/server.log
log_level 3
pid_file /tmp/server.pid
### access control
allow .+.(net|com)
allow domain.com
deny a.+
### background the process?
background 1
### ports to bind
host 127.0.0.1
port localhost:20204
port 20205
### reverse lookups ?
# reverse_lookups on
#-------------- file test.conf --------------
PROCESS FLOW
See Net::Server
HOOKS
There are no additional hooks in Net::Server::MultiType.
TO DO
See Net::Server
AUTHOR
Paul T. Seamons paul@seamons.com
SEE ALSO
Please see also Net::Server::Fork, Net::Server::INET, Net::Server::PreFork, Net::Server::MultiType, Net::Server::Single
perl v5.18.2 2012-06-05 Net::Server::MultiType(3)