07-04-2001
By 'normal file' you mean what exactly? (install-unix.exe?)
ISO images are by far the most common distribution method for
unix/linux (and bsd!) systems.
The ISO is ready to burn onto CD, so just boot from it and follow
the installation instructions.
However, I get the feeling that you want to run UNIX as if it were
an application in Windows. (!?)
UNIX is an operating system, not an application, if you want
UNIX, burn the CD, and ditch the Micro$oft box...
If anyone has other ideas...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a question concerning the log file from an apache web server.
How can I :
a) roughly estimate the number of requests processed per
second by the web server.
b) tally the top ten hosts who send most of the requests to
the web server for the last 30 minutes.
Could any... (1 Reply)
Discussion started by: ppychu
1 Replies
2. UNIX for Dummies Questions & Answers
i need to move apache 2.2 from one server over to another server..... my servers are in atlanta and i'm logged in here in florida... what commands do i use ???? somebody mentioned the fetch command... please help.... i'm an idiot when it comes to unix (2 Replies)
Discussion started by: marinob007
2 Replies
3. Linux
Hi
I am trying to configure virtual host on apache and I am running into a problem where the server defaults to the default location and I cannot get apache to pull from the second server.
I have configured 2 files in vhosts.d folder
I have added NameVirtualHost *.80 to the httpd.conf
I have... (0 Replies)
Discussion started by: ratnamg
0 Replies
4. UNIX for Advanced & Expert Users
Sir,
I have installed an Apache server in Fedora 9 (packages)
and when i go to etc folder and try the command
httpd -k start
it says command not found....can any one help me out!!!
---------- Post updated at 12:02 PM ---------- Previous update was at 11:46 AM ----------
When i... (4 Replies)
Discussion started by: bssandeshbs
4 Replies
5. Web Development
Reading Apache documentation I come to understand that it can host different websites, either by FQDN or IP address, virtually.
Is it possible for an Apache server to run two sites, and no one be able to tell from outside, that they are hosted in the same server? If not possible.
Essentially,... (2 Replies)
Discussion started by: Aia
2 Replies
6. Ubuntu
I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL (www .poillion. com) it says connecting... but never finishes and returns anything.
I'm using Ubuntu Server 10.10.
a) The DNS is working fine. It's pointed to my cable modem's IP and... (1 Reply)
Discussion started by: lorewap3
1 Replies
7. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
8. Solaris
Hi,
can we install two diferent versions of apache on same server for different applications? (1 Reply)
Discussion started by: madhudeva
1 Replies
9. Red Hat
Got two RHEL servers - one real and one virtual/cloud.
Both run apache web server.
When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem.
Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies
LEARN ABOUT MOJAVE
getpeereid
GETPEEREID(3) BSD Library Functions Manual GETPEEREID(3)
NAME
getpeereid -- get the effective credentials of a UNIX-domain peer
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
int
getpeereid(int s, uid_t *euid, gid_t *egid);
DESCRIPTION
The getpeereid() function returns the effective user and group IDs of the peer connected to a UNIX-domain socket. The argument s must be a
UNIX-domain socket (unix(4)) of type SOCK_STREAM on which either connect(2) or listen(2) have been called. The effective used ID is placed
in euid, and the effective group ID in egid.
The credentials returned to the listen(2) caller are those of its peer at the time it called connect(2); the credentials returned to the
connect(2) caller are those of its peer at the time it called listen(2). This mechanism is reliable; there is no way for either side to
influence the credentials returned to its peer except by calling the appropriate system call (i.e., either connect(2) or listen(2)) under
different effective credentials.
One common use of this routine is for a UNIX-domain server to verify the credentials of its client. Likewise, the client can verify the cre-
dentials of the server.
IMPLEMENTATION NOTES
On FreeBSD, getpeereid() is implemented in terms of the LOCAL_PEERCRED unix(4) socket option.
RETURN VALUES
The getpeereid() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi-
cate the error.
ERRORS
The getpeereid() function fails if:
[EBADF] The argument s is not a valid descriptor.
[ENOTSOCK] The argument s is a file, not a socket.
[ENOTCONN] The argument s does not refer to a socket on which connect(2) or listen(2) have been called.
[EINVAL] The argument s does not refer to a socket of type SOCK_STREAM, or the kernel returned invalid data.
SEE ALSO
connect(2), getpeername(2), getsockname(2), getsockopt(2), listen(2), unix(4)
HISTORY
The getpeereid() function appeared in FreeBSD 4.6.
BSD
July 15, 2001 BSD