LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 07-31-2018, 03:07 PM   #16
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Thumbs up


Quote:
Originally Posted by zk1234 View Post
Thanks again Zbigniew. I don't know how I overlooked that folder. The sums matched.
 
Old 08-05-2018, 04:54 PM   #17
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 890

Original Poster
Rep: Reputation: 166Reputation: 166
4MLinux 25.2 released.

This is a minor (point) release in the 4MLinux STABLE channel, which comes with the Linux kernel 4.14.55. The 4MLinux Server now includes Apache 2.4.33, MariaDB 10.3.8, and PHP 7.2.7.

You can update your 4MLinux by executing the "zk update" command in your terminal (fully automatic process).

More:
http://4mlinux-releases.blogspot.com...-released.html

.

Last edited by zk1234; 08-05-2018 at 04:59 PM.
 
1 members found this post helpful.
Old 08-06-2018, 03:20 AM   #18
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Question

Quote:
Originally Posted by zk1234 View Post
This is a minor (point) release in the 4MLinux STABLE channel, which comes with the Linux kernel 4.14.55. The 4MLinux Server now includes Apache 2.4.33, MariaDB 10.3.8, and PHP 7.2.7.

You can update your 4MLinux by executing the "zk update" command in your terminal (fully automatic process).

More:
http://4mlinux-releases.blogspot.com...-released.html

.
Morning Zbigniew.

When you do the update - does it overwrite your settings? For example - anything that I've changed in /etc/startx.conf ; /usr/share/jwm/autostart ; etc.?
 
Old 08-06-2018, 05:18 AM   #19
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 890

Original Poster
Rep: Reputation: 166Reputation: 166
Some settings in the /etc directory may be overwritten by new packages. However, the installation script creates backup, which you can find in the /etc.old folder.

.

Last edited by zk1234; 08-06-2018 at 05:20 AM.
 
1 members found this post helpful.
Old 08-07-2018, 10:12 AM   #20
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Lightbulb

Quote:
Originally Posted by zk1234 View Post
Some settings in the /etc directory may be overwritten by new packages. However, the installation script creates backup, which you can find in the /etc.old folder.

.
Ah, that .old folder is handy. An alias could be used to backup the new /etc configs and /usr files in the updated version.

I'd want these tweaked files put back in place. I guess I could store my tweaked ones in my home folder:
  • /etc/startx.conf
  • /etc/server/autostart.conf
  • /etc/firewall/config
  • /usr/share/jwm/autostart

Edit:

Maybe this copied and pasted into the terminal from a text file? If you can think of a better method - I'm all ears.

Code:
cp /etc/firewall/config /etc/firewall/config.default
cp /etc/server/autostart.conf /etc/server/autostart.conf.default
cp /etc/startx.conf /etc/startx.conf
cp /usr/share/jwm/autostart /usr/share/jwm/autostart.default

cp ~/4MLinux/config /etc/firewall/config
cp ~/4MLinux/autostart.conf /etc/server/autostart.conf
cp ~/4MLinux/startx.conf /etc/startx.conf
cp ~/4MLinux/autostart /usr/share/jwm/autostart

Last edited by linustalman; 08-08-2018 at 10:06 AM. Reason: changed order of 2nd group of cp commands
 
Old 08-08-2018, 10:08 AM   #21
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
What would be a good way of putting the above cp commands in a script called 4mlinux.sh to run each line in order?
 
Old 08-10-2018, 05:00 PM   #22
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 890

Original Poster
Rep: Reputation: 166Reputation: 166
Hi,

I am not going to write such a script. It's sysadmin job (yours :-). However, the /etc/startx.conf will be automatically restored by the installation script in 4MLinux 26.0 and later.

.
 
Old 08-12-2018, 08:16 AM   #23
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Quote:
Originally Posted by zk1234 View Post
Hi,

I am not going to write such a script. It's sysadmin job (yours :-). However, the /etc/startx.conf will be automatically restored by the installation script in 4MLinux 26.0 and later.

.
That's ok. :-)

I could sepereate each command with "&&" and have 1 long line and use an alias to launch it. However since I won't be updating too often, I will just paste the lines from a text file when needed. My new lines:
Code:
cp /etc/firewall/config /etc/firewall/config.default
cp /etc/server/autostart.conf /etc/server/autostart.conf.default
cp /etc/startx.conf /etc/startx.conf.default
cp /usr/share/jwm/autostart /usr/share/jwm/autostart.default
cp ~/4MLinux/config /etc/firewall/config
cp ~/4MLinux/autostart.conf /etc/server/autostart.conf
cp ~/4MLinux/autostart /usr/share/jwm/autostart
 
Old 08-14-2018, 06:11 AM   #24
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Question

Let's say I was on 4MLinux 25.2 but did not update in a while and the latest release was 4MLinux 25.4. Would updating skip 4MLinux 25.3?
 
Old 08-15-2018, 09:31 AM   #25
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 890

Original Poster
Rep: Reputation: 166Reputation: 166
It would be skipped. 4MLinux always updates itself to the latest stable version.

.
 
1 members found this post helpful.
Old 08-15-2018, 09:51 AM   #26
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Quote:
Originally Posted by zk1234 View Post
It would be skipped. 4MLinux always updates itself to the latest stable version.

.
I see, so it's like a fresh new distro upon each update - bar a few config files remaining the same (e.g. /etc/startx.conf).
 
Old 08-17-2018, 12:41 PM   #27
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Question

Is it possible to check to see what version of 4MLinux I'm using? I ask because when I do updates and it's the same version as the one I'm using -- it still does the updates even when there's no need.

Last edited by linustalman; 08-17-2018 at 12:42 PM.
 
Old 08-18-2018, 06:30 AM   #28
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 890

Original Poster
Rep: Reputation: 166Reputation: 166
Hi,

/etc/4MLinux-version

.
 
1 members found this post helpful.
Old 08-18-2018, 12:10 PM   #29
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 3,036

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
Thumbs up

Quote:
Originally Posted by zk1234 View Post
Hi,

/etc/4MLinux-version

.
Thanks.

I used this to display it:

Code:
cat /etc/4MLinux-version

Last edited by linustalman; 08-18-2018 at 01:11 PM.
 
Old 09-01-2018, 04:09 AM   #30
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 890

Original Poster
Rep: Reputation: 166Reputation: 166
4MLinux 25 is now OLD STABLE.

The status of the 4MLinux 25 series has been changed to OLD STABLE. All users must update before December 2018 (EOL).

.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The 4MLinux 20.0 series zk1234 4MLinux 13 07-01-2017 01:12 PM
The 4MLinux 19.0 series zk1234 4MLinux 9 03-04-2017 11:34 AM
The 4MLinux 18.0 series zk1234 4MLinux 8 07-01-2016 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 05:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration