4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
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).
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.?
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.
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.
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.
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:
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 11:42 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.