Start the applications on Ubuntu
These days I have installed nexus on my own computer.
Everytime, I need to execute this command to start my nexus server.
>./bin/jsw/linux-x86-32/nexus start
Now, I am thinking about one way to do it automatically.
>su root
>vi /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/home/luohua/tools/nexus-oss-webapp-1.9.0.2/bin/jsw/linux-x86-32/nexus start
exit 0
save&quit, it will start my nexus automatically.
references:
http://www.linuxidc.com/Linux/2011-02/32242.htm
分享到:
相关推荐
Furthermore, you will understand how to start and stop services so that you can manage running processes on Linux servers. The book will then demonstrate how to access and share files to or from ...
Boasts a handy trim size so that you can take it with you on the goUbuntu Linux Toolbox, Second Edition prepares you with a host of updated tools for today’s environment, as well as expanded coverage...
Chapter 1, Quick Start – The Odoo Developer Mode and Concepts, visually introduces the Odoo development concepts, creating a simple Odoo application directly from the user interface. An existing Odoo...
Install & setup Nginx on CentOS, Ubuntu & Mac. Understand Nginx modules and compiling Nginx with appropriate modules. Learn about basic configuration and architecture along with hosting nuances. How ...
You'll start by installing and configuring the Ansible to perform various automation tasks. Then, we'll dive deep into the various facets of infrastructure, such as cloud, compute and network ...
The BeagleBone Black is an embedded system that is able to run complete GNU/Linux distributions such as Debian or Ubuntu. Having powerful distribution capabilities, and packed with an easily ...
The shell reads this file and acts on commands as if they were typed on the keyboard. Learning Linux Shell Scripting covers Bash, GNU Bourne Again Shell, preparing you to work in the exciting world ...
developed on Linux Ubuntu version 9.04, Microsoft Windows XP, and Windows 7. Who this book is for This book is for Python programmers wanting simple, clear examples of graphic programming using ...
DLL: JTAG: When only having 1 TAP in the JTAG chain and its matches the one for the configured CPU core but the TAP-ID was unknown, connect did not work. Fixed. DLL: Linux: Delayed / slowed execution ...
SCGCQ00564123 (ENHREQ) - LIBMODS : Request RAID CLI to display the Patrol Read Start Time SCGCQ00521386 (DFCT) - Megacli : ADRA is still mentioned in help file, eventhough it is not supported SCGCQ...
The sections below describe the system and software requirements for developing Android applications using the Android SDK tools included in Android 1.1 SDK, Release 1. Supported Supported Supported ...