Re: Famp Server

2012-10-29 Thread Peter Vereshagin
Hello.

2012/10/28 22:33:41 -0700 Hamisi Jabe hamso...@yahoo.com = To 
freebsd-questions@FreeBSD.org :
HJ I freel freebsd is very good in networking server but it make work hard for 
compiling the Famp package (Freebsd, apache, mysql, php) i would like to ask 
the developers to compile a package that its a one select and install which 
will do everything for the famp server rather than downloading selecting 
extensions, installing this and that exectra. 

I think this can be implemented as a 'metaport'. You may try to make it 
yourself or ask someone else e. g., me.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/etc/passwd and char

2012-10-29 Thread jb
Hi,

Question:
What is the purpose of the  char in GECOS fields, e.g. user's name field, in
/etc/passwd file ?

$ grep  /etc/passwd
root:*:0:0:Charlie :/root:/bin/csh
operator:*:2:5:System :/:/usr/sbin/nologin
svn:*:1002:1002:User :/home/svn:/usr/sbin/nologin

The field containing  char represents -c comment option in pw(8), which
sets up GECOS fields (user's full name, etc).

The pw(8) states further:
...
 The pw utility allows 8-bit characters in the passwd GECOS field ...
 ...
Using 8-bit characters may also affect other
 programs that transmit the contents of the GECOS field over the Internet,
 such as fingerd(8), and a small number of TCP/IP clients, such as IRC,
 where full names specified in the passwd file may be used by default.
...

http://en.wikipedia.org/wiki/Ampersand
...
Encoding and display
...
Programming languages
...
  The ampersand character is used as a special character in at least some
  versions of the database software originally created in Denmark under the
  name Navision (the software has since been acquired by Microsoft). Using this
  character in either Text or Code fields could create difficulties for
  performing certain tasks in Navision, such as filtering records (either by
  the user or by programming). It is also used as described below to indicate
  shortcuts in menu items and lab els.
...
Text markup
  In SGML, XML, and HTML, ... This creates what is known as the ampersand
  problem. ...
...
Unix shells
...
Web standards
...

Google search results for  character:
Special (escape) characters in SGML, HTML and XML documents:
amp;   #38;  ampersand

jb


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /etc/passwd and char

2012-10-29 Thread Trond Endrestøl
On Mon, 29 Oct 2012 08:28-, jb wrote:

 Hi,
 
 Question:
 What is the purpose of the  char in GECOS fields, e.g. user's name field, 
 in
 /etc/passwd file ?
 
 $ grep  /etc/passwd
 root:*:0:0:Charlie :/root:/bin/csh
 operator:*:2:5:System :/:/usr/sbin/nologin
 svn:*:1002:1002:User :/home/svn:/usr/sbin/nologin

From passwd(5):

 The full name may contain a ampersand (`') which will be replaced by the
 capitalized login name when the gecos field is displayed or used by vari-
 ous programs such as finger(1), sendmail(8), etc.

 The field containing  char represents -c comment option in pw(8), which
 sets up GECOS fields (user's full name, etc).
 
 The pw(8) states further:
 ...
  The pw utility allows 8-bit characters in the passwd GECOS field ...
  ...
 Using 8-bit characters may also affect other
  programs that transmit the contents of the GECOS field over the Internet,
  such as fingerd(8), and a small number of TCP/IP clients, such as IRC,
  where full names specified in the passwd file may be used by default.
 ...
 
 http://en.wikipedia.org/wiki/Ampersand
 ...
 Encoding and display
 ...
 Programming languages
 ...
   The ampersand character is used as a special character in at least some
   versions of the database software originally created in Denmark under the
   name Navision (the software has since been acquired by Microsoft). Using 
 this
   character in either Text or Code fields could create difficulties for
   performing certain tasks in Navision, such as filtering records (either by
   the user or by programming). It is also used as described below to indicate
   shortcuts in menu items and lab els.
 ...
 Text markup
   In SGML, XML, and HTML, ... This creates what is known as the ampersand
   problem. ...
 ...
 Unix shells
 ...
 Web standards
 ...
 
 Google search results for  character:
 Special (escape) characters in SGML, HTML and XML documents:
 amp;   #38;  ampersand
 
 jb

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Famp Server

2012-10-29 Thread Karol Bujaček

On 10/29/2012 7:50 AM, Peter Vereshagin wrote:

I think this can be implemented as a 'metaport'. You may try to make
it yourself or ask someone else e. g., me.


Hi,

Do you mean something like misc/instant-server in ports? I never use 
that port, only noticed some days ago. Maybe this can be used/ajdusted?


Karol
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Famp Server

2012-10-29 Thread Peter Vereshagin
Hello.

2012/10/29 10:31:31 +0100 Karol Buja??ek bujac...@fel.cvut.cz = To 
freebsd-questions@freebsd.org :
KBe On 10/29/2012 7:50 AM, Peter Vereshagin wrote:
KBe  I think this can be implemented as a 'metaport'. You may try to make
KBe  it yourself or ask someone else e. g., me.
KBe 
KBe Do you mean something like misc/instant-server in ports? I never use 
KBe that port, only noticed some days ago. Maybe this can be used/ajdusted?

Probably to copy from an existing portto create a new one isn't a best idea but
prehaps it is a good start to get the things done.

About the what I know to be exactly a 'metaport' is lang/php5-extensions.

Why not just keep a list of ports or packages? I believe the modern management
tools (portmaster/portupgrade) can install them smoothly in one command.

If the what you want is a binary package then what if the 'pkgng' stuff has or
will have such a feature: to bundle a metaport in a package?

And, the pc-bsd (http://www.pcbsd.org) seem to have such an AMP package out of
the box (or downloaded via its package manager)

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Famp Server

2012-10-29 Thread Johan Hendriks

Hamisi Jabe schreef:

Dear All,

I freel freebsd is very good in networking server but it make work hard for 
compiling the Famp package (Freebsd, apache, mysql, php) i would like to ask 
the developers to compile a package that its a one select and install which 
will do everything for the famp server rather than downloading selecting 
extensions, installing this and that exectra.


thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Well it is simpel, just use pkg_add -r apache mysql php  and so on.
It will install the packages without compiling.
BUT we can not tell you which php modules you need.
So it could be that you later on need php-gd or some other option.
Then pkg_add -r php-module name will install the missing module.
You could install all the php modules, but i think (know) it is not wise 
to do so.


regards


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd iSCSI client ?

2012-10-29 Thread dweimer

On 2012-10-29 08:29, John Levine wrote:
I'm trying to set up a freebsd image under vmware, but I need more 
disk
space than the vmware hosts offer.  So the guy who runs the hosting 
place
suggests getting a 1U disk server and using iSCSI over gigabit 
Ethernet

so I can build zfs volumes from the iSCSI disks.

Poking around, the reports say that FreeBSD is a pretty good iSCSI
server in such forms as freenas, but a lousy iSCSI client, with the
first problem being that that kludges are required to get iSCSI
volumes mounted early enough in the boot process for ZFS to find 
them.

Is this still the case in FreeBSD 9?

I'd rather not use NFS, since the remote disks have mysql databases,
and mysql and NFS are not friends.

An alternative is to mount the iSCSI under vmware, so zfs sees them 
as

normal disks.  Anyone tried that?

TIA,
John


I don't have an answer for you at the moment, but I can tell you that I 
just started a new server build this morning with the intent of using it 
as an iSCSI client and running ZFS on the drive.  In my case however its 
going to be a file server that doesn't have very much heavy I/O, with 
the intention of using compression on the ZFS file set.  In my case a 
script ran after start up to mount the drive would work if it fails.  I 
will let you know what I find out, server is in the middle of a 
buildworld to get it updated to the p4 release.


Yes you can mount as a drive through VMware and use ZFS just fine, I 
have done a lot of recent tests using ZFS as the boot volume under 
VMware. This new server will be my first production server to use what I 
have learned from those tests, as its system drive mounted through 
VMware (ESX 4.1) and is booting from ZFS.  Once the install of the 
buildworld is complete I will add a 150G ZFS data set on our HP Lefthand 
Networks SAN, run some tests and let you know the outcome of them.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PXE tftp - double boot

2012-10-29 Thread Vagner
Hello!
Tell me please, how can i boot from tftp server (throught pxe) several
copies FreeBSD from different path (For example: /pxeroot/freebsd1 and
/pxeroot/freebsd2)?  
I see variale rootpath at source sys/boot/i386/libi386/pxe.c. I
compiled several pxeboot files (there i changed variable rootpath from / to 
/pxeroot/freebsd[1-2]), and i booted this files throught pxelinux.
Booting stoped at boot kernel. 

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vag...@bsdway.ru
email: put...@playform.ru
email: root.vag...@gmail.com
site: bsdway.ru
site: fotostrana.ru


 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org