forked from ciyam/ciyam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux_opensuse.txt
70 lines (51 loc) · 1.85 KB
/
linux_opensuse.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Linux OpenSUSE Specific Instructions
====================================
https://get.opensuse.org/tumbleweed
(download the .ISO image to use with VirtualBox as the install CD/DVD)
sudo zypper install make
sudo zypper install gcc-c++
sudo zypper install git-core
sudo zypper install png++-devel
sudo zypper install libharu-devel
sudo zypper install readline-devel
sudo zypper install mariadb libmariadb-devel
sudo zypper install apache2 apache2-mod_fcgid
sudo a2enmod fcgid
sudo service mysql restart
sudo service apache2 restart
git clone https://github.com/ciyam/fcgi.git
cd fcgi
./configure
make
sudo make install
cd ..
sudo mysql
SET PASSWORD FOR 'root'@localhost = PASSWORD("password");
exit
Ensure that WEBDIR is exported now and for future terminal sesisons
-------------------------------------------------------------------
export WEBDIR=/srv/www/htdocs
echo "export WEBDIR=/srv/www/htdocs" >> .bashrc
echo "export WEBDIR=/srv/www/htdocs" >> .profile
Add the "www" group for your user and make it the default
---------------------------------------------------------
sudo usermod -a -G www <user>
sudo usermod -g www <user>
newgrp - www
sudo chmod g+w /srv/www/htdocs
sudo chown wwwrun:www /srv/www/htdocs
git clone https://github.com/ciyam/ciyam
cd ciyam/src
***** https://github.com/ciyam/ciyam/blob/master/getting_started.txt *****
Installing the CIYAM "systemd" Service
--------------------------------------
NOTE: Do this *only after* the CIYAM application server has been built and
the Meta DB has been created.
sudo cp ciyamd.service /etc/systemd/system
sudo vi /etc/systemd/system/ciyamd.service
(edit "ciyamd.service" file to change "tux" to the appropriate user and to
ensure that the "Environment" value matches the WEBDIR export value above)
sudo systemctl daemon-reload
sudo systemctl enable ciyamd
sudo service ciyamd start
sudo service ciyamd status