martes, mayo 11, 2010

FreeBSD 8

Requerimientos:

Disco de instalacion de FreeBSD
Conexion a internet

Instalando:

Iniciar el equipo desde el cd

232 United States
OK

Standard Begin a standard installation (recommended)
[Select]

...fdisk...
OK

Would you like to keep using the current geometry?
YES

A = Use Entire Disk
Q = Finish

Standard Install a standard MBR (no boot manager)
OK

Now you need to create BSD partitions...
OK

C = Create
4096M
OK
FS A file system
OK
Please specify a mount point for the partition
/
OK

C = Create
2048M
OK
Swap A swap partition
OK

C = Create
8192M
FS A file system
OK
/var
OK

C = Create
(the resto of hd free)
OK
FS A file system
OK
/usr
OK

Q = Finish

----------------------------------------------
Ejemplo de particionado para un disco de 36GB SCSI

Part Mount Size Newfs Part
da0s1a / 4096MB UFS2 Y
da0s1b swap 2048MB SWAP
da0s1d /var 8192MB UFS2+S Y
da0s1e /usr 22528MB UFS2+S Y
----------------------------------------------

[X] 5 Kern-Developer Full binaries and doc, kernel soruces only
OK

<<< X Exit Exit this menu (returning to previous)
OK

Would you like to install the FreeBSD ports collection?
YES
OK
1 CD/DVD Install fron a FreeBSD CD/DVD
OK

Last Chance!
YES

Congratulations! You now have FreeBSD installed on your system.

/usr/sbin/sysinstall

OK

Would you like to configure any Ethernet or SLIP/PPP network devices?
YES

(si tenemos dos tarjetas, debemos tomar nota de los nombres, por ejemplo: sis0 y rl0)

sis0 SiS 900/SiS 7016 PCI Ethernet card
OK

Do you want to try IPv6 configuration of the interface?
YES

Do you want to try DHCP configuration of the interface?
YES

Host: pruebas.company.com
Domain: company.com
IPv4 Gateway: 192.168.1.1
Name server: 192.168.1.1
IPv4 Address: 192.168.1.108
Netmask: 255.255.255.0
OK

Do you want this machine to funtion as a network gateway?
NO

Do you want to configure inetd and the network services that it provides?
NO

Would you like to enable SSH login?
YES

Do you want to have anonymous FTP access to this machine?
NO

Do you want to configure this machine as an NFS server?
NO

Do you want to configure this machine as an NFS client?
NO

Would you like to customize your system console settings?
NO

Would you like to set this machine's time zone now?
YES

Is this machine's CMOS clock set to UTC? If ...
NO

2 America -- North and South
OK

13 Colombia
OK

Does the abbreviation 'COT' look reasonable?
YES

Does this system have a PS/2, serial, or bus mouse?
NO

The FreeBSD package collection is a ...
NO

Would you like add any initial user accounts...?
YES

User Add a new user to the system
OK

Login: myname
UID: 1001
Group:
Password: ******
Confirm Password: *******
Full name: My Full Name
Member groups:
Home directory: /home/myname
Login shell: /bin/sh
OK

X Exit Exit this menu (returning to previous)
OK

Now you must set the system manager's password
OK
New Password: ******
Retype New Password: ******

Visit the general configuration menu...?
NO

X Exit Install

Are you sure you wish to exit? The system will reboot
YES

(expulsa el disco de instalacion)

Be sure to remove the media fron the drive
OK

(se reinicia el equipo)

(al terminar de cargar, nos pide login y password en el shell)

FreeBSD/i386 (pruebas.company.com) (ttyv0)
Login: root
Password: ******

pruebas#

Nota:
FreeBSD por defecto solo permite conectar por SSH con usuarios normales, tampoco permite a los usuarios hacer 'su' por seguridad, por esto para permitirle a un usuario hacer 'su' hay que editar el archivo /etc/group

# edit /etc/group
---
wheel:*:0:root,angel
---
En nuestro ejemplo hemos agregado el login angel como se puede ver, los logins van separados por (,).

No hay comentarios.: