2019 Week 24

2019 Week 24 (2019/06/10 ~ 2019/06/16)

  1. Achieve the checkbox button Github Markdown in
  2. Swift- custom UITableViewCell and View (XIB and pure code)
  3. Npm build private storage server for Windows systems, packaged and pushed to the private storage server npm
  4. nssm Deployment Services on Windows

 

Npm build private storage server Sinopia Windows system

  1. Installing Python
  2. Installation NodeJs
  3. Installation Sinopia

    1
    npm install -g sinopia
  4. Open port 4873 port

    1. Windows Firewall -> Advanced settings -> Inbound Rules -> New Rule -> port -> TCP, local specific port: 4873
  5. Configuration Sinopia

    1. Open C: UsersAdministratorAppDataRoamingsinopiaconfig.yaml file (please Administrator Replace your windows user name)
    2. At the end of file add the following code, save and exit
      1
      2
      # listen ip and port
      listen: 0.0.0.0:4873
  6. New user (enter a user name, password, and email address)

    1
    npm adduser --registry http://10.100.254.163:4873

  1. Access and login (username / password: pdrc / pdrc)

Use nssm will Sinopia as a Windows service startup

  1. Download NSSM download
  2. According to their platform, the 32/64 nssm.exe extract the files to any folder.
  3. cmd Navigate to the directory nssm.exe.
  4. Enter nssm install {name} service, name of the service that is registered. NSSM registration services pop up the following interface.
  5. We want to execute the file is sinopia.cmd, the path is: C: UsersAdministratorAppDataRoamingnpmsinopia.cmd
  6. After completing the path configuration, Startup directory is automatically configured, here we do not have to modify, click on [Install service] create a service:

  7. Before you start to modify the service configuration to support IP address to access the
    Open C: WindowsSystem32configsystemprofileAppDataRoamingsinopiaconfig.yaml file, add the following code at the end of the file, save and exit

    1
    2
    # listen ip and port
    listen: 0.0.0.0:4873
  8. Start the service:

  9. After a successful start, Task Manager has node.exe process:

  10. Native access http://10.100.254.163:4873

  11. New user (enter a user name, password, and email address)

    1
    npm adduser --registry http://10.100.254.163:4873
  12. Once you have created a user is successful, other machines can access and log the IP address.

Original: Big Box  2019 Week 24


Guess you like

Origin www.cnblogs.com/petewell/p/11611680.html