Difference between revisions of "SchoolOnffLine: Menyiapkan Server Repository Ubuntu Lokal"

From OnnoWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
  chown -Rf ftp.nogroup /home/ftp/pub
 
  chown -Rf ftp.nogroup /home/ftp/pub
  
 +
mkdir /var/www/ubuntu
 +
mkdir /home/ftp/pub/repo
 
  mount --bind /var/data/repo /var/www/ubuntu
 
  mount --bind /var/data/repo /var/www/ubuntu
 
  mount --bind /var/data/repo /home/ftp/pub/repo
 
  mount --bind /var/data/repo /home/ftp/pub/repo

Revision as of 18:54, 19 December 2009

mkdir /var/data
mkdir /var/data/public
mkdir /var/data/repo
chown -Rf nobody.nogroup /var/data
chmod -Rf 777 /var/data
mkdir /home/ftp/pub
mkdir /home/ftp/pub/repo
chown -Rf ftp.nogroup /home/ftp/pub
mkdir /var/www/ubuntu
mkdir /home/ftp/pub/repo
mount --bind /var/data/repo /var/www/ubuntu
mount --bind /var/data/repo /home/ftp/pub/repo


Pranala Menarik