![]() ![]() sudo apt-get install apt-transport-https -y I can’t confirm at this time because I already had it installed on all of my Pis anyway as part of other installations, but it is a good thing to have anyway, so I’ll include it here. Note: You may need to install https support for apt get as well. Now that apt-get knows where to get Webmin, you can install it using apt-get. According to commenter Kevin Liston, sudo apt-get update Now that you’ve added Webmin’s repository to the list of places apt-get will look for stuff, update the list of available packages again. That last “exit” tells the system that you want to stop being the root user now, and go back to being “pi”. Type the following commands to import the Webmin repository’s signing key: cd /root Unlike the Windows world, Linux users try to spend as little time in “God-mode” as possible. The root user can do pretty much anything. You are now operating as the root user of the machine. Your command prompt will change, losing all of its color, and becoming more sinister, dark, and dangerous looking like this: Type the following to temporarily become the root user: sudo su This is the first time this series has done this, so I’ll break it down for you. These next few commands need to be run as the actual root user of the machine. Next you’ll need to import the signing key that verifies the packages coming from the new repository. Press Ctrl-x,y,enter to exit nano, saving the file. At the time of this writing, the latest version in the Sarge repository was from October 3rd, 2016. That doesn’t mean they’re not maintaining Webmin. Sarge is quite an old release at this point, but I guess the Webmin team haven’t needed anything that the Sarge release can’t provide, so they haven’t felt the need to move on yet. Debian releases, and by extension Raspbian releases, are all named after Toy Story characters. Note: The word “sarge” in the line above is the name of the distribution Webmin was created for. When the editor appears, add the following line to the empty file: deb sarge contrib This way, you know which sources were added to support which package.Ĭreate a new list file just for webmin like this: sudo nano /etc/apt//webmin.list This has the advantage of keeping things separated rather than putting all your sources in one file together. ![]() You can edit the main apt-get source list, as I did in the previous version of this series, or you can add a new list specifically to support the one package you want to install. There are several approaches to a Webmin installation, but I’ve found that the easiest is to simply tell apt-get where to get the packages it needs for Webmin.Īpt-get installs software based on a list of internet servers that it uses as sources to download from. You can’t just install Webmin through apt-get like the other software packages so far because apt-get doesn’t know about Webmin, or at least it doesn’t know about it yet. It’s pretty easy to install, so let’s get started. It’s still a pretty convenient “dashboard” to check up on your Pi, though. Webmin doesn’t really give you anything that you can’t already get in other ways, and now that Raspbian images come with VNC remote desktop support built in, you can do pretty well without Webmin. In addition, you can add Webmin modules for many of the features we’ll be adding to the Raspberry Pi in this series. Webmin can take care of a lot of the tasks you’d normally do from the command line, but in a much friendlier way. There is a wonderful web administration system called Webmin that can handle a lot of the “magic” of system configuration. SSH is a simple way to remotely log in to your machine’s command-line interface, but that’s not always the most convenient way to work. Reading the instructions is one thing, but watching it done demystifies the whole process. If you have a Pluralsight subscription, please consider watching it. Self-Promotion: I have recorded this series as a screencast for Pluralsight: Please refer to the series Introduction for a list of all the different posts in the series. If you’ve started from something other than a non-NOOBS Raspbian image, then you’ll probably need to adjust for that. If you are just trying to add one thing to an existing system that was not built following this series, then I cannot promise that these instructions will work for you, although they probably will. ![]()
0 Comments
Leave a Reply. |