DOCUMENTOS BETA

Page last edited hace 2208 días 9 horas
De Solaris-ES
Saltar a: navegación, buscar

Instalacion personalizada del Solaris 11[editar]

Paqueteria adisional[editar]

# pkg install apache-22
# pkg install make
# pkg install gnu-grep
# pkg install openssl
# pkg install curl
# pkg install autoconf
# pkg install bison flex
# pkg install flex
# pkg install gd
# pkg install libtool
# pkg install gtk2 libjpeg header-math
# pkg install mysql-5
# pkg install gcc-45
# pkg install text/gnu-diffutils
# pkg install text/gnu-patch
# pkg install archiver/gnu-tar
# pkg install gcc-3
# pkg install text/gnu-grep
# pkg install system/header
# pkg install samba
# pkg install freetype-2
# pkg install pkg://solaris/database/mysql-51/library
# pkg install libxevie
# pkg install libxscrnsaver

APACHE[editar]

CC="/opt/solarisstudio12.3/bin/cc" CFLAGS="-xtarget=generic -m32" CXX="CC" CXXFLAGS="-xtarget=generic -m32" LDFLAGS="-m32" 
./configure \
--enable-authn-dbm      \
--enable-authn-anon     \
--enable-authn-dbd      \
--enable-authn-alias    \
--enable-authz-dbm      \
--enable-authz-owner    \
--enable-authnz-ldap    \
--enable-auth-digest    \
--enable-isapi          \
--enable-file-cache     \
--enable-cache          \
--enable-disk-cache     \
--enable-mem-cache      \
--enable-dbd            \
--enable-bucketeer      \
--enable-dumpio         \
--enable-echo           \
--enable-case-filter    \
--enable-case-filter-in \
--enable-reqtimeout     \
--enable-ext-filter     \
--enable-substitute     \
--enable-charset-lite   \
--enable-deflate        \
--enable-ldap           \
--enable-log-forensic   \
--enable-logio          \
--enable-mime-magic     \
--enable-cern-meta      \
--enable-expires        \
--enable-headers        \
--enable-ident          \
--enable-usertrack      \
--enable-unique-id      \
--enable-proxy          \
--enable-proxy-connect  \
--enable-proxy-ftp      \
--enable-proxy-http     \
--enable-proxy-scgi     \
--enable-proxy-ajp      \
--enable-proxy-balancer \
--enable-ssl            \
--enable-http           \
--enable-dav            \
--enable-info           \
--enable-suexec         \
--enable-cgi            \
--enable-cgid           \
--enable-dav-fs         \
--enable-dav-lock       \
--enable-vhost-alias    \
--enable-imagemap       \
--enable-speling        \
--enable-rewrite        \
--enable-so

make
make install

PHP[editar]

CC="/opt/solarisstudio12.3/bin/cc" CFLAGS="-xtarget=generic -m32" CXX="CC" CXXFLAGS="-xtarget=generic -m32" LDFLAGS="-m32" 
./configure \
--prefix=/usr/local/apache \
--enable-mbstring \
--enable-shared \
--enable-exif \
--enable-sockets \
--enable-soap \
--enable-sigchild \
--with-config-file-path=/usr/local/php/lib \
--with-zlib \
--with-mysql=/usr/mysql \
--with-mysqli=/usr/mysql/bin/mysql_config \
--with-apxs2=/usr/local/apache2/bin/apxs \
--without-pgsql \
--with-gd \
--with-curl \
--with-ldap \
--with-openssl \
--with-gettext \
--with-pear \
--with-libxml-dir=/usr \
--with-xpm-dir=/usr \
--with-jpeg-dir=/usr \
--with-zlib-dir=/usr \
--with-png-dir=/usr \
--with-pcre-dir=/usr \
--with-freetype-dir=/usr \
--with-mcrypt

make
make install

SAMBA[editar]

Add a user to samba[editar]

# smbpasswd -a mariano

Restart o reload samba[editar]

# service smb restart
# /etc/init.d/smb reload

automount a Samba share with /etc/fstab[editar]

# vi /etc/fstab
//ntserver/docs /mnt/samba      smbfs   username=docsadm,password=XxXxXxX 0 0
Donde:
 //ntserver/docs: Windows 2003/NT/Samba share name
 /mnt/samba: Local mount point (you may need to create this directory first)
 smbfs: File system type (samba file system)
 username=docsadm,password=XxXxXxX: Share username and password