LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-16-2017, 05:29 PM   #1
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Moving to CentOS 7


My current server is running CentOS 5.11 which, as you know, is past EOL. Additionally the server is starting to throw Northbridge ECC data cache errors occasionally. The hardware is more than 7 years old.

The folks at the data center I use are offering a virtual server running CentOS 7 in their "cloud infrastructure" at a very reasonable rate. I'm concerned about the "different paradigm" of systemd from an administrator/operator point of view and would appreciate any thoughts. (I am researching on my own, of course, but any pointers would help.)

Does that involve more than learning different commands to do things like restart daemons [/etc/init.d/xxx restart] ? Or does it even involve that much? I'm seeing on-line tutorials that continue to use the commands and config files with which I'm already familiar.

Again, any thoughts appreciated.

Thank you.
 
Old 09-16-2017, 05:39 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Yes, it does involve using some different commands, like for one example;

If I wanted to start the ums service (Universal Media Server), the command would be;

Code:
systemctl start ums
If I wanted to see it's status, the command would be;

Code:
systemctl status ums
Which would give me the following output;

Code:
● ums.service - Universal Media Server
   Loaded: loaded (/etc/systemd/system/ums.service; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2017-09-17 08:00:44 ACST; 16s ago
 Main PID: 12880 (java)
   CGroup: /system.slice/ums.service
           └─12880 java -Xmx768M -Xss2048k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djna.nosys=true -classpath ...

Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.370 [main] Registering transcoding engine: Audio Hig...elity
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.370 [main] Registering transcoding engine: VLC Web A...gacy)
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.370 [main] Registering transcoding engine: VLC Web V...gacy)
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.373 [main] Registering transcoding engine: DCRaw
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.381 [main] Using address /192.168.43.204 found on ne...p4s0)
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.381 [main] Created socket: /192.168.43.204:5001
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.474 [main] WEB interface is available at: http://192...:9001
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.512 [main] A tiny cache admin interface is available.../home
Sep 17 08:00:50 localhost.localdomain UMS.sh[12880]: INFO  08:00:50.959 [main] Checking shared folder: /multimediavol/Videos
Sep 17 08:00:53 localhost.localdomain UMS.sh[12880]: INFO  08:00:53.713 [main] Universal Media Server is now available f... find
Hint: Some lines were ellipsized, use -l to show in full.
To restart it, the command would be;

Code:
systemctl restart ums
You can see the systemctl man page, for more options.

Last edited by jsbjsb001; 09-16-2017 at 05:41 PM.
 
Old 09-16-2017, 05:45 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Original Poster
Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by jsbjsb001 View Post
Yes, it does involve using some different commands,
[examples snipped]
You can see the systemctl man page, for more options.
Exactly the kind of pointer I needed. Thank you jsbjsb001. Reviewing it online now. The new server should be spun up early next week.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Openfiler is moving to CentOS LXer Syndicated Linux News 0 08-01-2013 07:00 PM
Moving Centos installation to smaller disk tuberb Linux - Hardware 5 06-02-2012 11:43 AM
Moving an existing Centos to a XenServer with different disk layout cerien Linux - Newbie 2 01-17-2012 06:21 AM
Seeking thoughts RE: moving from CentOS+VMware to.... Xen? KVM? GenePoole59 Linux - Virtualization and Cloud 4 07-22-2010 12:05 PM
[SOLVED] Moving from Fedora to CentOS 5kelevpan5 Linux - Newbie 2 03-31-2010 09:18 PM

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

All times are GMT -5. The time now is 09:14 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