NOTE: This page has been translated automatically from Russian to English. Original page.
Installation of 1C: Enterprise 8.3. "Managing a small firm" on a web server running Apache 2.2 in Ubuntu Server 12.04.2 LTS x86_64.
with fixes for the version of 1C: Enterprise 8.3 .3.658
Installing Ubuntu Server 12.04.2.
Download the disk image to the link 64 bit the PC-(on AMD64 machines) server the install the CD . Write it on a CD-ROM. Server installation is done according to the instructions Installation Server 12.04 of Ubuntu .
Go to the server via terminal
ssh user@adress.of.my.server
Update the list of packages
sudo apt-get update
update packages
sudo apt-get upgrade
Installation of 1C: Pre dpriyatie 8.3
To install the 1C: Enterprise 8.3, we need server-side "The server 1C: Enterprise (64-bit) for DEB-based Linux-systems" (file deb64.tar.gz).
Download the file directly to the server command:
wget http: //*.v8.1c.ru/.*./.*./.*./.*./deb64.tar.gz
* Download Link looking at http://users.v8.1c.ru/ site
Unpack the file:
tar xzf deb64.tar.gz
Install the package:
sudo dpkg -i 1c * .deb
When installing packages 1C: Enterprise 8.3 may be errors "broken" links ... correct connection:
sudo apt-get -f install
Install additional packages needed to set up and operate the 1C: Enterprise 8.3:
sudo apt-get install ttf-mscorefonts -installer
sudo apt-get install imagemagick
when installing fonts, you must agree to the license terms.
Run the script configuration 1C:
sudo /opt/1C/v8.3/x86_64/utils/config_system / usr / share / fonts
Stop the server 1C: Enterprise 8.3 (we do not need )
sudo /etc/init.d/srv1cv83 stop
Disable Autorun server 1C: Enterprise 8.3
sudo update-rc.d srv1cv83 disable
Installation of HASP driver
Download the driver:
wget ftp://ftp.etersoft.ru/pub/Etersoft/HASP/3.3/x86_64/Ubuntu/12.04/haspd_3.3-eter4ubuntu_amd64.deb
* No longer need anything for USB key
Install the drivers for the HASP key
sudo dpkg -i hasp * .deb
Some programs of HASP driver package compiled for 32-bit systems. For them, it is necessary to install support for 32-bit applications. Without a ia32-libs package driver, the HASP key to our 64-bit system will not work. Set:
sudo apt-get -i ia32-libs
Insert the key into the server and restart the service HASP drivers:
sudo /etc/init.d/haspd restart
Publication of the information base to the Apache Web server
Download the data base (file 1cv8.1cd) in DemoSmallBusiness directory in the user directory, and allow changes to group the web server:
sudo chown -R user: www-data / home / user / DemoSmallBusines
sudo chmod -R 664 / home / user / DemoSmallBusines
Publication of the information base to the Apache Web server:
sudo /opt/1C/v8.3/x86_64/webinst -publish -apache22 -wsdir demosmall -dir ' / var / www / demosmall' -connstr 'File = "/ home / user / DemoSmallBusines"'
In the folder / var / www / demosmall default.vrd file will be created
In the configuration file of Apache web server line will be added:
LoadModule _1cws_module "/opt/1C/v8.3/x86_64/wsap22.so"
# 1c publication
Alias "/ demosmall" "/ var / www / demosmall /"
<Directory "/ var / www / demosmall /">
AllowOverride All
Options None
Order allow, deny
Allow from all
SetHandler 1c-application
ManagedApplicationDescriptor "/var/www/demosmall/default.vrd"
Restart the Apache Web server
sudo apachectl restart
Open the browser, enter the address http://192.168.1.5/demosmall/ and work.