Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Sysadmin/Add virtual machine
(view source)
Revision as of 17:48, 1 November 2009
57 bytes added
,
17:48, 1 November 2009
no edit summary
Line 14:
Line 14:
# change machine fqdn
# change machine fqdn
−
vi
/etc/hostname
+
sed -i -e s/template-jaunty/FOOBAR/
/etc/hostname /etc/postfix/main.cf
−
vi
/etc/postfix/main.cf
# activate new IP and hostname
# activate new IP and hostname
Line 27:
Line 26:
ssh-keygen -q -N '' -f /etc/ssh/ssh_host_rsa_key -t rsa
ssh-keygen -q -N '' -f /etc/ssh/ssh_host_rsa_key -t rsa
ssh-keygen -q -N '' -f /etc/ssh/ssh_host_dsa_key -t dsa
ssh-keygen -q -N '' -f /etc/ssh/ssh_host_dsa_key -t dsa
−
ssh-keygen -q -N ''
+
ssh-keygen -q -N ''
-f /root/.ssh/id_rsa -t rsa
# setup backups (remember to install root's key on backup host)
# setup backups (remember to install root's key on backup host)
Bernie
Bureaucrats
,
Check users
,
Administrators
1,784
edits