How to Install Landing-CMS on Opensuse15.1
- 00:26 cat /etc/os-release
- 00:36 zypper install php-gd php-pdo php-mysql php-mbstring php-simplexml php-curl apache2-mod_php7
- 01:01 wget https://github.com/Elias-Black/Landing-CMS/archive/0.0.6.zip
- 01:11 unzip 0.0.6.zip
- 01:25 mv Landing-CMS-0.0.6 /srv/www/htdocs/landingcms
- 01:37 chown -R wwwrun. /srv/www/htdocs/landingcms
- 01:51 chmod -R 755 /srv/www/htdocs/landingcms
- 02:04 vim /etc/apache2/conf.d/landingcms.conf
- 02:22 systemctl restart apache2
How to Install Landing-CMS on opensuse15.1
Process
To check the installed version of os
LinuxHelp:~ # cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL=https://www.opensuse.org/
Install Required PHP modules using Below command
LinuxHelp:~ # zypper install php-gd php-pdo php-mysql php-mbstring php-simplexml php-curl apache2-mod_php7
Retrieving repository 'Main Update Repository' metadata .............................................[done]
Building repository 'Main Update Repository' cache ..................................................[done]
Loading repository data...
Reading installed packages...
….
….
Retrieving package php7-curl-7.2.5-lp151.6.13.1.x86_64 (1/3), 51.2 KiB ( 91.2 KiB unpacked)
Retrieving: php7-curl-7.2.5-lp151.6.13.1.x86_64.rpm .................................................[done]
Retrieving package php7-gd-7.2.5-lp151.6.13.1.x86_64 (2/3), 51.7 KiB (115.7 KiB unpacked)
Retrieving: php7-gd-7.2.5-lp151.6.13.1.x86_64.rpm ...................................................[done]
Retrieving package php7-mbstring-7.2.5-lp151.6.13.1.x86_64 (3/3), 522.7 KiB ( 1.7 MiB unpacked)
Retrieving: php7-mbstring-7.2.5-lp151.6.13.1.x86_64.rpm ...............................[done (228.5 KiB/s)]
Checking for file conflicts: ........................................................................[done]
(1/3) Installing: php7-curl-7.2.5-lp151.6.13.1.x86_64 ...............................................[done]
(2/3) Installing: php7-gd-7.2.5-lp151.6.13.1.x86_64 .................................................[done]
(3/3) Installing: php7-mbstring-7.2.5-lp151.6.13.1.x86_64 ...........................................[done]
Change directory to specific location, where download the landingcms package
LinuxHelp:~ # cd /mnt
LinuxHelp:/mnt # wget https://github.com/Elias-Black/Landing-CMS/archive/0.0.6.zip
--2019-12-02 03:44:41-- https://github.com/Elias-Black/Landing-CMS/archive/0.0.6.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Elias-Black/Landing-CMS/zip/0.0.6 [following]
--2019-12-02 03:44:42-- https://codeload.github.com/Elias-Black/Landing-CMS/zip/0.0.6
Resolving codeload.github.com (codeload.github.com)... 13.127.152.42
Connecting to codeload.github.com (codeload.github.com)|13.127.152.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘0.0.6.zip’
0.0.6.zip [ <=> ] 2.25M 1.10MB/s in 2.0s
2019-12-02 03:44:44 (1.10 MB/s) - ‘0.0.6.zip’ saved [2359509]
LinuxHelp:/mnt # ls -la
total 2308
drwxr-xr-x 1 root root 18 Dec 2 03:44 .
drwxr-xr-x 1 root root 156 Dec 2 03:38 ..
-rw-r--r-- 1 root root 2359509 Dec 2 03:44 0.0.6.zip
Unzip the downloaded file
LinuxHelp:/mnt # unzip 0.0.6.zip
Archive: 0.0.6.zip
61d4ba5ff68cfe80e7f5a19d7d0e42d6c242acc0
creating: Landing-CMS-0.0.6/
inflating: Landing-CMS-0.0.6/LICENSE
inflating: Landing-CMS-0.0.6/README.md
creating: Landing-CMS-0.0.6/assets/
creating: Landing-CMS-0.0.6/assets/_cms/
creating: Landing-CMS-0.0.6/assets/_cms/css/
move the unzipped directory under htdocs
LinuxHelp:/mnt # mv Landing-CMS-0.0.6 /srv/www/htdocs/landingcms
Change ownership for the directory
LinuxHelp:/mnt # chown -R wwwrun. /srv/www/htdocs/landingcms
Change permission for the directory
LinuxHelp:/mnt # chmod -R 755 /srv/www/htdocs/landingcms
Configure virtual host to access Clipper-CMS
LinuxHelp:/mnt # vim /etc/apache2/conf.d/landingcms.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot "/srv/www/htdocs/landingcms"
<directory "/srv/www/htdocs/">
AllowOverride All
Require all granted
</directory>
</virtualhost>
Restart the apache service to update the changes
LinuxHelp:/mnt # systemctl restart apache2
To install Clipper-CMS, open Browser where in search bar type ip address of your system
With this, the method to install landing-CMS on opensuse15.1 comes to end
Comments ( 0 )
No comments available