Difference between revisions of "HowTo Webmin"

From Amahi Wiki
Jump to: navigation, search
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Make life a little bit easier with Webmin
+
<div style="border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;">
  
Install Webmin for management and admin work, Amahi is without these.
+
'''NOTE:'''  The Amahi [https://www.amahi.org/apps/webmin Webmin] application provides this capability from the Dashboard UI.
 +
</div>
 +
<br>
  
Connect to your box by Putty root@hda then start installation by:  
+
[[Category:Help]]
 +
Make life a little bit easier with [http://www.amahi.org/apps/webmin Webmin].  You can now install via one-click app in Amahi.
 +
 
 +
If you prefer to do the manual install, follow the guidance below:
 +
 
 +
Connect to your box by Putty root@hda then start installation:  
  
 
Create fila webmin.repo with
 
Create fila webmin.repo with
  
nano /etc/yum.repos.d/webmin.repo
+
nano /etc/yum.repos.d/webmin.repo
  
 
edit the file to:  
 
edit the file to:  
 
+
<pre>
 
[Webmin]
 
[Webmin]
 
name=Webmin Distribution Neutral
 
name=Webmin Distribution Neutral
 
baseurl=http://download.webmin.com/download/yum
 
baseurl=http://download.webmin.com/download/yum
 
enabled=1
 
enabled=1
 
+
</pre>
  
 
You should also fetch and install GPG key with which the packages are signed:
 
You should also fetch and install GPG key with which the packages are signed:
 
+
<pre>
rpm --import http://www.webmin.com/jcameron-key.asc  
+
<nowiki>rpm --import http://www.webmin.com/jcameron-key.asc</nowiki>
 
+
</pre>
  
 
You can now install with:  
 
You can now install with:  
  
yum install webmin  
+
yum install webmin
  
 
All dependencies should be resolved automatically.
 
All dependencies should be resolved automatically.
  
 +
To access the app, navigate to the following link:
 +
 +
<nowiki>http://hda:10000</nowiki>
  
 
Now you have the industry standard Admin interface on your Amahi.
 
Now you have the industry standard Admin interface on your Amahi.
 
+
[[User:Nalleju|Nalleju]]
== Use USB Disks or sticks ==
 
 
 
[[Category:HowTo]]
 
I have several USB disck and eSATA disk I need on my machine.
 
I also need to bring files and take files from the machine by USB stick.
 
I use Putty and Webmin for these things
 
 
 
# Install autofs
 
 
 
{{Code|Code= yum install autofs}}
 
 
 
Need VFAT for the big USB Disk or the large files on it:
 
 
 
{{Code|Code= ​yum install fuse fuse-ntfs-3g}}
 
 
 
- Setup the autofs by edit master settings
 
Change 2 lines to (if not needed)
 
Add one (or more) line for the USB disk /var/hda/vol /etc/auto.vol  --timeout=3
 
 
 
{{Code|Code= nano /etc/auto.master
 
#
 
# Sample auto.master file
 
# This is an automounter map and it has the following format
 
# key [ -mount-options-separated-by-comma ] location
 
# For details of the format look at autofs(5).
 
#
 
/var/hda/vol    /etc/auto.vol  --timeout=3
 
#
 
#/misc  /etc/auto.misc
 
#
 
# NOTE: mounts done from a hosts map will be mounted with the
 
#      "nosuid" and "nodev" options unless the "suid" and "dev"
 
#      options are explicitly given.
 
#
 
#/net  -hosts
 
#
 
# Include central master map if it can be found using
 
# nsswitch sources.
 
#
 
# Note that if there are entries for /net or /misc (as
 
# above) in the included master map any keys that are the
 
# same will not be seen as the first read key seen takes
 
# precedence.
 
#
 
+auto.master
 
}}
 
 
 
Add the directory by
 
{{Code|Code= ​mkdir /var/hda/vol ; chmod 775 /var/hd}}
 
 
 
# Then add the auto.vol file
 
 
 
{{Code|Code= ​nano /etc/auto.vol#
 
# This is an automounter map and it has the following format
 
# key [ -mount-options-separated-by-comma ] location
 
# mountpoint_key options location_device # man 5 autofs
 
#
 
cdrom  -fstype=auto,ro,nosuid,nodev,user                      :/dev/cdrom
 
#floppy -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/fd0
 
K      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdk1
 
K.2    -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000  :dev/sdk2 #2nd partition
 
K.3    -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000  :dev/sdk3 #3d partition
 
L      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdl1
 
M      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdm1
 
N      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdn1
 
O      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdo1
 
G      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdg
 
H      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdh
 
I      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdi
 
J      -fstype=auto,nosuid,nodev,noexec,user,gid=100,umask=000 :/dev/sdj
 
}}
 
 
 
# Now restart autofs and then all is GO
 
 
 
{{Code|Code= ​service autofs restart}}
 
 
 
# Create the symlinks
 
 
 
{{Code|Code= ​ln -s /var/hda/vol /var/hda/files/Disks}}
 
 
 
# Make browse active by edit the file autofs 
 
 
 
{{Code|Code= ​nano /etc/sysconfig/autofs
 
Change line BROWSE_MODE="no" to BROWSE_MODE="yes"}}
 
 
 
That is all, but for more see:
 
http://www.autofs.org/autofs-man.html
 

Latest revision as of 16:49, 9 January 2021

NOTE: The Amahi Webmin application provides this capability from the Dashboard UI.


Make life a little bit easier with Webmin. You can now install via one-click app in Amahi.

If you prefer to do the manual install, follow the guidance below:

Connect to your box by Putty root@hda then start installation:

Create fila webmin.repo with

nano /etc/yum.repos.d/webmin.repo

edit the file to:

[Webmin]
name=Webmin Distribution Neutral
baseurl=http://download.webmin.com/download/yum
enabled=1

You should also fetch and install GPG key with which the packages are signed:

rpm --import http://www.webmin.com/jcameron-key.asc

You can now install with:

yum install webmin

All dependencies should be resolved automatically.

To access the app, navigate to the following link:

http://hda:10000

Now you have the industry standard Admin interface on your Amahi. Nalleju