sudo apt-get install bzr
$ bzr whoami 'Joe Doe'
sudo apt-get install subversion libapache2-svn
svnadmin create /path/to/repos/project
svn import /path/to/import/directory file:///path/to/repos/project
svn co file:///path/to/repos/project
sudo chown -R www-data:www-data /path/to/repos
sudo htpasswd -c /etc/subversion/passwd user_name
svn co http://servername/svn
/path/to/repos/project/conf/svnserve.conf
svn co svn://hostname/project project --username user_name
svn co svn+ssh://hostname/var/svn/repos/project
sudo apt-get install cvs
sudo apt-get install xinetd
cvs -d /var/lib/cvs init
/etc/xinetd.d/cvspserver
sudo /etc/init.d/xinetd start
cvs -d :pserver:username@hostname.com:/var/lib/cvs import -m "Importing my project to CVS repository" . new_project start
sudo apt-get install samba
/etc/samba/smb.conf
sudo mkdir -p /srv/samba/share
sudo chown nobody.nogroup /srv/samba/share/
sudo /etc/init.d/samba restart
sudo apt-get install libpam-smbpass
sudo mount -v -o remount /srv
sudo chown -R melissa /srv/samba/share/
sudo chgrp -R sysadmin /srv/samba/share/
sudo setfacl -R -m g:qa:rx /srv/samba/share/
sudo apt-get install apparmor-profiles
/etc/apparmor.d/usr.sbin.smbd
sudo aa-enforce /usr/sbin/smbd
cat /etc/apparmor.d/usr.sbin.smbd | sudo apparmor_parser -r
sudo net groupmap add ntgroup="Domain Admins" unixgroup=sysadmin rid=512 type=d
sudo apt-get install samba smbfs smbclient
sudo mv /var/lib/samba/secrets.tdb /var/lib/samba/secrets.tdb.orig
sudo ln -s /etc/samba/secrets.tdb /var/lib/samba
mount.cifs //fs01.example.com/share mount_point
smbclient //fs01.example.com/share -k -c "ls"
sudo apt-get install likewise-open
sudo domainjoin-cli join example.com Administrator
/etc/samba/lwiauthd.conf
sudo /etc/init.d/likewise-open restart
sudo domainjoin-cli leave
sudo domainjoin-cli --loglevel verbose join example.com Administrator
sudo crontab -e
mt -f /dev/st0 rewind
tar -xzf /dev/st0 -C /tmp etc/hosts
sudo apt-get install bacula
/etc/bacula/bacula-dir.conf
/etc/bacula/bacula-sd.conf
sudo adduser $username bacula
sudo /etc/init.d/bacula-sd restart
bconsole
egrep '(vmx|svm)' /proc/cpuinfo
sudo apt-get install kvm libvirt-bin
sudo adduser $USERNAME libvirtd
sudo apt-get install python-virtinst
sudo virt-install -n web_devel -r 256 -f web_devel.img -s 4 -c jeos.iso --accelerate --connect=qemu:///system --vnc --noautoconsole
sudo virt-clone -o web_devel -n database_devel -f /path/to/database_devel.img --connect=qemu:///system
virsh -c qemu:///system list
virsh -c qemu:///system start|autostart|reboot|shutdown web_devel
virsh -c qemu:///system save web_devel web_devel-022708.state
virsh -c qemu:///system restore web_devel-022708.state
virsh -c qemu:///system attach-disk web_devel /dev/cdrom /media/cdrom
sudo apt-get install virt-manager
virt-manager -c qemu:///system
virt-manager -c qemu+ssh://virtnode1.mydomain.com/system
sudo apt-get install virt-viewer
virt-viewer qemu:///system web_devel
virt-viewer -c qemu+ssh://virtnode1.mydomain.com/system web_devel
sudo apt-get install python-vm-builder
sudo vmbuilder kvm ubuntu --suite intrepid --flavour virtual --arch i386 -o --libvirt qemu:///system --ip 192.168.0.100 --part vmbuilder.partition --user user --name user --pass default
sudo apt-get install apt-proxy
$ bzr whoami 'Joe Doe
sudo apt-get install subversion libapache2-svn
svnadmin create /path/to/repos/project
svn import /path/to/import/directory file:///path/to/repos/project
svn co file:///path/to/repos/project
sudo chown -R www-data:www-data /path/to/repos
sudo htpasswd -c /etc/subversion/passwd user_name
svn co http://servername/svn
/path/to/repos/project/conf/svnserve.conf
svn co svn://hostname/project project --username user_name
svn co svn+ssh://hostname/var/svn/repos/project
sudo apt-get install cvs
sudo apt-get install xinetd
cvs -d /var/lib/cvs init
/etc/xinetd.d/cvspserver
sudo /etc/init.d/xinetd start
cvs -d :pserver:username@hostname.com:/var/lib/cvs import -m "Importing my project to CVS repository" . new_project start
sudo apt-get install samba
/etc/samba/smb.conf
sudo mkdir -p /srv/samba/share
sudo chown nobody.nogroup /srv/samba/share/
sudo /etc/init.d/samba restart
sudo apt-get install libpam-smbpass
sudo mount -v -o remount /srv
sudo chown -R melissa /srv/samba/share/
sudo chgrp -R sysadmin /srv/samba/share/
sudo setfacl -R -m g:qa:rx /srv/samba/share/
sudo apt-get install apparmor-profiles
/etc/apparmor.d/usr.sbin.smbd
sudo aa-enforce /usr/sbin/smbd
cat /etc/apparmor.d/usr.sbin.smbd | sudo apparmor_parser -r
sudo net groupmap add ntgroup="Domain Admins" unixgroup=sysadmin rid=512 type=d
sudo apt-get install samba smbfs smbclient
sudo mv /var/lib/samba/secrets.tdb /var/lib/samba/secrets.tdb.orig
sudo ln -s /etc/samba/secrets.tdb /var/lib/samba
mount.cifs //fs01.example.com/share mount_point
smbclient //fs01.example.com/share -k -c "ls"
sudo apt-get install likewise-open
sudo domainjoin-cli join example.com Administrator
/etc/samba/lwiauthd.conf
sudo /etc/init.d/likewise-open restart
sudo domainjoin-cli leave
sudo domainjoin-cli --loglevel verbose join example.com Administrator
sudo crontab -e
mt -f /dev/st0 rewind
tar -xzf /dev/st0 -C /tmp etc/hosts
sudo apt-get install bacula
/etc/bacula/bacula-dir.conf
/etc/bacula/bacula-sd.conf
sudo adduser $username bacula
sudo /etc/init.d/bacula-sd restart
bconsole
egrep '(vmx|svm)' /proc/cpuinfo
sudo apt-get install kvm libvirt-bin
sudo adduser $USERNAME libvirtd
sudo apt-get install python-virtinst
sudo virt-install -n web_devel -r 256 -f web_devel.img -s 4 -c jeos.iso --accelerate --connect=qemu:///system --vnc --noautoconsole
sudo virt-clone -o web_devel -n database_devel -f /path/to/database_devel.img --connect=qemu:///system
virsh -c qemu:///system list
virsh -c qemu:///system start|autostart|reboot|shutdown web_devel
virsh -c qemu:///system save web_devel web_devel-022708.state
virsh -c qemu:///system restore web_devel-022708.state
virsh -c qemu:///system attach-disk web_devel /dev/cdrom /media/cdrom
sudo apt-get install virt-manager
virt-manager -c qemu:///system
virt-manager -c qemu+ssh://virtnode1.mydomain.com/system
sudo apt-get install virt-viewer
virt-viewer qemu:///system web_devel
virt-viewer -c qemu+ssh://virtnode1.mydomain.com/system web_devel
sudo apt-get install python-vm-builder
sudo vmbuilder kvm ubuntu --suite intrepid --flavour virtual --arch i386 -o --libvirt qemu:///system --ip 192.168.0.100 --part vmbuilder.partition --user user --name user --pass default
sudo apt-get install apt-proxy
Comments
Post a Comment