***OneinStack interactive installation FAQ

Reprinted from:

https://oneinstack.com/install/

 

installation steps

Notice

1. Please pay attention to the security group of the cloud host, refer to: " Cloud Host Security Group Port Opening Tutorial "
2. If there is a separate data disk, it is recommended that you mount the data disk first, and it is recommended to put the website content and database in the data disk. How to mount a data disk, please refer to (supports Alibaba Cloud and Tencent Cloud): " How to use script to automatically mount a data disk?
yum -y install wget screen curl python #for CentOS/Redhat
# apt-get -y install wget screen curl python #for Debian/Ubuntu
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz #Contains source code, can be downloaded at home and abroad
tar xzf oneinstack-full.tar.gz
cd oneinstack #If you need to modify the directory (installation, data storage, Nginx log), please modify the options.conf file
screen -S oneinstack #If the network is interrupted, you can execute the command `screen -R oneinstack` to reconnect the installation window
./install.sh #Note: Do not execute sh install.sh or bash install.sh like this

"Interactive Installation"

How to add add-ons?

./addons.sh

"Interactive Installation"

How to add virtual host?

./vhost.sh

"Interactive Installation"

How to delete a virtual host?

./vhost.sh del

"Interactive Installation"

How to manage FTP accounts?

./pureftpd_vhost.sh

"Interactive Installation"

How to backup?

./backup_setup.sh # Set backup options 

"Interactive Installation"

./backup.sh # Start backup, You can add cron jobs
   # crontab -l # Examples
     0 1 * * * cd ~/oneinstack;./backup.sh  > /dev/null 2>&1 &

How to manage services?

Nginx/Tengine/OpenResty:

service nginx {start|stop|status|restart|reload|configtest}

MySQL/MariaDB/Percona:

service mysqld {start|stop|restart|reload|status}

PostgreSQL:

service postgresql {start|stop|restart|status}

MongoDB:

service mongod {start|stop|status|restart|reload}

PHP:

service php-fpm {start|stop|restart|reload|status}

HHVM:

service supervisord {start|stop|status|restart|reload}

Note: The hhvm process is managed by supervisord. For more information, please visit " Supervisor manages the hhvm process "
Apache:

service httpd {start|restart|stop}

Tomcat:

service tomcat {start|stop|status|restart}

Pure-Ftpd:

service pureftpd {start|stop|restart|status}

Say again:

service redis-server {start|stop|status|restart|reload}

Memcached:

service memcached {start|stop|status|restart|reload}

How to update the version?

./upgrade.sh

"Interactive Installation"

How to uninstall?

./uninstall.sh

 


 

 

If Let's Encrypt is enabled?

https://oneinstack.com/faq/letsencrypt

How does OneinStack deploy JAVA applications?

https://oneinstack.com/question/how-to-deploy-java-application/

How to switch PHP major version?

http://oneinstack.com/question/oneinstack-downgrade-if-php-version/

Why does the installation package not support fileinfo by default?

http://oneinstack.com/question/oneinstack-how-to-support-the-fileinfo/

Why does changing PHP code not take effect immediately, cached?

http://oneinstack.com/question/server-cache-time-of-60-seconds-where-adjustments/

How does OneinStack configure MySQL remote connection?

http://oneinstack.com/question/oneinstack-how-to-configure-mysql-remote-connection/

How does OneinStack set website root directory permissions?

http://oneinstack.com/question/how-to-set-permissions-for-the-web-site-root-directory/

OneinStack PHP Multi-version Coexistence Tutorial

https://blog.linuxeye.cn/441.html

 

Reprinted from: https://oneinstack.com/faq/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325382314&siteId=291194637