Mainos / Advertisement:

Ero sivun ”Sambadc” versioiden välillä

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun
Rivi 14: Rivi 14:
 
  make
 
  make
 
  make install
 
  make install
 +
 +
 +
echo 'export PATH=$PATH:/usr/local/samba/bin:/usr/local/samba/sbin' >> .bashrc
 +
tail -n1 .bashrc
 +
export PATH=$PATH:/usr/local/samba/bin:/usr/local/samba/sbin
 +
source .bashrc
 +
root@sambadc:/usr/local/samba# samba -V
 +
Version 4.1.16

Versio 27. tammikuuta 2015 kello 11.16

{{#allow-groups:sysop}}

apt-get install build-essential libacl1-dev libattr1-dev libblkid-dev libgnutls-dev libreadline-dev python-dev libpam0g-dev python-dnspython gdb pkg-config libpopt-dev libldap2-dev dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl
aptitude install git build-essential python-dev libacl1-dev libldap2-dev libctdb-dev libkrb5-dev libfam-dev dmapi-dev libpam-dev libavahi-common-dev libavahi-client-dev libcups2-dev dnsutils


wget https://www.samba.org/samba/ftp/stable/samba-4.1.16.tar.gz
gunzip samba-4.1.16.tar.gz
tar -xvf samba-4.1.16.tar
mv samba-4.1.16 /usr/local/samba
cd /usr/local/samba
./configure
make
make install


echo 'export PATH=$PATH:/usr/local/samba/bin:/usr/local/samba/sbin' >> .bashrc 
tail -n1 .bashrc
export PATH=$PATH:/usr/local/samba/bin:/usr/local/samba/sbin
source .bashrc 
root@sambadc:/usr/local/samba# samba -V
Version 4.1.16
Mainos / Advertisement: