Linux Mint map network drive is a must if you are into Linux and home servers. Connect to network drive from Linux can be a bit more challenging compared to Windows, but a lot more stable. The only thing you need to do is to add the network location to fstab for automatic connection instead of mounting it for each time.
The cool thing about mounting a network drive in Linux is that you can mount it to be anywhere you like. In this example we will add a folder called Storage and we will me mount it in our home folder.
This is how to map a drive on a Samba server. You need to be root or sudo to do the changes. Open the /etc/fstab file and in this Linux mount example we will add a network drive on 192.168.2.166. Add the line below to the end of your fstab file.
Linux Mint map network drive.
The line above should all be on one line. You will of course need to edit it to match your system. That is how a Linux mount network drive works. To make it active you can just reboot your computer now. You should now see the network location in your home folder. It will also appear when using the df -h command.
Because of the default settings in several Linux Distros you will not be able to use F10 to exit Midnight Commander. However the solutions is simple.
I use Linux Mint Debian Edition for most of my Linux Desktop usage. And I belive it is the same issue with F10 opens a menu instead of closing Midnight Commander in several other Distros as well.
This is how you can start using F10 to close Midnight Commander. First open the Terminal. In the menu go to Edit and select Preferences. In the preferences window uncheck the options that says “Enable the menu accelerator key”.
Now to need to close the terminal and open it again for the change to take effect. Now you should be able to use F10 to close MC. Enjoy your F10 and MC.
Please also check out, if of any interest, how to copy file with progress bar in Linux by using Midnight Commander.
Chrome for Linux Mint 18 installed from scratch. There are two ways you can install Chrome for Linux Mint 18. One way is to do it the traditional way of downloading an installer file and run it. The other way is to use Terminal to download and install it the usual Linux way. Let us see how we do it both ways.
The first thing we need to do is to find the Chrome install file. Open your browser and go to (https://www.google.com/chrome/browser/desktop/index.html). Or open Google and search for Chrome. The first page you will find is the Google Chrome page. Since you are doing this from a Linux computer, Google knows you are looking for a Linux version of Chrome.
Google will now ask you what kind of package you want to download. If you want 64 bit .deb or 64 bit .rpm. You need to select the .deb package. That is for Debian and Ubuntu. Linux Mint is based on Ubuntu (which is based on Debian). Fedora (or Red Hat) and OpenSUSE have a completely different package system, so don’t choose that one. Then click ACCEPT AND INSTALL.
Linux Mint will now ask what your browser should do with the file you downloaded. It will normally suggest to open it with GDebi. That is the standard package installer in Linux Mint. Just go ahead and click OK.
The package installer will then check if all dependencies are present. If you installed Linux Mint the normal way, that should be ok. Click Install Package and the installation will begin. Once the package is installed, click Close to close the installer window.
Now Chrome for Linux Mint 18 is installed on your system and ready to use. That is one way of doing it. Let us see how to install it from the Terminal window.
No point in installing a web browser if you only have terminal access. Even tho there is a text-based web browser, Google Chrome is not one of them. However, if you are like me, you probably prefer working in Terminal over the Desktop. I feel more in control when using Terminal.
The first thing you need is to log in to root.
Then we need to add the Google Chrome repository to our sources list. We do that like this.
You could of course open the /etc/apt/sources.list.d/chrome.list file and paste in the line above your self too. But the echo command is more convenient.
To be able to validate the installation we need to add the public key for the repository we just added. You will do that by running this command.
After doing changes to the repositories and source list we need to update the package manager.
Now the Chrome browser is installed on your system, and ready to use.
Chrome is a good web browser. I used it as my primary web browser when I was using Windows. You might want to try out a web browser called Chromium. It is like Google Chrome because this is where Chrome gets it source code from. Chromium is, just like Chrome is a project run by Google.
The package name of the Chromium browser is chromium-browser. And is part of the Mint repository, so no need to change the sources and add public keys. Just do the installation by running this command.
Chromium is now ready on your system. That is how you install Chrome for Linux Mint 18, or even Chromium. Enjoy!
Check this if you are wondering what the default Linux Mint root password is. Linux mint default password.
Since you are looking for Linux Mint default password I assume you are using the Ubuntu version of Linux Mint. And you are trying to access the root user. Normally you can do everything from your own user using the sudo command. But there are downsides to sudo. And there is no Linux Mint default password. And if you need to login as root. Here is how you do it.
Then you should be able to set a password to your root account. But be careful when login in as root. And don’t use it as your normal user account. Only when needed. And not to browse the internet.
The same method can be used if you have forgotten your root password. But you can only do it from a user that is a member of the sudo group. That is a member that can use the sudo command.
So this is a workaround Linux Mint default password. Since there isn’t any.
If you need to download Linux Mint, please go to their official web page.
USB drives is a good way of extracting large amounts of data from your servers quickly. And of course a lot of other things. There are a few things to notice. The file system of your hard drive. If it is supported by Linux you don´t need to format it. You can go ahead and just mount it.
The scenario. You need to backup a lot of data from your linux server. And the drive is formatted as fat32.
This will give you information about all your connected drives. Not just USB drives.
Before mounting the drive, we need to create a folder for the USB drive. Since it´s a backup drive, we call it backup.
Once you found the drive letter you can mount the drive.
If you reboot the drive will be unmounted.
To make it stick after reboot, check out my post here. You can also just run the mount command if you only need now and then.
First to install the package.
Now your web panel is installed. Then you need to access it. If you are on a different computer than you install the PhpPgAdmin you will need to edit the config file to be able to access it. Here is what you need to do.
Now you need to set a password for the root user. PostgreeSQL call the root user for postgres.
So no need to either su or sudo the postgres user.
Now you have set a password for the root user and made it accessible from everywhere.
Now use the postgres as user, and enter with your password. You might want to consider to restrict access to your database once everything is set up.
PostgreSQL, another popular sql database server. Here is how to install one in Debian (and Debian variants). However during the Debian installation if you select Database Server, PostgreSQL will be installed by default. If you didn’t select any database servers, here is how to install PostgreSQL after Debian installation is done.
Your PostgreSQL server should now be ready to rock!