2011年8月6日 星期六

install webmin on Amazon linux

1. wget http://www.webmin.com/download/rpm/webmin-current.rpm

2. sudo rpm -ivh webmin-xxxx

3. sudo vim /etc/webmin/miniserv.users
>refer the first line, add line:
ec2-user:x:0
4. sudo vim /etc/webmin/webmin.acl
>refer the first line, add line:
ec2-user: xxxxxxxxxxxxxxxxxxxx

5. sudo /usr/libexec/webmin/changepass.pl /etc/webmin ec2-user password
("password" is YOUR password)

6. service webmin start

7. open port 10000 on AWS Security Group

8. try to login with ec2-user/password on http://your_server:10000/

reference:
http://www.pc-freak.net/blog/how-to-add-a-new-user-to-webmin-from-shell-via-bashsh/

沒有留言:

張貼留言