Download and Run the Docker Image
macOS
Run this command in Terminal to create a data foldermkdir -p ~/wizdata
Create a folder wizdata for preserving all the data of WizNote Server. Please backup this folder regularly. If you want to use NAS or private cloud as data storage, please contact us.
Run the command below to run the docker containerdocker run --name wiz --restart=always -it -d -v ~/wizdata:/wiz/storage -e TZ=`ls -la /etc/localtime | cut -d/ -f8-9` -p 80:80 -p 9269:9269/udp wiznote/wizserver
Linux
Run this command in Terminal to create a data foldersudo mkdir -p /data/wizdata
Run the command below to run the docker container
docker run --name wiz --restart=always -it -d -v /data/wizdata:/wiz/storage -v /etc/localtime:/etc/localtime -p 80:80 -p 9269:9269/udp wiznote/wizserver
Windows
Press Win + R, or click Start Menu - Run, then input this and press Enter.powershell
Input this command in the window
cd /d D:\
md wizdataIt will create a folder wizdata in D:\ for preserving all the data. You could modify this folder.
Then run this command in terminal.docker run --name wiz --restart=always -it -d -v D:\wizdata:/wiz/storage -p 80:80 -p 9269:9269/udp wiznote/wizserver
It is the first time to run the docker container, so it needs to download the image and initiate the data. Please wait for a while(depends on the network connection; it will take 10 minutes or longer). After the download process finished, the time of running will take 2-3 minutes.
Launch the browser
visit http://localhost
You will see this page:
If it displays like the page below, it means the server has not ready, please wait a minute and refresh.
Modify the Port
If port 80 has occupied, you could modify it to 8080 or another one.
Mac/Linux
docker run --name wiz -it -d -v ~/wizdata:/wiz/storage -p 8080:80 wiznote/wizserver
Windows
docker run --name wiz -it -d -v D:\wizdata:/wiz/storage -p 8080:80 wiznote/wizserver
After modified the port, please change the link of the website accordingly.
http://localhost:8080
You could open the web application by visiting your IP address like this, so the user in the same LAN could connect the server via IP address and port(opt)
http://192.168.1.186
The case when you modify the port like this:
http://192.168.1.186:8080
On Windows, you have to make the port through the firewall.
Modify the Time Zone
docker exec -it wiz /bin/bash |
Get local time zone
Linux
Add-v /etc/localtime:/etc/localtimeto the running command to get local time zonerun --name wiz -it -d -v ~/wizdata:/wiz/storage -p 80:80 -p 9269:9269/udp -v /etc/localtime:/etc/localtime wiznote/wizserver
MacOS
-e TZ=`ls -la /etc/localtime | cut -d/ -f8-9`
FAQ
- Q: Which account should I sign in to manage the console?
A: Default administrator account: admin@wiz.cn password:123456 Please change the password after you finished the deployment. It can add five accounts in the free edition.
- Q: Where my data preserved?
A: All data include files and databases saved in the data folder (the wizdata folder, as we mentioned). Please make sure to back up this folder regularly for preventing data loss.
- Q: Are the applications of WizNote acceptable of the Docker Server?
A: Yes, you could connect the server via all the clients by choosing the Enterprise Server when you log in and then input the address of your docker server. Please notice: The same LAN is necessary. For example, the server data are inaccessible on the mobile, which is not in the same LAN with the server, but the data have been downloaded can be accessed.
- Q: Is there any time limit of WizNote Docker Server?
A: There is no time limit when the number of accounts is under 5. You can enjoy the server as long as you wish. Please contact us to buy more licenses when you want to promote it in your team.
- Q: The date of new notes is incorrect
A: It is because the time of the server is not correct. Please set the time zone. For example, set the time zone to UTC/GMT+08:00(Beijing).
扫描二维码,分享此文章