OXIESEC PANEL
- Current Dir:
/
/
home
/
cubot
/
conf
/
install
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/03/2023 08:07:15 AM
rwxr-xr-x
📄
check_postinstall.sh
908 bytes
02/03/2023 07:34:18 AM
rw-r--r--
📄
dbsetup.sh
1.89 KB
02/03/2023 07:34:18 AM
rwxr-xr-x
📁
dbupgrade_tool
-
02/03/2023 07:34:18 AM
rwxr-xr-x
📄
financial.sh
1.58 KB
02/03/2023 07:34:22 AM
rwxr-xr-x
📁
html2ps-1.0b4
-
02/03/2023 07:34:18 AM
rwxr-xr-x
📁
install_perl
-
02/03/2023 07:34:18 AM
rwxr-xr-x
📁
reference
-
02/03/2023 07:34:18 AM
rwxr-xr-x
📁
upgrade
-
02/03/2023 07:34:18 AM
rwxr-xr-x
Editing: dbsetup.sh
Close
cd /home/cubot/conf #Check for mysql & gzip echo " -- Installing Sample Database" mysql -f -u root << ! drop database if exists sampledb; ! if [ "$?" -eq 0 ]; then mysql -f << ! create database sampledb; grant all on sampledb.* to cubot@localhost; grant FILE on *.* to cubot@localhost; ! else echo "MySQL client may not be in PATH... Please Check" exit fi gzip -cd /home/cubot/conf/install/reference/db/sampledb.mysqldump.gz | mysql sampledb #sh /home/cubot/conf/install/fin.sh #This is fix for JAVA Server ( If installed with DVD )#VK echo " -- Installing Java GraphServer" if [ ! -d /usr/java/default/ ]; then echo "DVD Installation Fix needed. fixing" if [ ! -d /usr/lib64/jvm/jre-1.5.0-sun/ ]; then echo "************************************************************" echo "You have not installed java OR jre, Please install it & make sure /usr/java/default/ exists" echo "************************************************************" mkdir /usr/java mkdir /usr/java/default cd /usr/java/default/ ln -s $JAVA_HOME jre else mkdir /usr/java/ ln -s /usr/lib64/jvm/jre-1.5.0-sun/ /usr/java/default fi else echo "Java Server Init Packages Found" if [ ! -f /usr/java/default/jre ]; then SRCJAVA=`find / -noleaf -name "jre" | grep "java"` ln -s ${SRCJAVA} /usr/java/default/ fi fi echo "***************************************************************************" echo "Please do following steps:-" echo " 1. Modify /etc/my.cnf add following line under [client] and [mysqld]" echo " default-character-set=latin1" echo " 2. restart mysql" echo " 3. cd /home/cubot/bin/" echo " 4. sh jgraphserver.sh" echo "***************************************************************************" sleep 2 echo "**************** Remember to Set Password for user CUBOT *********************" rm -rf /home/cubot/bin/html2ps ln -s /home/cubot/conf/install/html2ps-1.0b4/y/bin/html2ps /home/cubot/bin/html2ps