Saturday, November 30, 2019

3 Ways To Install Atom Text editor on Ubuntu Desktop 18.04 LTS

Video Tutorial - https://youtu.be/aP3EKcvRL5M

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Atom is a cross-platform, sophisticated IDE text/code editor for folks who need decent editor with cool features like context-aware auto-completion, code navigation features such as an outline view, document formatting, file system browser, works with Git and GitHub directly and much more….
Offcial Website: https://atom.io/  || Github:https://github.com/atom/atom               
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-
Os:  Ubuntu 18.04.2 LTS Bionic Beaver 64Bit      Hostname:           IP Address of Server:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT
apt update -y ; apt install -y build-essential software-properties-common curl gdebi vim wget apt-transport-https

Method:1
wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
apt-get update ; apt-get -y install atom

Method:2
apt update ; apt-get install snapd -y
snap install atom --classic

Method:3
wget https://github.com/atom/atom/releases/download/v1.37.0/atom-amd64.deb
gdebi atom-amd64.deb

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2 Ways To Install Wing Pro 7 on Ubuntu 18.04.2 LTS

VIDEO Tutorial -https://youtu.be/WK5kvgfaY80

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Wing Pro is a full-featured Python IDE designed for professional developers. It includes powerful editing, code intelligence, refactoring, debugging, search, unit testing, project management, revision control, and remote development features.
Offcial web : http://wingide.com/                   
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Os:  Ubuntu 18.04.2 LTS Bionic Beaver 64Bit      Hostname:           IP Address of Server:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; whoami ; apt update -y ; apt install -y build-essential software-properties-common curl gdebi vim wget aptitude leafpad nano git net-tools lsb-release apt-transport-https

Method:1
apt update ; apt install snapd -y
snap install wing7 --classic
wing7

Method:2
wget https://wingware.com/pub/wingpro/7.0.3.0/wingpro7_7.0.3-0_amd64.deb
gdebi wingpro7_7.0.3-0_amd64.deb

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Tuesday, November 26, 2019

How To install Anchor CMS On Ubuntu 18.04 LTS with Apache2

Video Tutorial - https://youtu.be/SmvorDF2xTs

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Anchor is a lightweight open source blog CMS written in PHP. Anchor's source code is hosted on GitHub.
Offcial Website: https://anchorcms.com/
Github:https://github.com/anchorcms
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |IP address-      | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; hostname ; hostname -I ; whoami ; getconf LONG_BIT ; apt install -y build-essential software-properties-common curl gdebi net-tools wget curl sqlite3 dirmngr nano lsb-release apt-transport-https

MariaDB Repositories:
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 ; add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.biznetgio.com/mariadb/repo/10.4/ubuntu bionic main'

install Apache2 Mariadb Php PHP Modules :
add-apt-repository ppa:ondrej/php -y
apt-get update ; apt install -y apache2 mariadb-server mariadb-client php7.3 libapache2-mod-php7.3 php7.3-cli php7.3-fpm php7.3-cgi php7.3-bcmath php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-sqlite3 php7.3-xml php7.3-zip php7.3-snmp  php7.3-imap php7.3-common php7.3-tidy php-pear

a2enmod dir env headers mime rewrite setenvif
sed -i "s/;date.timezone.*/date.timezone = UTC/" /etc/php/7.3/cli/php.ini ; echo ServerName 127.0.0.1 >> /etc/apache2/apache2.conf 

systemctl start apache2 mariadb ; systemctl enable apache2 mariadb
mysql_secure_installation

Create Mariadb Database :
mysql -u root -p
create database db;
grant all on db.* to 'dbuser'@'localhost' identified by 'dbpass';
FLUSH PRIVILEGES;
quit

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
cd /var/www/html/ ; composer create-project anchorcms/anchor-cms
mv anchor-cms anchor
chown -R www-data:www-data /var/www/html/anchor/ ; chmod -R 755 /var/www/html/anchor/

Setting up Apache VirtualHost :
gedit /etc/apache2/sites-available/yourdomain.conf &>/dev/null
<VirtualHost *:80>

     ServerAdmin admin@yourdomain.com
     DocumentRoot /var/www/html/anchor
     ServerName www.yourdomain.com

     <Directory /var/www/html/anchor/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/yourdomain_error.log
     CustomLog ${APACHE_LOG_DIR}/yourdomain_access.log combined

</VirtualHost>

a2ensite yourdomain ; a2dissite 000-default.conf  ; apache2ctl configtest ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl reload apache2
http://www.yourdomain.com

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

How To Install Apache Groovy on Ubuntu 18.04

Video Tutorial - https://youtu.be/vDnxYyjOXzE

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Apache Groovy is a powerful dynamic language for JVM. It has easy to learn syntax, static-typing and compilation capabilities aimed at improving developer productivity.
Apache Groovy Documentation :http://groovy-lang.org/documentation.html
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   | IP address- 192.168.1.50  | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; hostname ; hostname -I ; whoami ; getconf LONG_BIT ; apt update ; apt install -y build-essential software-properties-common curl gdebi net-tools wget sqlite3 dirmngr nano lsb-release apt-transport-https -y

java -version


apt update ; apt install snapd
snap install groovy --classic
groovy -version
Or
curl -s get.sdkman.io | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install groovy
groovy -version

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Saturday, November 23, 2019

2 Ways To Install Riot Desktop (Matrix client) on Ubuntu 18.04

 Video Tutorial -https://youtu.be/4qgyXcPydmM

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Riot im is a open source chat client application for Linux operating system. It is one of the nice light weight chat application comes with various features. As Riot im chat client is released under Apache license You can download it’s source code from Github and contribute your new features.
Offcial Website: https://about.riot.im/       
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-
Os:  Ubuntu 18.04.2 LTS Bionic Beaver 64Bit      Hostname:           IP Address of Server:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; whoami ; apt update -y ; apt install -y build-essential software-properties-common curl gdebi vim wget aptitude leafpad nano git net-tools lsb-release apt-transport-https

Method:1
apt update ; apt install snapd -y
snap install riot-web

Method:2  [ Link : https://riot.im/download/desktop/ ]
wget -O /usr/share/keyrings/riot-im-archive-keyring.gpg https://packages.riot.im/debian/riot-im-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ $(lsb_release -cs) main" |
    sudo tee /etc/apt/sources.list.d/riot-im.list
apt update ; apt install riot-web

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2 Ways To Install Natron on Ubuntu 18.04.2 LTS

 Video Tutorial -https://youtu.be/ZzCKbn3o9fA

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Open-source compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry. http://NatronGitHub.github.io
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-
Os:  Ubuntu 18.04.2 LTS Bionic Beaver 64Bit      Hostname:           IP Address of Server:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; whoami ; apt update -y ; apt install -y build-essential software-properties-common curl gdebi vim wget aptitude leafpad nano git net-tools lsb-release apt-transport-https

Method:1
apt update ; apt install snapd -y
snap install natron

Method:2
add-apt-repository ppa:alexlarsson/flatpak -y
apt update ; apt install flatpak gnome-software-plugin-flatpak -y
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

[https://flathub.org/home ]
flatpak install --from https://flathub.org/repo/appstream/fr.natron.Natron.flatpakref

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thursday, November 21, 2019

How To Install AbeCMS (Node.Js) On Ubuntu 18.04 LTS

 Video Tutorial -https://youtu.be/jpZRBMH18vw

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

AbeCMS is an open source, static site generator with great user interface .It makes it super easy to develop and design static websites for anyone knows how to write in markdown style…||
Offcial Website: https://abecms.org/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |            IP address- 192.168.1.50                 | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; whoami ; hostname -f ; hostname -I ; sudo apt-get update ; sudo apt install -y build-essential software-properties-common curl wget nano git net-tools lsb-release apt-transport-https

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt-get update ; sudo apt-get install nodejs yarn zlib1g-dev build-essential libpq-dev libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs libpq-dev -y

cd ~/ ; git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc ; echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL

rbenv install 2.5.3
rbenv global 2.5.3
sudo npm install -g abecms  --silent
abe init
cd abecms
abe serve -i
http://localhost:3000
Username: | Password:       | Email :

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

How To Install Alfresco CMS on Ubuntu 18.04 LTS

 Video Tutorial -https://youtu.be/ZyXemxE7nT4

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Alfresco Community Edition is the free version of the Alfresco Content Services. It is a collection of information management software products for Microsoft Windows and Unix-like operating systems written in Java and uses PostgreSQL to store its database. Alfresco is a flexible and highly scalable Enterprise Content Management System that allows enterprises and business owners to collaborate and automate engaging experiences with users across multiple devices. Mainly it is used for many types of digital assets including, documents, web, records, images, videos, rich media and many more.
Offcial Website: https://www.alfresco.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   | IP address- 192.168.1.50  | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------build-essential software-properties-common curl gdebi net-tools wget sqlite3 dirmngr nano lsb-release apt-transport-https -y
echo $JAVA_HOME ; java -version ; javac -version

add-apt-repository ppa:opencpn/opencpn -y
apt-get update ; apt-get install libfontconfig1 libsm6 libice6 libxrender1 libxt6 libcups2 opencpn libcairo2 ttf-mscorefonts-installer -y
wget https://download.alfresco.com/release/community/201707-build-00028/alfresco-community-installer-201707-linux-x64.bin
chmod 755 alfresco-community-installer-201707-linux-x64.bin
./alfresco-community-installer-201707-linux-x64.bin

http://localhost:8080/share
Default username: admin
Pass:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Monday, November 18, 2019

How To install Shaarli with Apache2 On Ubuntu 18.04 LTS

 Video Tutorial -https://youtu.be/u2EBPAKEa34

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Shaarli is a personal, minimalist, super-fast, database free, bookmarking service.
Website:https://github.com/shaarli/Shaarli
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |            IP address- 192.168.1.50                 | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; whoami ; hostname -f ; hostname -I ; apt-get update ; apt install -y build-essential software-properties-common curl wget nano git net-tools lsb-release apt-transport-https

add-apt-repository ppa:ondrej/php -y
apt-get update ; apt install  -y apache2 php7.3 libapache2-mod-php7.3 php7.3-cli php7.3-fpm php7.3-cgi php7.3-bcmath php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-sqlite3 php7.3-xml php7.3-zip php7.3-snmp  php7.3-imap php7.3-common php7.3-tidy

a2enmod dir env headers mime rewrite setenvif
sed -i "s/;date.timezone.*/date.timezone = UTC/" /etc/php/7.3/cli/php.ini ; echo ServerName 127.0.0.1 >> /etc/apache2/apache2.conf 
systemctl start apache2  ; systemctl enable apache2

wget https://github.com/shaarli/Shaarli/releases/download/v0.10.4/shaarli-v0.10.4-full.zip
unzip shaarli-v0.10.4-full.zip  ; mv Shaarli /var/www/html/
chown -R www-data:www-data /var/www/html/ ; chmod -R 755 /var/www/html/

Setting up Apache VirtualHost :
gedit /etc/apache2/sites-available/yourdomain.conf &>/dev/null
<VirtualHost *:80>
     ServerAdmin admin@yourdomain.com
     DocumentRoot /var/www/html/Shaarli/
     ServerName www.yourdomain.com
     <Directory /var/www/html/Shaarli/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>
     ErrorLog ${APACHE_LOG_DIR}/yourdomain_error.log
     CustomLog ${APACHE_LOG_DIR}/yourdomain_access.log combined
</VirtualHost>

a2ensite yourdomain ; a2dissite 000-default.conf  ; apache2ctl configtest ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl reload apache2
http://www.yourdomain.com
Username:admin        | Password:  

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Sunday, November 17, 2019

2 Ways To Install GitKraken on Ubuntu 18.04.2 LTS

 Video Tutorial -https://youtu.be/WchnapyDV4E

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

GitKraken is a popular leading graphic user interface for Git which was built using NodeGit.
Offcial Website: https://www.gitkraken.com/                       
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification- [ Os:  Ubuntu 18.04.2 LTS Bionic Beaver 64Bit ]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; whoami ; apt update -y ; apt install -y build-essential software-properties-common curl gdebi vim wget aptitude leafpad nano git net-tools lsb-release apt-transport-https

Method:1
apt update ; apt install snapd -y
snap install gitkraken

Method:2
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
gdebi gitkraken-amd64.deb 

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2 Ways To Install DOSBox on Ubuntu 18.04.2 LTS

 Video Tutorial -https://youtu.be/UUUdiIRWnu8

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

DOSBox-X is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics sound and DOS. It's been designed to run old DOS games under platforms that don't support it.
Offcial Website: https://www.dosbox.com/                       
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification- [ Os:  Ubuntu 18.04.2 LTS Bionic Beaver 64Bit ]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; whoami ; apt update -y ; apt install -y build-essential software-properties-common curl gdebi vim wget aptitude leafpad nano git net-tools lsb-release apt-transport-https

M:1
apt update ; apt install snapd -y
snap install dosbox-x

Method:2
apt-get update ; apt-get install dosbox -y 

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2 Ways to Install Google Chrome on Ubuntu 18.04.2 LTS

 Video Tutorial-https://youtu.be/xONTUv1yMS8

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Google Chrome is the world’s most popular web browser. It is fast, secure and full of features to give you the best browsing experience.https://www.google.com/chrome/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-
Os:  Ubuntu 18.04.2 LTS Bionic Beaver 64Bit      Hostname:           IP Address of Server:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd  ; getconf LONG_BIT ; apt update -y ; apt install -y build-essential software-properties-common curl gdebi net-tools

Method:1
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
apt-get update ; apt-get install google-chrome-stable -y


Method:2
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
gdebi google-chrome-stable_current_amd64.deb

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Friday, November 15, 2019

How To install OsTicket With LAMP On Ubuntu 18.04 LTS

 Video Tutorial - https://youtu.be/EPERo7VJApM

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

OsTicket is an open source support ticket system based on PHP. It's a simple and lightweight support ticket system, designed to be easy to use and easy to install. OsTicket allows you to manage, organize and archive your support request. It's has support for LDAP and Active Directory authentication.

https://osticket.com/

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Our Server Specification-    

Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |IP address- 192.168.1.50  | Hostname :www.yourdomain.com

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------essential software-properties-common curl gdebi net-tools wget curl sqlite3 dirmngr nano lsb-release apt-transport-https leafpad git sudo unzip socat bash-completion checkinstall imagemagick openssl


MariaDB Repositories & Php PPA:

apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 ; add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.biznetgio.com/mariadb/repo/10.4/ubuntu bionic main' && add-apt-repository ppa:ondrej/php -y


apt-get update ; apt install -y apache2 mariadb-server mariadb-client php7.2 libapache2-mod-php7.2 php7.2-cli php7.2-fpm php7.2-cgi php7.2-bcmath php7.2-curl php7.2-gd php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-sqlite3 php7.2-xml php7.2-zip php7.2-snmp php7.2-json php7.2-imap php7.2-common php7.2-tidy php7.2-pgsql php7.2-ldap php7.2-soap php7.2-snmp php7.2-xsl  php7.2-recode php-imagick php-pear php-memcache php-apcu


a2enmod dir env headers mime rewrite setenvif ; sed -i "s/;date.timezone.*/date.timezone = Asia\/\Kolkata/" /etc/php/*/apache2/php.ini ; echo ServerName 127.0.0.1 >> /etc/apache2/apache2.conf ; systemctl start apache2 mariadb ; systemctl enable apache2 mariadb ; mysql_secure_installation


Create Mariadb Database :

mysql -u root -p

create database db;

grant all on db.* to 'dbuser'@'localhost' identified by 'dbpass';

flush privileges;

quit


cd /var/www/html/ ; wget https://github.com/osTicket/osTicket/releases/download/v1.12.2/osTicket-v1.12.2.zip

unzip osTicket-v1.12.2.zip

cd upload ; cp include/ost-sampleconfig.php include/ost-config.php

chown -R www-data:www-data /var/www/html/ ; chmod -R 755 /var/www/html/


Apache VirtualHost :

leafpad /etc/apache2/sites-available/yourdomain.conf &>/dev/null

<VirtualHost *:80>


     ServerAdmin admin@yourdomain.com

     DocumentRoot /var/www/html/upload/

     ServerName www.yourdomain.com


     <Directory /var/www/html/upload/>

          Options FollowSymlinks

          AllowOverride All

          Require all granted

     </Directory>


     ErrorLog ${APACHE_LOG_DIR}/yourdomain_error.log

     CustomLog ${APACHE_LOG_DIR}/yourdomain_access.log combined


</VirtualHost>


a2ensite yourdomain ; a2dissite 000-default.conf  ; apache2ctl configtest ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl reload apache2

http://www.yourdomain.com

chmod 0666 include/ost-config.php

chmod 0644 include/ost-config.php

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Tuesday, November 12, 2019

How To install Flextype CMS On Ubuntu 18.04 LTS

 Video Tutorial - https://youtu.be/JYQeM80BNCg

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Flextype CMS is a Flat-File CMS i.e. needs no database. It is written in PHP.
Offcial Website: http://flextype.org/en
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |IP address- 192.168.1.50  | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; hostname ; hostname -I ; whoami ; getconf LONG_BIT ; apt install -y build-essential software-properties-common curl gdebi net-tools wget curl sqlite3 dirmngr nano lsb-release apt-transport-https leafpad git sudo unzip socat bash-completion checkinstall imagemagick openssl

apt-get update ; apt install -y apache2 php7.2 libapache2-mod-php7.2 php7.2-cli php7.2-fpm php7.2-cgi php7.2-bcmath php7.2-curl php7.2-gd php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-sqlite3 php7.2-xml php7.2-zip php7.2-snmp php7.2-imap php7.2-common php7.2-tidy php7.2-pgsql php7.2-ldap php7.2-soap php7.2-xsl php7.2-recode php7.2-redis php7.2-xmlrpc php7.2-zip php-imagick php-pear php-memcache php-apcu

a2enmod dir env headers mime rewrite setenvif ; sed -i "s/;date.timezone.*/date.timezone = Asia\/\Kolkata/" /etc/php/*/apache2/php.ini ; echo ServerName 127.0.0.1 >> /etc/apache2/apache2.conf ; systemctl start apache2 ; systemctl enable apache2

cd /tmp && wget https://github.com/flextype/flextype/releases/download/v0.9.3/flextype-0.9.3.zip
mkdir -P /var/www/html/flextype ; unzip flextype-0.9.3.zip -d /var/www/html/flextype
chown -R www-data:www-data /var/www/ ; chmod -R 755 /var/www/

Apache VirtualHost :
leafpad /etc/apache2/sites-available/yourdomain.conf &>/dev/null
<VirtualHost *:80>

     ServerAdmin admin@yourdomain.com
     DocumentRoot /var/www/html/flextype/
     ServerName www.yourdomain.com

     <Directory /var/www/html/flextype/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/yourdomain_error.log
     CustomLog ${APACHE_LOG_DIR}/yourdomain_access.log combined

</VirtualHost>

a2ensite yourdomain ; a2dissite 000-default.conf  ; apache2ctl configtest ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl reload apache2
http://www.yourdomain.com

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Friday, November 8, 2019

How To install Pico CMS On Ubuntu 18.04 LTS

Video Tutorial - https://youtu.be/LXVlm54_Xzs

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Pico is an open source simple and fast flat file CMS written in PHP. This means there is no administration backend and database to deal with. You simply create .md files in the content folder and that becomes a page. Pico uses the Twig templating engine, for powerful and flexible themes. Pico source code is available on Github.
Pico is a stupidly simple, blazing fast, flat file CMS.
Offcial Website: http://picocms.org/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |IP address- 192.168.1.50  | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; hostname ; hostname -I ; whoami ; getconf LONG_BIT ; apt install -y build-essential software-properties-common curl gdebi net-tools wget curl sqlite3 dirmngr nano lsb-release apt-transport-https leafpad git sudo unzip socat bash-completion checkinstall imagemagick openssl

apt-get update ; apt install -y apache2 php7.2 libapache2-mod-php7.2 php7.2-cli php7.2-fpm php7.2-cgi php7.2-bcmath php7.2-curl php7.2-gd php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-sqlite3 php7.2-xml php7.2-zip php7.2-snmp php7.2-json php7.2-imap php7.2-common php7.2-tidy php7.2-pgsql php7.2-ldap php7.2-soap php7.2-snmp php7.2-xsl  php7.2-recode php-imagick php-pear php-memcache php-apcu

a2enmod dir env headers mime rewrite setenvif ; sed -i "s/;date.timezone.*/date.timezone = Asia\/\Kolkata/" /etc/php/*/apache2/php.ini ; echo ServerName 127.0.0.1 >> /etc/apache2/apache2.conf ; systemctl start apache2 ; systemctl enable apache2

rm -rf /var/www/html/*
curl -sS https://getcomposer.org/installer | php ; mv composer.phar /usr/local/bin/composer ; chmod +x /usr/local/bin/composer
cd /var/www/html ; wget https://github.com/picocms/Pico/releases/download/v2.0.4/pico-release-v2.0.4.tar.gz
tar -xvf pico-release-v2.0.4.tar.gz
cd /var/www/html/ ; composer install

chown -R www-data:www-data /var/www/html/ ; chmod -R 755 /var/www/html/
Apache VirtualHost :
leafpad /etc/apache2/sites-available/yourdomain.conf &>/dev/null
<VirtualHost *:80>

     ServerAdmin admin@yourdomain.com
     DocumentRoot /var/www/html/
     ServerName www.yourdomain.com

     <Directory /var/www/html/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/yourdomain_error.log
     CustomLog ${APACHE_LOG_DIR}/yourdomain_access.log combined

</VirtualHost>

a2ensite yourdomain ; a2dissite 000-default.conf  ; apache2ctl configtest ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl reload apache2
http://www.yourdomain.com

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Tuesday, November 5, 2019

How To Install October Cms With LEMP On Ubuntu 18.04 LTS

 Video Tutorials -https://youtu.be/a059vy73IrU

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
October is an open source, powerful, and modular Content Management System (CMS) and that aims at making your development workflow simple and fast. October CMS  has been designed from scratch to solve problems that exist in other content management systems.
Offcial Website: https://octobercms.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Our Server Specification-    
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   | IP address- 192.168.1.50 | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; hostname ; hostname -I ; whoami ; getconf LONG_BIT ; apt install -y build-essential software-properties-common curl gdebi net-tools wget curl sqlite3 dirmngr nano lsb-release apt-transport-https leafpad git sudo unzip socat bash-completion checkinstall imagemagick openssl

MariaDB Repositories:
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 ; add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.biznetgio.com/mariadb/repo/10.4/ubuntu bionic main' ; add-apt-repository ppa:ondrej/php -y

apt-get update ; apt install -y nginx mariadb-server mariadb-client php7.2 php7.2-cli php7.2-fpm php7.2-cgi php7.2-bcmath php7.2-curl php7.2-gd php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-sqlite3 php7.2-xml php7.2-zip php7.2-snmp php7.2-json php7.2-imap php7.2-common php7.2-tidy php7.2-pgsql php7.2-ldap php-imagick php-pear
systemctl start nginx mariadb ; systemctl enable nginx mariadb ; mysql_secure_installation

Create Mariadb Database :
mysql -u root -p
create database db;
grant all on db.* to 'dbuser'@'localhost' identified by 'dbpass';
flush privileges;
quit

sed -i "s/;date.timezone.*/date.timezone = Asia\/\Kolkata/" /etc/php/7.2/fpm/php.ini ; sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php/7.2/fpm/php.ini ; leafpad  /etc/php/7.2/fpm/pool.d/www.conf &>/dev/null
env[HOSTNAME] = $HOSTNAME ]

wget https://codeload.github.com/octobercms/install/zip/master -O octobercms.zip
unzip octobercms.zip
mv install-master /var/www/html/octobercms
chown -R www-data:www-data /var/www/html/ ; chmod -R 755 /var/www/html/

Setting up Nginx Server Blocks (Virtual Hosts):-
leafpad /etc/nginx/sites-available/default &>/dev/null
server {
    server_name www.yourdomain.com;

    access_log /var/log/nginx/yourdomain-access.log;
    error_log /var/log/nginx/yourdomain-error.log;
    root /var/www/html/octobercms/;

    location / {
        index index.php;
        try_files $uri $uri/ /index.php$is_args$args;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
}

nginx -t  ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl restart nginx mariadb
www.yourdomain.com/install.php

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Saturday, November 2, 2019

How To install phpPgAdmin with postgresql Ubuntu 18.04 LTS

Video Tutorial- https://youtu.be/mTC1sguOoWs

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies, and hosting services.
Offcial Website: http://phppgadmin.sourceforge.net/doku.php           
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   |IP address- 192.168.1.50  | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -cd ; hostname ; hostname -I ; whoami ; getconf LONG_BIT ; apt install -y build-essential software-properties-common curl gdebi net-tools wget curl sqlite3 dirmngr nano lsb-release apt-transport-https leafpad git sudo unzip socat bash-completion checkinstall imagemagick openssl

apt -y install postgresql postgresql-contrib phppgadmin apache2
sudo -u postgres psql postgres
\password postgres
User - postgres   | password - yourpassword

leafpad /etc/apache2/conf-available/phppgadmin.conf &>/dev/null
#Require local
Require all granted
leafpad /etc/phppgadmin/config.inc.php &>/dev/null
$conf['extra_login_security'] = false;
systemctl restart postgresql apache2 ; netstat -plntu
http://www.yourdomain.com/phppgadmin/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Friday, November 1, 2019

How To install TYPO3 With LEMP On Ubuntu 18.04 LTS

 Video Tutorial -https://youtu.be/oVotlnoE-C4

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

TYPO3 is a free and open source enterprise content management system. It is written in PHP and uses MySQL to store its data. TYPO3 is a responsive, mobile ready, multilingual and secure CMS. It can be easily customized and extended without writing any code.
Offcial Website: https://typo3.org/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Os:Ubuntu 18.04 LTS Bionic Beaver 64Bit   | IP address- 192.168.1.50 | Hostname :www.yourdomain.com
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ apt install -y build-essential software-properties-common curl gdebi net-tools wget curl sqlite3 dirmngr nano lsb-release apt-transport-https leafpad git sudo unzip socat bash-completion checkinstall imagemagick openssl

MariaDB Repositories:
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 ; add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.biznetgio.com/mariadb/repo/10.4/ubuntu bionic main' ; add-apt-repository ppa:ondrej/php -y

apt-get update ; apt install -y nginx mariadb-server mariadb-client php7.2 php7.2-cli php7.2-fpm php7.2-cgi php7.2-bcmath php7.2-curl php7.2-gd php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-sqlite3 php7.2-xml php7.2-zip php7.2-snmp php7.2-json php7.2-imap php7.2-common php7.2-tidy php7.2-pgsql php7.2-ldap php-imagick php-pear
systemctl start nginx mariadb ; systemctl enable nginx mariadb ; mysql_secure_installation

leafpad /etc/php/7.2/fpm/php.ini &>/dev/null
leafpad /etc/php/7.2/cli/php.ini &>/dev/null
max_execution_time = 360
max_input_vars = 1500

sed -i "s/;date.timezone.*/date.timezone = Asia\/\Kolkata/" /etc/php/7.2/fpm/php.ini ; sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php/7.2/fpm/php.ini ; leafpad  /etc/php/7.2/fpm/pool.d/www.conf &>/dev/null
env[HOSTNAME] = $HOSTNAME ]

Create Mariadb Database :
mysql -u root -p
create database dbname character set utf8 collate utf8_general_ci;
create user 'dbuser'@'localhost' identified by 'dbpassword';
grant all privileges on dbname.* to 'dbuser'@'localhost';
flush privileges;
exit;

cd /var/www/html ; wget --content-disposition https://get.typo3.org/9
tar xzf typo3_src-9.5.9.tar.gz
mv typo3*/ typo3/
touch /var/www/html/typo3/FIRST_INSTALL
chown -R www-data:www-data /var/www/html/ ; chmod -R 755 /var/www/html/


Setting up Nginx Server Blocks (Virtual Hosts):-
leafpad /etc/nginx/sites-available/default &>/dev/null
server {
    server_name www.yourdomain.com;

    access_log /var/log/nginx/yourdomain-access.log;
    error_log /var/log/nginx/yourdomain-error.log;
    root /var/www/html/typo3/;

    location / {
        index index.php;
        try_files $uri $uri/ /index.php$is_args$args;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
}

nginx -t  ; echo "192.168.1.50 www.yourdomain.com" >> /etc/hosts ; systemctl restart nginx mariadb php7.2-fpm
http://www.yourdomain.com

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------