- 512MB RAM
- 1 Core CPU
- 1 IPv4
- 16 IPv6
- 250GB Raid 10 HDD Storage
- 1000GB Bandwidth
- 1Gb/s Port
- 2Gb/s Basic DDoS Protection
- Dallas, Texas Location
- Virtualizor Control Panel
- No Managed
from https://billing.spartanhost.net/cart.php?gid=15
gg.gg/13nbnz gg.gg/13p5tj gg.gg/13p9s5 gg.gg/13tljl gg.gg/13xudz gg.gg/13xy3p gg.gg/143tqc linux.die.net linux.it.net.cn ostechnix.com unix.com ttlsa.com man.linuxde.net gg.gg/148erg bit.ly/2vsM34J bit.ly/2EzoUDo bit.ly/2wCsZSI bit.ly/2v6jGJi bit.ly/2tW6eYT bit.ly/2u2MMtm bit.ly/2X6vadl bit.ly/2viLpHU bit.ly/2fzzbEU linuxprobe.com linuxtechi.com systutorials.com ghacks.net linuxopsys.com reurl.cc/8W1x3X reurl.cc/NpzMWe reurl.cc/WrgYdx reurl.cc/Yv4Yvo reurl.cc/Lmy90K reurl.cc/Rr5aeG
Disk Space: 70 GB
Bandwidth: 1 TB
RAM: 1 GB
CPU Cores: 2
IPv4: 1
OpenVZ/SolusVM
Location: Buffalo, USA
Price $2.5/mo or $20/year
订购地址
quasiBot (C&C) -[request/verification]-> Bots (Webshells) -[response/verification]-> quasiBot (C&C) -[request/command]-> Bots (Webshells) -[response/execution]-> quasiBot (C&C)
quasiBot (C&C) -[PROXY/TOR]-> Bots (Webshells) <-[PROXY/TOR]- quasiBot (C&C)
react-native
View
and Navigator
.Libraries
directory for components like ScrollView
and Navigator
, for example. The UIExplorer example is also here to demonstrate some of the ways to use these components. From the source you can get an accurate understanding of each component’s behavior and API.git clone https://github.com/facebook/react-native.git
cd react-native && npm install
.xcodeproj
file in each of the Examples
subdirectories) and hit Run in Xcode../gradlew :Examples:Movies:android:app:installDebug
# Start the packager in a separate shell (make sure you ran npm install):
./packager/packager.sh
# Open the Movies app in your emulator
$ grunt serve
http://localhost:10000
这样的网址访问到开发根目录,python -m SimpleHTTPServer 10000
python -m http.server 10000
http://localhost:10000
网址访问到开发根目录。app.js
:var express = require('express');
var app = express();
app.use(function(req, res, next) { // 解决请求跨域
res.setHeader('Access-Control-Allow-Origin', '*');
next();
});
app.get('/', function(req, res) {
res.send('hello express');
});
app.post('/login', function(req, res) {
res.json({
state: 1,
info: null
});
});
app.listen(3000);
node app.js
,后端数据就可以通过localhost:3000
接口访问到。代码中app.use
部分用于解决端口不同造成的跨域禁止访问的问题。脚本特性
- 持续不断更新
- 源码编译安装,大多数源码是最新stable版,并从官方网址下载
- 提供多个数据库版本(MySQL-5.7, MySQL-5.6, MySQL-5.5, MariaDB-10.1, MariaDB-10.0, MariaDB-5.5, Percona-5.6, Percona-5.5, AliSQL-5.6, PostgreSQL, MongoDB)
- 提供多个PHP版本(PHP-7.1, PHP-7.0,PHP-5.6, PHP-5.5,PHP-5.4,PHP-5.3)
- 提供Nginx、Tengine、OpenResty
- 提供多个Apache版本(Apache-2.4,Apache-2.2)
- 根据自己需求安装PHP缓存加速器,提供ZendOPcache、xcache、apcu、eAccelerator。及php加解密工具ionCube、ZendGuardLoader、swoole、xdebug、Composer
- 根据自己需求安装Pureftpd、phpMyAdmin
- 根据自己需求安装memcached、redis
- jemalloc优化MySQL、Nginx
- 提供添加、删除虚拟主机脚本
- 提供Nginx/Tengine/OpenResty/Apache、MySQL/MariaDB/Percona、PHP、Redis、phpMyAdmin升级脚本
- 提供本地、远程(服务器之间rsync)、阿里云OSS、腾讯云COS和upyun备份
- 提供CentOS 6、7下HHVM安装
Github地址:https://github.com/oneinstack/lnmphttps://github.com/oneinstack/lnmp/raw/master/install.sh安装步骤
- yum -y install wget screen curl python#for CentOS/Redhat
- #apt-get -y install wget screen curl python# for Debian/Ubuntu
- wget http://aliyun-oss.linuxeye.com/lnmp-full.tar.gz #阿里云经典网络内网下载
- wget http://mirrors.linuxeye.com/lnmp-full.tar.gz # 包含源码,国内外均可下载
- wget http://mirrors.linuxeye.com/lnmp.tar.gz # 不包含源码,建议仅国外主机下载
- tar xzf lnmp-full.tar.gz
- #tar xzf lnmp.tar.gz
- cd lnmp # 如果需要修改目录(安装、数据存储、Nginx日志),请修改options.conf文件
- screen -S lnmp # 如果网路出现中断,可以执行命令`screen -R lnmp`重新连接安装窗口
- ./install.sh # 请勿sh install.sh或者bash install.sh这样执行。
如何添加虚拟主机?
- ./vhost.sh
如何删除虚拟主机?
- ./vhost.sh del
数据备份
- cd ~/lnmp # 必须进入lnmp目录下执行
- ./backup_setup.sh # 备份参数设置
- ./backup.sh # 立即执行备份
- crontab -e # 可添加到计划任务,如每天凌晨1点自动备份
- 0 1 * * * cd ~/lnmp;./backup.sh > /dev/null 2>&1 &
如何管理服务?
Nginx/Tengine/OpenResty:
- service nginx {start|stop|status|restart|reload|configtest}
MySQL/MariaDB/Percona:
- service mysqld {start|stop|restart|reload|status}
PHP:
- service php-fpm {start|stop|restart|reload|status}
Redis:
- service redis-server {start|stop|status|restart|reload}
Memcached:
- service memcached {start|stop|status|restart|reload}
如何更新版本?
- ./upgrade.sh
如何卸载?
- ./uninstall.sh
如何重装?
- ./uninstall.sh # 请先备份数据好数据后再卸载,丢失数据概不负责
- ./install.sh # 再次安装
from https://blog.linuxeye.cn/31.html
相关帖子:https://briteming.blogspot.com/2016/08/nginx-403-forbidden.html
(nginx 的 403 Forbidden的解决)