Help about Freebsed

General discussion about PLUC and Linux in Pakistan.
Post Reply
kashif
Naib Subedar
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

Help about Freebsed

Post by kashif »

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

**********************************************
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

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
kashif
Naib Subedar
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

Post by kashif »

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

**********************************************
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

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
Post Reply