`
sillycat
  • 浏览: 2552237 次
  • 性别: 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...

    ubuntu下搭建jira

    GRANT ALL ON jira.* TO admin@'%' IDENTIFIED BY '123456'; FLUSH PRIVILEGES; ``` 3. **开启MySQL的远程连接**: - 修改MySQL配置文件: ```bash sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf ``` - 将`...

    ubuntu下mysql的安装.pdf

    7. **启动MySQL服务**:使用`sudo /etc/init.d/mysql start`或`service mysql start`启动MySQL服务,然后通过`ps -ef | grep mysql`检查服务状态。 8. **连接MySQL**:使用`mysql`命令连接MySQL,`show databases;`...

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

    impala-2.8

    - **Starting Impala from the Command Line**: Use the `impala-server` command to start the Impala daemon. - **Modifying Impala Startup Options**: Customize startup options for different daemons (e.g., ...

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

    mysql install

    2. **macOS**:使用.dmg文件打开安装包,将MySQL拖到Applications文件夹。然后通过命令行工具(如Terminal)进行初始化和配置。 3. **Linux**:使用包管理器(如apt-get或yum)安装MySQL,命令如下: - `sudo apt-...

    Mysql安装教程.pdf

    使用Homebrew的命令是`brew install mysql`,或者直接打开.dmg文件,拖拽MySQL到Applications文件夹。 - **Linux**:通常使用包管理器安装,例如Ubuntu使用`sudo apt-get install mysql-server`,CentOS使用`sudo ...

    新版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