- Install powershell 7 and open pwsh terminal
- Clone https://github.com/simdsoft/qweb.git and goto to root directory of qweb
./qweb install
./etc/certs/gen.sh
, on windows, please enter wsl to execute scriptgen.sh
./qweb start
- Add domain
sandbox.qweb.dev
to your system hosts - Install
./etc/certs/ca-cer.crt
toTrusted Root Certificate Authorities
of current user - visit web on your browser
- http:
- http://localhost/phpinfo.php to check does php works
- http://localhost/phpmyadmin to manage database
- https
- https://sandbox.qweb.dev/phpinfo.php to check does php works
- https://sandbox.qweb.dev/phpmyadmin to manage database
visit by curl.exe:
curl -v --ssl-no-revoke https://sandbox.qweb.dev/phpinfo.php
Note:
- http:
if qweb was moved to other location or you modify domain name in local.properties
,
then please re-run qweb init nginx -f
and restart nginx by qweb restart nginx
qweb action_name targets
action_name
:install
,start
,stop
,restart
targets
(optional): possible values:all
,nginx
,php
,phpmyadmin
,mysql
examples:
qweb install
: install WNMP on windows or LNMP on ubuntu linuxqweb start
: start nginx, mysqld, php-cgiqweb stop
: stop nginx, mysqld, php-cgiqweb restart
: restart nginx, mysqld, php-cgiqweb passwd mysql
: reset mysqld password
- ✅ Windows
- ✅ Ubuntu
Note:
- nginx, mysql runas current user
- php runas root
-
Use aliyun DMS, ensure follow option was checked
- Data And Structure
- Compress insert statements
-
Aliyun website control console
- Delete:
FOREIGN_KEY_CHECKS
statements at HAED and tail - Delete UTF-8 BOM of file
- Delete: