Showing posts with label installation. Show all posts
Showing posts with label installation. Show all posts

Friday, 25 July 2025

How to install python3.12 in Linux?

First we have to add repository source code so open terminal and run following command:


sudo add-apt-repository ppa:deadsnakes/ppa

 


 

Next update the apt library:

 

sudo apt update

 

Finally, install python3.12 in your Linux system:

 

sudo apt install python3.12

 


Saturday, 19 October 2019

Cisco Anyconnect VPN client for Linux

Cisco AnyConnect Secure Mobility is a collection of features across multiple Cisco products that extends control and security into borderless networks. The products that work together to provide AnyConnect Secure Mobility are the Web Security appliance, adaptive security appliance, and Cisco AnyConnect client.

This blog will help you to setup Cisco AnyConnect Secure Mobility Client and you can connect any VPN from your Linux system.

Here we go:

> Find Anyconnect for Linux. http://ttcit.net/download/linux/
> Go to "Terminal".
> tar -zxvf anyconnect-linux64-4.6.03049-predeploy-k9.tar.gz
> cd anyconnect-linux64-4.6.03049/
> cd vpn/
> sudo ./vpn_install.sh

And you are done.

Now search for "anyconnect" and you will find following:

vpn_anyconnect_cisco_symbol

Open it, enter URL and connect it.

vpn_anyconnect_cisco_connection

Provide username and password. Connect it.

vpn_anyconnect_cisco_username_password

If credentials are valid, you will get connected notification.

vpn_anyconnect_cisco_notification

You can find statistics details for VPN connection.

vpn_anyconnect_cisco_statistics_details

Once you complete your job, disconnect it.

vpn_anyconnect_cisco_statistics_disconnect


If you are window users, here https://www.itechtics.com/cisco-anyconnect-download/ you can find more details.

Reference https://www.cisco.com/c/dam/en/us/td/docs/security/wsa/wsa7-0/user_guide/AnyConnect_Secure_Mobility_SolutionGuide.pdf

I hope you like this article. Share your views. Happy Learning !!!

Sunday, 30 July 2017

Error: Hash Sum mismatch in GitLab

Recently, I have faced following error during instillation of Gitlab in Ubuntu.

odedra@odedra-Lenovo-Z50-70:~$ sudo apt-get install gitlab-ce
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  gitlab-ce
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 356 MB of archives.
After this operation, 1,102 MB of additional disk space will be used.
Fetched 356 MB in 15s (22.5 MB/s)
E: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/pool/trusty/main/g/gitlab-ce/gitlab-ce_9.4.1-ce.0_amd64.deb  Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Solution:

wget -c https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/pool/trusty/main/g/gitlab-ce/gitlab-ce_9.4.1-ce.0_amd64.deb

dpkg -i gitlab-ce_9.4.1-ce.0_amd64.deb

Above commands will download package manually and install in system. For more manual package list as per your System requirements.

Few screen shots represent successful implementation of Community Edition.






Common Installation problems list and it's solution

How to install GitLab in Ubuntu ?

GitLab is a web-based Git repository manager with wiki and issue tracking features, using an open source license, developed by GitLab Inc.

It has three products.

    1. Community Edition,
    2. Enterprise Edition Starter and
    3. Enterprise Edition Premium.
  
*Community Edition*

1. Install and configure the necessary dependencies

    sudo apt-get install curl openssh-server ca-certificates postfix -y

2. Add the GitLab package server and install the package

    curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
    sudo apt-get install gitlab-ce

3. Configure and start GitLab

    sudo gitlab-ctl reconfigure

4. Browse to the hostname and login

    On your first visit, you'll be redirected to a password reset screen to provide the password for the initial administrator account. Enter your desired password and you'll be redirected back to the login screen.

    The default account's username is root. Provide the password you created earlier and login. After login you can change the username if you wish.


*Enterprise Edition*

1. Install and configure the necessary dependencies

    sudo apt-get install curl openssh-server ca-certificates postfix -y

2. Add the GitLab package server and install the package

    curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
    sudo apt-get install gitlab-ee

3. Configure and start GitLab

    sudo gitlab-ctl reconfigure

4. Browse to the hostname and login

    On your first visit, you'll be redirected to a password reset screen to provide the password for the initial administrator account. Enter your desired password and you'll be redirected back to the login screen.

    The default account's username is root. Provide the password you created earlier and login. After login you can change the username if you wish.
  
Few screen shots represent successful implementation of Community Edition.








Source reference 

Monday, 20 April 2015

How to start Libreoffice Server and Telnet Server in Ubuntu?

In Odoo/OpenERP, when we are generating a Aeroo report, we must start these below two server.
  1. Libreoffice Server and
  2. Telnet Server
If Libreoffice is not install in Ubuntu than first install with these command.

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install libreoffice

Start Libreoffice with these command.

cd /usr/lib/libreoffice/program/ #to move to the libreoffice:

./soffice -nologo -nofirststartwizard -headless -norestore -invisible "-accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;" #Open Libreoffice server

If Telnet Server is not install in Ubuntu than visit Telnet installation guidance

Don't stop Libreoffice server and open another terminal for test localhost with Telnet Server
 
    telnet localhost 8100

And than Go to Settings/ Modules / Update module list : Search for 'ooo' , you will find 'report_aeroo_ooo'. Install that module.

And Finally, Configure OpenOffice.org connection from Setting/Technical/Configure OpenOffice.org co. and press connect.


I hope you like this article. Share your views to improve content. Happy Learning !!!

Install and Enable Telnet server in Ubuntu Linux

1.Install telnet use this command in terminal(Applications/Accessories/Terminal):

sudo apt-get install xinetd telnetd

2.Edit /etc/inetd.conf using your favorite file editor with root permission,add this line:

telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd

3.Edit /etc/xinetd.conf, make its content look like following:

# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
# Please note that you need a log_type line to be able to use log_on_success
# and log_on_failure. The default is the following :
# log_type = SYSLOG daemon info
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

4.You can change telnet port number by edit /etc/services with this line:

telnet        8100/tcp

5.If you’re not satisfied with default configuration.Edit etc/xinetd.d/telnet, add following:

# default: on
# description: The telnet server serves telnet sessions; it uses
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

add these lines as you like:

only_from = 192.168.120.0/24 #Only users in 192.168.120.0 can access to
only_from = .bob.com #allow access from bob.com
no_access = 192.168.120.{101,105} #not allow access from the two IP.
access_times = 8:00-9:00 20:00-21:00 #allow access in the two times
......

6.Use this command to start telnet server:

sudo /etc/init.d/xinetd start
sudo /etc/init.d/xinetd stop
sudo /etc/init.d/xinetd restart

Reference Link

Monday, 8 December 2014

How to install OpenERP/Odoo from Github?


I would like to share with you, how to Install Odoo(formerly OpenERP) from github on Ubuntu system.

Odoo Github

1. First we need to install git in our Ubuntu system, for that open our terminal or or hit Ctrl+Alt+t

 a) First we need to update apt source list
  
     sudo apt-get update

 b) Upgrade apt source package

     sudo apt-get upgrade

c) Now install git

    sudo apt-get install git

2. Install Python packages  which required for Odoo installation

sudo apt-get install graphviz ghostscript postgresql-client \
python-dateutil python-feedparser python-matplotlib \
python-ldap python-libxslt1 python-lxml python-mako \
python-openid python-psycopg2 python-pybabel python-pychart \
python-pydot python-pyparsing python-reportlab python-simplejson \
python-tz python-vatnumber python-vobject python-webdav \
python-werkzeug python-xlwt python-yaml python-imaging


sudo apt-get install gcc python-dev mc bzr python-setuptools python-babel \
python-feedparser python-reportlab-accel python-zsi python-openssl \
python-egenix-mxdatetime python-jinja2 python-unittest2 python-mock \
python-docutils lptools make python-psutil python-paramiko poppler-utils \
python-pdftools antiword postgresql


3. Install PostgreSQL database

    sudo apt-get install postgresql

4. Install Pgadmin

    sudo apt-get install pgadmin

5. Create User into Postgres Database Odoo

    sudo -u postgres createuser -s odoo

6. Download Odoo from Github to your system

a) make directory in home

    sudo mkdir home/openerp-v8

b) move to  directory

    cd home/openerp-v8

c) Download odoo from Github

    sudo git clone https://github.com/odoo/odoo.git

7. Once finish a download need to run odoo server 

a) Go to oddo path

   cd home/openerp-v8/odoo

b) Run a odoo server

./openerp-server


8. To check Odoo installation is perfectly work  on your system so for that  just open browser type http://localhost:8069

9. Odoo login screen. Currently it will show below screen because first time we don't have database. 

Odoo Database Manager

I hope you like this article. Share your views to improve content. Happy Learning !!!

ModuleNotFoundError: No module named 'psycopg2'

  Odoo 18:  Traceback (most recent call last): File "/home/bodedra/odoo18/demo/src/odoo/./odoo-bin", line 5, in ...