LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 01-01-2016, 10:57 AM   #1
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Rep: Reputation: 0
Cool What I miss, and need to supplement, in Linux Mint 17.3


I don't know if this may interest someone, but... Here it goes:

The last week, I've tried out different distributions and different desktop environments for a Thinkpad T60 (2 GB RAM) that I will run a certain server on.

For that reason, I felt I had to test with real installations, including the server software and its database, of course. No RAM-disk tests.


(If it ONLY was for the sake of the server, Mint maybe is overkill. But it has a great value to use the same distribution on that mashine as on my own (personal) computer. It's irritating when one is used to ONE set of programs, and then can't find them on certain mashines.)

By now, I've done this procedure a couple of times, and a certain rutine became established. The following steps has turned out to be what I "need" to do after logging in the first time.

What do I know? Maybe this even can be to some help for someone else?

(A remark: Changing fstab is maybe too much to expect from the installation. I don't know. But seen from my perspective, it might have been a good idea.)

Code:
$ sudo apt-get install openssh-server openssh-client
# NOW it's possible to log in with ssh

Code:
$ mkdir /home/johan/tweaks
$ cp /etc/issue.net /home/johan/tweaks/issue.net
$ nano /home/johan/tweaks/issue.net
$ sudo nano /etc/ssh/sshd_config
+ Banner /home/johan/tweaks/issue.net

$ sudo apt-get install iotop

$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
$ sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
$ sudo apt-get update 
$ sudo apt-get install google-chrome-stable

$ sudo nano /etc/environment
+ LC_ALL="en_GB.utf8"

$ sudo nano /etc/mdm/mdm.conf 
[daemon]
+ AutomaticLoginEnable=false
+ TimedLoginEnable=false
+ Greeter=/usr/lib/mdm/mdmgreeter


$ sudo apt-get install nfs-common
$ sudo nano /etc/fstab
+ # local NAS
+ 192.168.2.99:/public	 					/mnt/qnap-119	nfs	auto			0	0		
+ 192.168.2.222:/public 					/mnt/qnap-212	nfs	auto			0	0	

$ sudo reboot
 
Old 01-02-2016, 08:21 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,597

Rep: Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690
Just Curious

Why are you testing and running DESKTOP distributions for a SERVER?
(Avoiding the question of : why do you want to use a LAPTOP as a server!)

When I load a server, I install a server distro (often Debian, RHEL/CentOS, or SUSE) with NO X-WINDOWS/X-ORG. No Desktop stuff at all unless I am making it a terminal server. No one should be logging in GUI desktop on a server anyway, so the space to hold it and ram to load it and cycles to run it, all wasted.

All modern server install include the service software you are having to load manually on your desktop distributions.

Driving screws with a hammer might work, but it is not really the right way.

Last edited by wpeckham; 01-02-2016 at 08:23 AM.
 
Old 01-06-2016, 05:29 AM   #3
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Original Poster
Rep: Reputation: 0
Cool

Quote:
Originally Posted by wpeckham View Post
Why are you testing and running DESKTOP distributions for a SERVER?


(Avoiding the question of : why do you want to use a LAPTOP as a server!)
Yes.

Maybe I should have used quotation marks around the word "server".

I've been responsible (in practice, if not on paper) for the maintenance of that server for some ten years. Back when it was bought, the half gigabyte of RAM was considered much for the small business... So when I happened to have a spare laptop, now with eight times as much RAM, I'm about to move the software. The old mashine still functions, but the tests I've done the last weeks show it makes a difference. A cpu with two kernels doesn't sound much today, but it's an improvement in addition to the RAM.

During these years, I've many times got irritated (read: "briefly desperate") when the dedicated *nix-flavored server OS was too unfamiliar to me, who'd used Solaris daily in the mid 1990s.


Quote:
Originally Posted by wpeckham View Post
No one should be logging in GUI desktop on a server anyway, so the space to hold it and ram to load it and cycles to run it, all wasted.
I may be naive, but I hope that unused GUI-software doesn't occupy too much RAM. (Keyword: "unused".)



Quote:
Originally Posted by wpeckham View Post
Driving screws with a hammer might work, but it is not really the right way.
But reusing a screw (T60) as a nail, that seems to work too.
 
Old 01-06-2016, 05:41 AM   #4
Manganus
Member
 
Registered: Nov 2013
Location: San Fernando de Maspalomas
Distribution: Mint
Posts: 43

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wpeckham View Post
Driving screws with a hammer might work, but it is not really the right way.
My points here were rather intended to be:
  • is it evil or not (of Mint) to write over issue.net at each login?
  • maybe LC_ALL ought to be set as default in distributions?
  • is it good or bad to include sshd in a distribution?
  • and nfs-common... I guess there is a reason.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux companies never miss an opportunity to miss an opportunity LXer Syndicated Linux News 0 03-04-2014 06:30 PM
What Do You Miss Most about Linux When You Must Use Windows frankbell General 15 03-18-2012 08:15 PM
LXer: Supplement Creative Commons with open standards LXer Syndicated Linux News 0 01-13-2009 04:50 AM
Which packages to install to supplement 9.2 pro? TrulyTessa SUSE / openSUSE 1 11-12-2004 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration