Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 00:49
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Senayan LIBRARY MANAGEMENT SYSTEM pet packages and iso
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
mhanifpriatama

Joined: 22 Jan 2011
Posts: 60

PostPosted: Fri 15 Apr 2011, 06:12    Post subject:  Senayan LIBRARY MANAGEMENT SYSTEM pet packages and iso
Subject description: Senayan Library automation
 

My first pet.
I make a pet packages for senayan3-stable14 LMS.
I Use lucid puppy 520.
The original source :
http://senayan.diknas.go.id/

make it yourselves :

1. make a folder at /root : senayanfolder

2. Download senayan3-stable14.tar.gz, place it at senayanfolder

3. Extract sysconfig.inc.php file from senayan3-stable14.tar.gz to root (just click senayan3-stable14.tar.gz, and you can look at Xarchive : senayan3-stable14/sysconfig.inc.php). Just sysconfig.inc.php.
After that, you can find it at /root/senayan3-stable14.

4. Edit this sysconfig.inc.php at line 143-145 :
Code:

define('DB_NAME', 'senayandb');
define('DB_USERNAME', 'senayanuser');
define('DB_PASSWORD', 'senayanpassword');

change it content to :
Code:

define('DB_NAME', 'senayan');
define('DB_USERNAME', 'admin');
define('DB_PASSWORD', 'asdfg');


and at line 202 :
Code:
$sysconf['mysqldump'] = '/usr/bin/mysqldump';

with this :
Code:
$sysconf['mysqldump'] = '/usr/local/bin/mysqldump';


Don't forget, save it.

5. copy sysconfig.inc.php to senayanfolder

6. create admin.sql at senayanfolder, and its content :
Code:

USE mysql;
INSERT INTO user (Host, User, Password, Select_priv) VALUES ('localhost', 'admin', password('asdfg'), 'Y');
FLUSH PRIVILEGES;   
GRANT ALL PRIVILEGES ON senayan.* TO admin;
FLUSH PRIVILEGES;   


7. create script pinstall.sh at senayanfolder, and the content :
Code:

#!/bin/sh
cp /senayan3-stable14.tar.gz /root/Web-Server
rm /senayan3-stable14.tar.gz
cd /root/Web-Server
tar -xvf /root/Web-Server/senayan3-stable14.tar.gz
rm -f /root/Web-Server/senayan3-stable14.tar.gz
cp -f /sysconfig.inc.php /root/Web-Server/senayan3-stable14
rm -f /sysconfig.inc.php
/usr/local/bin/mysqladmin -h localhost -u root -pwoofwoof create senayan
/usr/local/bin/mysql senayan -h localhost -u root -pwoofwoof < /root/Web-Server/senayan3-stable14/install/senayan.sql
/usr/local/bin/mysql senayan -h localhost -u root -pwoofwoof < /admin.sql
rm /admin.sql



8. run the consol (urxvt), and type :
Code:
 #dir2tgz senayanfolder

then
Code:
 #tgz2pet ./senayanfolder.tar.gz


9. Rename senayanfolder.pet to senayan3-stable14.pet

How to run it ?
First, install http://www.logicworks.co.nz/puppy/LHMP-7.3-5.1.47-5.3.3.pet. Look at : http://www.murga-linux.com/puppy/viewtopic.php?t=58982

Second, install senayan3-stable14.pet.

Third, launch your browser. Type to address bar : localhost/senayan3-stable14. Done.
Login for admin : user = admin, password = admin.

I can't upload the pet. Its 8Mb.

Last edited by mhanifpriatama on Tue 12 Jul 2011, 09:15; edited 4 times in total
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4798
Location: Manila

PostPosted: Sun 01 May 2011, 18:50    Post subject: puppylib  

Just for info, senayan is also in puppylib (ISO based on Puppy Linux 4.2):
http://puppylib.open-lib.net/

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
mhanifpriatama

Joined: 22 Jan 2011
Posts: 60

PostPosted: Thu 05 May 2011, 09:52    Post subject:  

Quote:

Just for info, senayan is also in puppylib (ISO based on Puppy Linux 4.2):

Yes, Mr. Raffy. I have seen that. But a big stuff for me to download it.

I has built senayan_live_cd, too. Just remaster from lupu_520.

It is very fun if another stuff like wordpress can be pet packages. So, just click, and run..... simple.
Back to top
View user's profile Send private message 
mhanifpriatama

Joined: 22 Jan 2011
Posts: 60

PostPosted: Tue 12 Jul 2011, 09:10    Post subject:  

Hai All.


I was combined LHMP below and Senayan Library Management Systems (SLiMS) to a pet at :

http://upload.ugm.ac.id/509psenayan-lhmp-puppy.pet

I was remastered (just little) lupu 520 with pet above become SLiMS LiveCD at :

http://upload.ugm.ac.id/778slim_liveCD-LHPM.iso

And ScreenShot at :

http://1.bp.blogspot.com/-dn9jAcD8p-A/Tg7FllM11TI/AAAAAAAAAA8/Dd2HqM8jSts/s1600/aa.png
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0723s ][ Queries: 11 (0.0208s) ][ GZIP on ]