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...
GRANT ALL ON jira.* TO admin@'%' IDENTIFIED BY '123456'; FLUSH PRIVILEGES; ``` 3. **开启MySQL的远程连接**: - 修改MySQL配置文件: ```bash sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf ``` - 将`...
7. **启动MySQL服务**:使用`sudo /etc/init.d/mysql start`或`service mysql start`启动MySQL服务,然后通过`ps -ef | grep mysql`检查服务状态。 8. **连接MySQL**:使用`mysql`命令连接MySQL,`show databases;`...
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 ...
- **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., ...
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...
2. **macOS**:使用.dmg文件打开安装包,将MySQL拖到Applications文件夹。然后通过命令行工具(如Terminal)进行初始化和配置。 3. **Linux**:使用包管理器(如apt-get或yum)安装MySQL,命令如下: - `sudo apt-...
使用Homebrew的命令是`brew install mysql`,或者直接打开.dmg文件,拖拽MySQL到Applications文件夹。 - **Linux**:通常使用包管理器安装,例如Ubuntu使用`sudo apt-get install mysql-server`,CentOS使用`sudo ...
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 ...