`
sillycat
  • 浏览: 2489364 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Start the applications on Ubuntu

阅读更多
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
分享到:
评论

相关推荐

    Mastering Ubuntu Server(PACKT,2016)

    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 ...

    英文原版-Ubuntu Linux Toolbox 2nd Edition

    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...

    Odoo 11 Development Essentials 3 Edition(epub)

    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...

    Nginx From Beginner to Pro(Apress,2016)

    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 ...

    Learn Ansible - Fundamentals of Ansible 2.x 1st 2018 pdf

    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 ...

    BeagleBone Essentials(PACKT,2015)

    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 ...

    Learning Linux Shell Scripting 2nd Edition pdf

    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 ...

    Python 2.6 Graphics Cookbook.pdf

    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 ...

    JLink_Windows_V648.zip

    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 ...

    8-07-14_MegaCLI for linux_windows

    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...

    新版Android开发教程.rar

    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 ...

Global site tag (gtag.js) - Google Analytics