Help about Freebsed

General discussion about PLUC and Linux in Pakistan.

Help about Freebsed

Postby kashif » Wed Jun 23, 2004 8:15 am

I just started work on Freebsd.I have practise on Redhat. But finding dfficulty in freebsd as some basic command are not availabe in Freebsd.

Like rpm, service etc.

How can I check the package as we do in Redhat
# rpm -q squid

How can I make an ordinary user a root user.

as we do in Redhat #adduser -o switch.

How can i check the ram usuage as #free -m

Moreover i will be thankfull if any one provide some good links of Freebsd from where I can learn quickly.
**********************************************

As-Salaatu was-Salaamu Alaika Ya Sayyidi Ya Rasool ALLAH

**********************************************
kashif
Naib Subedar
 
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

Re:

Postby LinuxFreaK » Wed Jun 23, 2004 9:08 am

Dear kashif,
Salam,

FreeBSD is Differenet then Red Hat. FreeBSD is Similar to Slackware. To install packages (ie. pre-compiled binaries as opposed to using ports, ie. going from source code) : pkg_add /path/to/tar/gz/package . To query installed packages : pkg_info . To remove a package : pkg_delete . Just like under Linux, packages do not ship with all their depencies, which you'll have to install beforehand... Adding an ordinary user a root user Please Check this Out: http://www.freebsd.org/doc/en_US.ISO885 ... s/x71.html

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby kashif » Mon Jul 05, 2004 6:02 pm

Dear LinuxFreak!!! Thanks for you reply...

i have configured DNS on Freebsd .but But when i check pkg_info it does not show bind or named.

Freebsd (which i bought from Hafeez Center )consist of Two cds ,whole installation completed with first cd, now when i open second for checking it consists of similer directries as in under / (root partion) like etc usr dev etc.

I did not understand the purpose of 2nd cd.(or they have given me wrong cd) . I want to configure Squid ,But I did not find sqaud package.

can you tell me how Can i install in Package form.

Plz guide me in this new arena
**********************************************

As-Salaatu was-Salaamu Alaika Ya Sayyidi Ya Rasool ALLAH

**********************************************
kashif
Naib Subedar
 
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

Re:

Postby LinuxFreaK » Mon Jul 05, 2004 9:22 pm

Dear kashif,
Salam,

Sir, Download Squid Source from http://www.squid-cache.org and use pkg_add command to install squid.

# pkg_add squid.x.y.z.tar.gz

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron