sudo su
superuser do or substitute user doاس کا مطلب ہے کہ سوپر یا نعم البدل کے طور پر
password ***
کپمیوٹر کے لاک ان والا پاس ورڈ یہاں لگے گا۔
sudo apt update
used to DOWNLOAD package information from all configured sources
sudo apt upgrade
INSTALL available upgrades of all packages currently installed on the system from the sources configured via sources. list file
INSTALL MOUSEPAD (text editor)
sudo apt -y install mousepad
یہ سوفٹ ویر کمانڈ وغیرہ لکھنے کے لئے انسٹال کیا جاتا ہے۔ اس کی جگہ gedit یا کوئی اور سوفٹ وئیر بھی استعمال کیا جا سکتا ہے۔ اس کو انسٹال نہ بھی کریں تو gedit پہلے ہی انسٹال ہوا ہوتا ہے۔
ADD KOHA COMMUNITY REPOSITORY
اگر 25.05 والا ورژن انسٹال کرنا ہے تو مندررجہ ذیل کمانڈ۔ اور اگر سٹیبل ورژن کرنا ہے تو 25.05 کی جگہ سٹیبل لکھ دینا ہے۔۔۔ اور اگر پرانا سٹیبل کرنا تو اولڈ سٹیبل لکھ دینا۔
sudo echo 'deb http://debian.koha-community.org/koha 25.05 main' | sudo tee /etc/apt/sources.list.d/koha.list
OR
sudo echo 'deb http://debian.koha-community.org/koha 25.11 main' | sudo tee /etc/apt/sources.list.d/koha.list
اوپر والی کمانڈ میں جو بھی ورژن لکھیں گیں وہی یوبنڈو میں محفوظ ہو جائے گا اور پھر وہی سے کوہا کومن انسٹال ہو گا۔
echo 'deb http://debian.koha-community.org/koha stable main' | sudo tee /etc/apt/sources.list.d/koha.list
echo deb http://debian.koha-community.org/koha oldstable main | sudo tee /etc/apt/sources.list.d/koha.list
sudo wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
UPDATE THE SOFTWARE REPOSITORY
sudo apt update
INSTALL KOHA (its main command to install KOHA)
نیچے والی دونوں کمانڈز
کا ایک ہی مطلب ہے۔ کوئی ایک کمانڈ لگا سکتے ہیں۔
sudo apt install -y koha-common
OR
sudo apt install koha-common -y
INSTALL MariaDB SERVER (OR) MYSQLserver
sudo apt-get install mariadb-server
OR
sudo apt-get install mysql-server
sudo mysqladmin -u root password
New Password: [Replace 'koha123']
(if want to uninstall sql server https://www.youtube.com/watch?v=sYO9MKmI9Nk )
For Server configuration (127.0.0.1:11211)
sudo mousepad /etc/koha/koha-sites.conf
OR
sudo gedit /etc/koha/koha-sites.conf
OR
sudo neno /etc/koha/koha-sites.conf
INTRAPORT="8080"
OPAC PORT=”80”
SAVE & close
KOHA INSTANCE CREATION
sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart
(If want to Install apache2 https://www.geeksforgeeks.org/how-to-install-apache-server-in-ubuntu/)
Create a Koha instance with the name library.
sudo koha-create --create-db library
Add new port (for OPAC 80)
sudo mousepad /etc/apache2/ports.conf
Copy-paste following line below Listen 80 (here 80 mean OPAC Port)
Listen 8080
Restart Apache
sudo service apache2 restart
Enable modules and sites
sudo a2dissite 000-default
sudo a2enmod deflate
sudo a2ensite library
sudo service apache2 restart
Setup the library
sudo service memcached restart
Open the following link (http://127.0.1.1:8080) in the web browser to open the staff client of Koha and set up the library
KOHA WEB INSTALLATION
127.0.1.1:8080/cgi-bin/koha/installer/install.pl
Enter into the Koha staff client using the Database username and password of koha_library. It can find from the file, /etc/koha/sites/library/koha-conf.xml. Apply the following command in terminal.
sudo mousepad /etc/koha/sites/library/koha-conf.xml
Search (Ctrl+F) for the segment MySQL in the text editor. Note down the database username and master password and log into Koha web installer. (username and password can be find below 3306 port)
اگر ڈیٹا بیس انسٹال ہوتے وقت ٹائم آوٹ کا مسلہ کرے تو فائر فوکس کی نئی ونڈو کھول کر اس میں 127.0.1.1:8080
دوبارہ لکھ کر انٹر کر دیں۔
Library
Code: PUL
Name: University Library
Category code: ADMIN
Description : Super Librarian
Administrator identity
surname: librarian
first name: chief
card number : 1
username: admin
password: ****
Item type code: BK
Installation through GEEK (http://kohageek.blogspot.com/2015/05/install-koha-on-ubuntu-1404.html)
https://technicaldigit.com/install-koha-on-ubuntu/
https://wiki.koha-community.org/wiki/Debian
No comments:
Post a Comment