For economy computer resources I have got new idea. Take old notebook, install Windows 7 and VmWare Workstation Pro. Switch off Windows GUI and run it like Windows Server Core. Share virtual machine at VmWare Workstation server and switch on remote desktop at it. Profit! The speed up to 30%!
Yesterday I received a request from inner client that some 1S (1C) operating base very slowly. Every diagnostic tool which I used did not show the existence of problems. The problems was solved by next algorithm:
- Open base in configuration mode. Be patient – this process can be lengthy.
- Open configuration
- Change structure of configuration. For example – add new empty global module.
- Save configuration.
After this 1S (1C) will restructure all tables in cinfiguration and your base will work qiuck.
ATTENTION: 1) Always make backups! 2) Standard base-control mechanism was not fulfilling its functions in this case!
For several days I have been sick and had to stay at home. All this time I tried to resolve problem with getting SMS from 1C Mobile Application. After I went through all variants I decided to create new system in VmWare, re-install all instruments and start debug process again. Well… It working! In this example we can see the important role of environment in which we make code.
Because my site running under virtual machine it has limited resources for disk space. For solve this problem I was need connect my QNAP-NAS to the site. So, initial data:
- QNAP NAS in local network with static ip-address.
- Personal web-site in virtual machine with static ip-address
- Router with internet link and switch
Now algorithm for this operation:
- Create user “www” on QNAP NAS
- Create directory at NAS, share it and setup permissions “r+w” for “www” user
- Mount shared directory in Ubuntu by it instruments
Shell1mount -t cifs //nas/WebMedia NAS_WebMedia -o rw,username=www,gid=www,uid=www
Attention! Be sure to add to mount command options “uid” and “gid” with local user and his group for correct rights at directory.
- Change in WordPress files default upload path to mounted directory.
- Enjoy 🙂 Now I have 2Tb for on QNAP-NAS for my personal web site.