Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Fedora 21 setting boot script     - MySQL Parameter Tuning Best Practices (Database)

- Linux shell script to adjust the Task Scheduler (Linux)

- Hadoop 2.5 Pseudo distribution installation (Server)

- MySQL appears data too long for column 'name' at row 1 to solve (Database)

- Linux non-graphical interface to install Oracle Database (Database)

- Oracle database NUMBER (x, y) data types (Database)

- After Pydev installation, Eclipse does not display solutions (Linux)

- Linux kernel modules related to the management Comments (Linux)

- Use Docker / LXC quickly launch a desktop system (Linux)

- Oracle create a temporary table space group (Database)

- CentOS 6.6 install JDK7 (Linux)

- How to choose the correct HTTP status code (Server)

- Oracle 11g maintenance partitions (Seven) - Modifying Real Attributes of Partitions (Database)

- Linux directory structure (Linux)

- Linux data redirection (Linux)

- CentOS 6.5 set under Oracle 12c at startup (Database)

- How common Linux automation tasks (Server)

- Fedora 19/20 and Debian Jessie / Sid users to install FFmpeg 2.3.2 (Linux)

- Unetbootin make use U disk loading Linux system (Linux)

- Ambari and Hadoop configuration, management and monitoring of the project Getting (Server)

  Fedora 21 setting boot script
  Add Date : 2018-11-21      
  Sudo touch /etc/rc.d/rc.local
sudo vim /etc/rc.d/rc.local

In /etc/rc.d/rc.local file is written, and then use the: wq command to save and exit.

#! / Bin / bash

  # Write the boot command to be executed in this file

Given executable permissions:

sudo chmod + x /etc/rc.d/rc.local

Setting the boot:

sudo systemctl enable rc-local.service

If the following error message appears:

[Root @ dev-abc ~] # systemctl enable rc-local.service
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
  .wants / or .requires / directory.
2) A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).


sudo vim /usr/lib/systemd/system/rc-local.service

At the end of the file rc-local.service added:

WantedBy = multi-user.target

And reset the boot:

sudo systemctl enable rc-local.service

Check status, if the following tips to set success!

[abc @ dev-abc ~] $ systemctl status rc-local.service
 rc-local.service - /etc/rc.d/rc.local Compatibility
  Loaded: loaded (/usr/lib/systemd/system/rc-local.service; enabled)
  Active: active (running) since Wed 2015-04-15 11:37:40 CST; 1h 44min ago
- Zabbix monitoring platform to extract a single server graphical Python implementation of concurrent (Server)
- Difference Docker mirror and containers (Server)
- Linux System Getting Started Learning: The Linux anacron command (Linux)
- Configuring LIDS build Linux kernel security intrusion detection system (Linux)
- MySQL high availability cluster fragmentation of deployment uses Cobar (Database)
- Restore database fault encountered ORA-0600 (Database)
- How to test your MongoDB application upgrade? (Database)
- Examples of RAID levels and achieve Operational Details (Linux)
- CentOS 7 install Hadoop-cdh-2.5 on Mesos (Server)
- After VMware CentOS full VM clone the network card is unavailable Solutions (Linux)
- Linux system security knowledge (Linux)
- Security basics: simple analytical framework for Linux system firewall (Linux)
- CoreOS use register mirror to build private warehouse (Linux)
- Go performed using iOS and Android programming (Programming)
- Windows7 / 8 / 8.1 hard drive to install Ubuntu 14.04 dual system (Linux)
- Mac OS X 10.10 Yosemite compiling OpenJDK 9 (Linux)
- Spring AOP for logging (Programming)
- Weld a problem in JDK 8u60 environment (Programming)
- Ubuntu install Eclipse can not find JAVA_HOME problem (Linux)
- Linux operating system boot manager -GRUB (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.