Se crea el archivo /etc/profile.d/custom_histformat.sh con el comando:
echo 'export HISTTIMEFORMAT="%y/%m/%d %T "' >> /etc/profile.d/custom_histformat.sh
Este Blog inicia como notas personales con datos recolectados de diferentes fuentes que trataré de reconocer siempre, se encuentran publicadas por si alguien más se puede beneficiar de ellas.
echo 'export HISTTIMEFORMAT="%y/%m/%d %T "' >> /etc/profile.d/custom_histformat.sh
# Asigna el relayhost al servidor MSTP de Gmail
relayhost = smtp.gmail.com:587
# Se requiere la opcion TLS
smtp_tls_security_level = secure
smtp_tls_mandatory_protocols = TLSv1
smtp_tls_mandatory_ciphers = high
smtp_tls_secure_cert_match = nexthop
# Revisar que exista esta ruta -- Son los certificados usados por TLS
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
# Asignar la opcion sasl
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
egrep -v '^(#|$)' /etc/samba/smb.conf grep -E -v '^(#|$)' /etc/samba/smb.conf
grep -E -v '^(#|;|$|[ ]*#)' /etc/samba/smb.conf
sed -e '/^[ ]*#/d' -e '/^$/d' /etc/samba/smb.conf
sed -e '/^[ ]*#/d' -e '/^[ ]*;/d' -e '/^$/d' /etc/samba/smb.conf
perl -ne 'print unless /^\s*[;\$#]|^$/' fichier_config
|
Mount
Point
|
Size
|
Notes
|
|
|
1
|
/ (root)
|
3 GB
|
...
|
|
2
|
swap
|
256 MB
|
(assuming 128 MB of RAM)
|
|
3
|
/home
|
100 MB
|
...
|
|
/tmp
|
100 MB
|
...
|
|
|
6
|
/var
|
100 MB
|
...
|
|
...
|
...
|
...
|
...
|
|
Part # /
LV name |
Mount
Point
|
Size
|
Notes
|
|
1
|
/ (root)
|
30 GB
|
...
|
|
2
|
swap
|
2 GB
|
(assuming 2 GB of RAM)
|
|
3
|
/boot
|
200 MB
|
...
|
|
5
|
—
|
150 GB
|
Formatted as an LVM physical volume;
holds volume group VG1 |
|
homeLV
|
/home
|
20 GB
|
Logical volume in VG1
|
|
tmpLV
|
/tmp
|
10 GB
|
Logical volume in VG1
|
|
varLV
|
/var
|
100 GB
|
Logical volume in VG1
|
|
optLV
|
/opt
(or /usr/local) |
20 GB
|
Logical volume in VG1
|
|
6
|
—
|
rest of disk
|
Formatted as an LVM physical volume;
holds volume group VG2 |
|
moviesLV
|
/movies
|
rest of disk
|
Logical volume in VG2
|
|
Slice #
|
Mount
Point
|
Size
|
Notes
|
|
Primary
Solaris Partition
|
|||
|
0
|
/ (root)
|
12 GB
|
...
|
|
1
|
swap
|
2 GB
|
assuming 2 GB of RAM. Swap
normally placed in cylinders on
the inside of the disk, as it won't be used much and wasting the best performing area of the disk. If the system is short of RAM, having swap near the outer edge of the disk is better. |
|
2
|
reserved
|
—
|
refers to whole partition (for backups)
|
|
3
|
unused
|
—
|
—
|
|
4
|
unused
|
—
|
—
|
|
5
|
/export
|
5 GB
|
traditional Solaris location for NFS/Samba shares
and user
home directories (/export/home is mounted on /home via auto-mounter) |
|
6
|
un-named
|
60 GB
|
SVM pool for soft partitions
|
|
7
|
un-named
|
32 MB
|
needed for meta-device DB replicas,
used when (re-)mirroring
disks with SVM (OK to reserve this if SVM might ever be used) Each replica needs 4 MB and only 2 or 3 are needed, but wasting 20 MB is okay and some folks recommend this size |
|
SVM Soft Partitions
— grow as needed
|
|||
|
—
|
/var
|
4 GB
|
...
|
|
—
|
/var/www
(or /www) |
30 GB
|
the web site including web content, servlets and EJBs,
databases, ... |
|
—
|
/opt
|
10 GB
|
...
|
|
—
|
/var/log
|
6 GB
|
only needed if you plan to keep a lot of on-line log data
(e.g., weeks to months). Best practice is to leave this as part of root partition (and make that 6 GB larger) |
|
—
|
reserved
|
rest of
SVM pool |
others as needed later: /crash-dump,
/var/audio-video,
/var/mail, /var/spool, /usr/share, ... |