unscribe

2007-06-06 Thread Sherry Zhang

unscribe freebsd-questions
END
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portversion vs. pkg_version

2006-12-24 Thread Sherry Zhang

Mr. Lee:

imho, portversion(uses the INDEX file to look up port versions) is
like the desktop search(searh an index file), and the pkg_version(
queries the port
versions directly) is like the find command(search the entire disk);)

use portversion instead, it's efficient cause it use port database.
however, it will take a long time using portsdb to update the database
file (the INDEX file) when you want to use portversion.

ps,i like your essays on GNU/Linux, LaTex, etc. and I gain a lot from them

Sherry Zhang
On 12/24/06, Edward G.J. Lee [EMAIL PROTECTED] wrote:

Hi all,

 What's the difference between `portversion' and `pkg_version -I'?

 Thanks.


   Edward
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: [ot] can I have an account on your host? (so that I can edit wikipedia)

2006-12-24 Thread Sherry Zhang

hi,张�|武
imho. maybe you can use https instead if you can stand for the slow
speed. but you'd better not do that for your safety:)
btw, use tor to browse the wikipedia, there are several ways on how to
edit wikipedia inside the great firewall.
the great firewall is great!
Sherry Zhang

On 12/22/06, Fabian Keil [EMAIL PROTECTED] wrote:

Girish Venkatachalam [EMAIL PROTECTED] wrote:

 On Fri, Dec 22, 2006 at 11:59:59AM +0800, ? wrote:
  Hello. I am from China and I'd like to contribute to wikipedia, but
  this is not easy / possible because we cannot access wikipedia from
  inland (the great firewall) and my usual method accesssing wikipedia
  (through ssh -L 80:en.wikipedia.org:80 my_server_in_german) can allow
  me to visit wikipedia but do not allow me to edit it (open proxy,
  your host IP address is detected to be belonging to a hosting
  company).
 
  Can I have an account on your host (or maybe not an account, any means
  let me access wikipedia from a host that is not in datacenter) so that
  I can go on editing wikipedia?

 I think you need tor

Wikipedia doesn't allow edits coming from known Tor exit nodes.

Fabian
--
http://www.fabiankeil.de/



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

Re: About how the GUI should look like after installation!

2006-11-01 Thread Sherry Zhang

On 11/2/06, Evans Durandisse [EMAIL PROTECTED] wrote:


I am brand new to unix. I m a beginner student in computer engineering. I
wanted to install
freeBSD since there's such a fuss about it. I got the iso images and
mounted them on a CD with Alcohol 120. I installed freebsd without much
configuration. I answered 'no' when asked to configure things what could be
configured later. But I do not know if I installed it right, eventhough I
tried to follow the instructions from the handbook. When I open my computer,
after installation, there's the screen that asked if I want to start freebsd
or dos. So I choose freebsd. Then, I logged in and typed 'startx' to start
the gui (that's what I should do! right!). Consequently, it'd been loaded. I
am just seeing four comand shells. That's all I can see! No taskbars! No
background picture (greying grinded dots: like pixels in a low definition
image). There're just four squared box (shell). My mouse worked! But there's
nothing it can be used for. I tried to work myself over that by typing some
commands. But I don't know that much of the Unix language; so it's been to
no avail! So my question is should I get this kind of graphic environment?
or something missing in the installation.

I have an intel D845GLVA motherboard with a Pent IV, integrated video
card, Samsung SyncMaster 753DF (maybe it's the hardware). But I didn't get
any error message for that.
   Thank you for considering helping! Have a good day!
Evans


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



Evans

it seems that every thing works fine!
if you want a desktop enviroment, simply link to the internet, and type
pkg_add -r gnome2
or something else. then without much configuration, you can use the gnome
desktop environment.

please follow the handbook (see /usr/share/doc) and you will be able to
explore more.

Sherry Zhang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is there any highly compressed filesystems [like squashfs] supported directedly by FreeBSD?

2006-10-30 Thread Sherry Zhang

Hi,all:

We built a software for GNU/Linux system and use squashfs file system to fit
1.5G files into a single CD. to use the CD, just
mount -o loop /dev/cdrom /mnt
mount -o loop -t squashfs /mnt/file.squash /the/path
will do the job.

Now we also want include the BSD binary. I switched to freebsd 2 weeks ago
and do not know anything abount it. so I want to ask is there any highly
compressed filesystem like cramfs or squashfs [we think a live CD should not
ask a user to install any software, so filesystems directedly supported by
FreeBSD are perferred] ? Which one is better [I mean compression rate] ? Can
anyone gives me a hint?

Thank you
Sherry Zhang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WordPress, Apache, modules, mod_rewrite - how to verify?

2006-10-30 Thread Sherry Zhang

Nick:
for mod_php,  please take a look at the FreeBSD handbook  chapter 25,
25.7.5.2.2
mod_php * written by Tom Rhodes.*
Sherry Zhang

On 10/30/06, Nick [EMAIL PROTECTED] wrote:


I've been looking on the web for hours but haven't found any help, though
of asking on some forums when I suddenly remembered!  There's
freebsd-questions!!

Anyway, I'm a MS SQL Server guy, trying to mess around with FreeBSD at
home.  I've managed to install 6.1, CVSup, xorg, KDE, Apache 1.3.  I
haven't touched this box for a while due to my work schedule, now I'm trying
to pick up where I left off... I just install ed WordPress from ports,
trying to use it to learn PHP and MySQL.  (At work, I'm almost 100% SQL
Server only!  I'm hoping to change to a Linux / Oracle, Data Warehouse type
of position but outside of work, I would like to learn some PHP, Perl
and MySQL... may be start a little side web biz or something...)

So, main question:

WordPress requires PHP 4 and MySQL 3 or later, and optional
mod_rewrite.  How do I verify if these are installed?

I used pkg_version -v to check my installed ports' versions, I have
these:
apache-1.3.37_1
mod_perl-1.29_1
mysql-client-5.1.11
perl-5.8.8
php5-5.1.4
php5-mysql-5.1.4
php5-pcre-5.1.4
php5-xml-5.1.4
wordpress-2.0.4_1,1

I think I still need to install mod_php and mod_rewrite, but I can't see
them in /usr/ports/www

How do I verify that php, MySql and mod_rewrite are install and function
properly in Apache?

Thanks!

Nick

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


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


Re: Is there any highly compressed filesystems [like squashfs] supported directedly by FreeBSD?

2006-10-30 Thread Sherry Zhang

Vince
thx for reply, I think it use cloop. and I know how to mount cloop in
GNU/Linux
just mount -t cloop will do . but how can I do it in freebsd?
Sherry Zhang

On 10/30/06, Vince [EMAIL PROTECTED] wrote:


Sherry Zhang wrote:
 Hi,all:

 We built a software for GNU/Linux system and use squashfs file system to
 fit
 1.5G files into a single CD. to use the CD, just
 mount -o loop /dev/cdrom /mnt
 mount -o loop -t squashfs /mnt/file.squash /the/path
 will do the job.

 Now we also want include the BSD binary. I switched to freebsd 2 weeks
ago
 and do not know anything abount it. so I want to ask is there any highly
 compressed filesystem like cramfs or squashfs [we think a live CD should
 not
 ask a user to install any software, so filesystems directedly supported
by
 FreeBSD are perferred] ? Which one is better [I mean compression rate] ?
 Can
 anyone gives me a hint?

I think you want mkuzip (and geom_uzip)  have a read on man mkuzip and
see what you think. Not sure how good the compression is though. Might
be worth talking to the freesbie people (http://www.freesbie.org/) as i
think they may use this and they're the FreeBSD liveCD experts ;)


Vince
 Thank you
 Sherry Zhang
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


Re: Is there any highly compressed filesystems [like squashfs] supported directedly by FreeBSD?

2006-10-30 Thread Sherry Zhang

thx, I'll man it:)

On 10/31/06, Lowell Gilbert [EMAIL PROTECTED] wrote:


Sherry Zhang [EMAIL PROTECTED] writes:

 Hi,all:

 We built a software for GNU/Linux system and use squashfs file system to
fit
 1.5G files into a single CD. to use the CD, just
 mount -o loop /dev/cdrom /mnt
 mount -o loop -t squashfs /mnt/file.squash /the/path
 will do the job.

 Now we also want include the BSD binary. I switched to freebsd 2 weeks
ago
 and do not know anything abount it. so I want to ask is there any highly
 compressed filesystem like cramfs or squashfs [we think a live CD should
not
 ask a user to install any software, so filesystems directedly supported
by
 FreeBSD are perferred] ? Which one is better [I mean compression rate] ?
Can
 anyone gives me a hint?

geom_uzip(4)


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


Re: question on my screen resolution

2006-10-30 Thread Sherry Zhang

On 10/31/06, Garrett Cooper [EMAIL PROTECTED] wrote:


Frank Shute wrote:
 On Mon, Oct 30, 2006 at 11:37:47AM -0800, Garrett Cooper wrote:

 Sherry Zhang wrote:

 Dear Lane:
 thank you for reply

 my xorg.conf


 snip 60+kB of crap


 This is probably an xorg issue, not freebsd-specific.  But send a
copy
 of /var/log/Xorg.0.log, just for giggles.

 lane

I think what Lane meant was:
 1. Change video driver to ati or fglx (or whatever the Opengl version
of
 the ati driver is).



there is no fglrx driver for BSD. what's more, ati driver or radeon driver
are too old for my video card.
when I use these, I cannot load X. it says glx missing. but I do have it.



2. Copy that /var/log/Xorg.0.log here (or link to the file from another

 site to reduce the size of the email).
Also, please bottom post.
Thanks!
 -Garrett


 You admonish a poster for top posting and suggest linking to logs
 rather than posting them.



sorry for my poor mail habits
I wont next time:)



 I agree.

 Yet simultaneously you include a huge amount of superfluous garbage in
 your own post. What gives?

   It was just laziness / forgetfulness most likely that caused that
garbage dump. Doh!
 Don't you eat your own dog food? ;)
   I tend not to eat kibbles and bits, but obviously that's what I did.
Lol.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


question on my screen resolution

2006-10-29 Thread Sherry Zhang

Hello everyone:

I am running freebsd 6.1 release on my Dell 6400 laptop computer. It has a
1280x800 wide-screen resolution. The video card I use is ATI Radeon Mobility
X1300. But I failed to adjust the screen resolution. I follow the
instructions in the FreeBSD handbook, but failed.

First I add  1280x800 into Modes, but still 1024x768
Later I add Virtual 1280 800 just after the Modes, X mass up the screen, I
can not see anything.
Last, I run gtf and get a ModeLine, and added into the xorg.conf, and also
use Modes 1280x800, and again it display in 1024x768.

The drive I use is vesa because when I use radeon or ati, I cannot get into
X.
it says glx not found or something and guess ati or radeon driver does not
support my X1300 video card.

can anyone gives me a hint? thx.

Sherry Zhang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTKMozEmbed with linux-firefox

2006-10-29 Thread Sherry Zhang

Norberto:

I am a newbie and maybe I do not know how to answer your question. but I
just follow the FreeBSD handbook chapter 6 [6.2.3 Firefox Mozilla, and Java
plugin] and have the flash plugin installed. it works fine. maybe you can
have a try?

Sherry Zhang
with best regards



On 10/30/06, Norberto Meijome [EMAIL PROTECTED] wrote:


Hi everyone,

I use www/linux-firefox as my standard browser, as www/firefox doesn't
support
flash.

/etc/make.conf has
WITH_MOZILLA=firefox
WITH_GECKO=firefox


I am trying to install devel/devhelp, and I bumped into these issues:

1) it requires  ${LOCALBASE}/lib/${MOZILLA}/components/libwidget_gtk2.so
(and
if not present, it tries to install www/${MOZILLA} ) . linux-firefox
doesn't
include libwidget_gtk2.so , but nvu (which I have installed) does.

I solved this issue by symlinking nvu's libwidget_gtk2.so to the expected
firefox location.

so.. 2) when building devhelp, it sees libwidget_gtk2.so and it moves
ahead...
until
[...]
checking LIBDEVHELP_LIBS... -Wl,--rpath -Wl,/usr/local/lib -pthread
-L/usr/local/lib -L/usr/X11R6/lib -lgnomevfs-2 -lgconf-2 -lORBit-2
-lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -lXrandr -lXi
-lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes
-lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm
-lXrender
-lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv checking which
mozilla to use... firefox checking for firefox-gtkmozembed = 0.10
firefox-xpcom = 0.10... Package firefox-gtkmozembed was not found in the
pkg-config search path. Perhaps you should add the directory containing
`firefox-gtkmozembed.pc' to the PKG_CONFIG_PATH environment variable No
package
'firefox-gtkmozembed' found Package firefox-xpcom was not found in the
pkg-config search path. Perhaps you should add the directory containing
`firefox-xpcom.pc' to the PKG_CONFIG_PATH environment variable No package
'firefox-xpcom' found configure: error: Library requirements
(firefox-gtkmozembed = 0.10 firefox-xpcom = 0.10) not met; consider
adjusting
the PKG_CONFIG_PATH environment variable if your libraries are in a
nonstandard
prefix so pkg-config can find them.
[...]

Again, gtkmozembed is available from nvu, but not the .pc (no biggie I
suppose)...

anyway, the question is : is hter a way I can have the missing components
(so
far, libwidget_gtk2 , gtkmozembed, mozembed, xpcom ) *without* having to
install the native firefox ?

Would this be possible to do with a new port? (i.e., www/firefox with a
special
config to only build these objects... would it be useful ?

thanks,

_
{Beto|Norberto|Numard} Meijome

Contrary to popular belief, Unix is user friendly. It just happens to be
very
selective about who it decides to make friends with.

I speak for myself, not my employer. Contents may be hot. Slippery when
wet.
Reading disclaimers makes you go blind. Writing them is worse. You have
been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Re: question on my screen resolution

2006-10-29 Thread Sherry Zhang

Lane:

but actually I think it _is_ a problem of freebsd.
when I use Debian GNU/Linux operating system without the ATI fglrx driver
installed,
I use the similar xorg.conf [remove the Modes 1280x800 and Modeline] and
add Virtual 1280 800 and everything works file.
but I try the same method in freebsd, only to find it failed to work.

what's more, i have the libglx.so module. actually mesa, ati, and radeon
driver does not support x1300.
it also says failed to load glx module when I use Debian GNU/Linux, so only
the 3D won't work.
but it doesn't matter, I just want to change the screen resolution.

but i will take your advice and have a look at the xorg homepage. thx.

Sherry Zhang






On 10/30/06, Lane [EMAIL PROTECTED] wrote:


On Sunday 29 October 2006 20:08, you wrote:
 Dear Lane:
 Thanks for reply.

 my xorg.conf is posted here
 Section ServerLayout
 Identifier X.org Configured
 Screen 0 Screen0 0 0
 InputDevice Mouse0 CorePointer
snip
   it says glx not found or something and guess ati or radeon driver
does
 
  not
 
   support my X1300 video card.
  
   can anyone gives me a hint? thx.
  
   Sherry Zhang
 
  Sherry,
 
  This is probably an xorg issue, not freebsd-specific.  But send a copy
  of /var/log/Xorg.0.log, just for giggles.
 
  lane
Yeah, Sherry.  I'm outta my league.  I recommend that you check out
http://wiki.X.Org to see if and how this card is supported.

It's clear from your /var/log/Xorg.0.log that glx is not being loaded.
Probably you don't have:  /usr/X11R6/lib/modules/extensions/libglx.so

But I'm not sure what knob causes that to be compiled.  Nor am I even sure
that your X1300 card is supported.

Check with the wiki and post back to freebsd-questions if you get an
answer.

Again, sorry I can't be of any help.

lane


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