Homepage
Activities
Events
Blogs
Lists
Develop
Translate
Chat
Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Sysadmin/Add virtual machine
(view source)
Revision as of 15:34, 9 October 2009
6 bytes added
,
15:34, 9 October 2009
no edit summary
Line 12:
Line 12:
# setup both IPv4 and IPv6 addresses (remember to update zones)
# setup both IPv4 and IPv6 addresses (remember to update zones)
vi /etc/network/interfaces
vi /etc/network/interfaces
−
+
# change machine fqdn
# change machine fqdn
vi /etc/hostname
vi /etc/hostname
vi /etc/postfix/main.cf
vi /etc/postfix/main.cf
−
+
# forward mail for root to you
# forward mail for root to you
vi /etc/aliases
vi /etc/aliases
newaliases
newaliases
−
+
# activate new IP and hostname
# activate new IP and hostname
service networking restart
service networking restart
−
+
# install latest security/stability updates
# install latest security/stability updates
aptitude update
aptitude update
aptitude full-upgrade
aptitude full-upgrade
−
+
# generate host keys
# generate host keys
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
−
+
# taa--daah!
# taa--daah!
reboot
reboot
Bernie
Bureaucrats
,
Check users
,
Administrators
1,784
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Sugar
Downloads
Get started
FAQs
News
Get involved
Activity pages
Submit bugs
Get the source
About Sugar Labs
Donate to Sugar Labs
Contact info
Teams
Activity Team
Design Team
Documentation Team
Development Team
Infrastructure Team
Marketing Team
Platform Team
Translation Team
Wiki Team
Quick Links
Oversight Board
Governance
Human Interface Guidelines
people.sugarlabs.org
Recent changes
Categories
Service index
Wiki help
Code of Conduct
Local Labs
About local labs
Projects
Sugar Network
Sugar Creation Kit
Sugar on a Stick
Sugarizer
TOAST
Using the Wiki
Special pages
Printable version
Google translations
Afrikaans
አማርኛ
العربية
azərbaycanca
Bahasa Indonesia
Bahasa Melayu
Sunda
беларуская
বাংলা
български
bosanski
català
Cebuano
čeština
Chi-Chewa
corsu
Cymraeg
dansk
Deutsch
eesti
Ελληνικά
English
español
Esperanto
euskara
فارسی
français
Frysk
Gaeilge
Gàidhlig
galego
ગુજરાતી
Hausa
Hawaiʻi
한국어
עברית
हिन्दी
հայերեն
hmn
hrvatski
Igbo
isiXhosa
isiZulu
íslenska
italiano
jw
ქართული
ಕನ್ನಡ
қазақша
ភាសាខ្មែរ
Kiswahili
Kreyòl ayisyen
Кыргызча
kurdî
ລາວ
Latina
latviešu
Lëtzebuergesch
lietuvių
magyar
македонски
മലയാളം
Malti
Māori
монгол
मराठी
မြန်မာဘာသာ
Nederlands
नेपाली
日本語
norsk
ਪੰਜਾਬੀ
پښتو
polski
português
română
русский
Gagana Samoa
Sesotho
سنڌي
chiShona
shqip
සිංහල
slovenčina
slovenščina
Soomaaliga
српски / srpski
suomi
svenska
tj
Tagalog
ไทย
тоҷикӣ
தமிழ்
తెలుగు
Tiếng Việt
Türkçe
українська
oʻzbekcha/ўзбекча
اردو
ייִדיש
Yorùbá
中文(台灣)
中文(中国大陆)