Ubuntu server 10.04
From Attie's Wiki
(Difference between revisions)
m (→Packages) |
m |
||
(4 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
As root, install the following (all are optional of course)... | As root, install the following (all are optional of course)... | ||
<source lang="bash"> | <source lang="bash"> | ||
+ | # use bash you idiot | ||
+ | dpkg-reconfigure -plow dash | ||
+ | |||
# Xterm (always useful with Xming) | # Xterm (always useful with Xming) | ||
apt-get install xterm x11-xserver-utils | apt-get install xterm x11-xserver-utils | ||
Line 17: | Line 20: | ||
# c++ toolchain | # c++ toolchain | ||
apt-get install g++ | apt-get install g++ | ||
+ | |||
+ | # install ctags & vim | ||
+ | apt-get install ctags vim | ||
# install 32-bit libs and headers (if on a 64-bit host) | # install 32-bit libs and headers (if on a 64-bit host) | ||
Line 37: | Line 43: | ||
# sort out 'sudo' | # sort out 'sudo' | ||
echo "attie ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | echo "attie ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | ||
+ | |||
+ | # if you have just copied a 'fresh' VM, you'll want to clean out the udev network rules | ||
+ | nano /etc/udev/rules.d/70-persistent-net.rules | ||
</source> | </source> | ||
Line 48: | Line 57: | ||
ssh-keygen | ssh-keygen | ||
− | # | + | # make a 'Downloads' directory |
− | + | mkdir ~/Downloads | |
</source> | </source> | ||
− | Also see: [[bashrc]], [[Xresources]] | + | Also see: [[bashrc]], [[Xresources]], [[Git#.gitconfig]], [[Gpg]] |
Latest revision as of 14:49, 30 April 2012
[edit] Packages
As root, install the following (all are optional of course)...
# use bash you idiot dpkg-reconfigure -plow dash # Xterm (always useful with Xming) apt-get install xterm x11-xserver-utils # install daemons apt-get install openssh-server samba smbpasswd attie # install libraries apt-get install libncurses5-dev # install man pages apt-get install manpages-posix manpages-posix-dev # c++ toolchain apt-get install g++ # install ctags & vim apt-get install ctags vim # install 32-bit libs and headers (if on a 64-bit host) apt-get install ia32-libs libc6-dev-i386 # install tools apt-get install subversion git-core tree minicom shed valgrind lzop screen uboot-mkimage # install dos2unix & unix2dos apt-get install tofrodos ln -s /usr/bin/fromdos /usr/bin/dos2unix ln -s /usr/bin/todos /usr/bin/unix2dos # install nfs apt-get install nfs-common # sort out the 'ohh.. did you mean this?' dpkg -r command-not-found command-not-found-data # sort out 'sudo' echo "attie ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers # if you have just copied a 'fresh' VM, you'll want to clean out the udev network rules nano /etc/udev/rules.d/70-persistent-net.rules
[edit] Configure
See: samba
[edit] User Setup
Run the following as your user, e.g: attie
# generate an SSH keypair ssh-keygen # make a 'Downloads' directory mkdir ~/Downloads
Also see: bashrc, Xresources, Git#.gitconfig, Gpg