¤ The Complete PW Package ¤

  1. #3706
    Apprentice sCeege is offline
    MemberRank
    Sep 2013 Join Date
    15Posts

    Re: ¤ The Complete PW Package ¤

    Quote Originally Posted by nationss View Post
    Why do i get "mount /dev/sr0 unkown device" when i enter mount /dev/cdrom /cdrom ? o.o
    You can troubleshoot basic errors like that by reading the Man pages, it'll tell you the basic syntax in any command and you can see if you did something wrong.

    You can read what the mount command does in *Nix:

    # man mount


    But if that's the whole command you've typed in, you just tried to mount /dev/cdrom to /cdrom. If you're using the ISO images provided here, you'll need something like:

    # mkdir /mnt/iso
    # mount -o loop disk1.iso /mnt/iso

    In the first line we made a made up folder called /mnt/iso. You can name that to anything you like. I named mine /sceege/iso so I can distinguish it by itself.
    In the second line you mounted the ISO that you've chosen to that folder. After that, you can just navigate to the folder that you chose, i.e. cd /sceege/iso, and do w/e you need to do in that directory.
    Last edited by sCeege; 22-08-14 at 10:06 AM.

  2. #3707
    Enthusiast AngryVix is offline
    MemberRank
    Aug 2014 Join Date
    44Posts

    Re: ¤ The Complete PW Package ¤

    Hey, i have a small request if anyone with the fully installed server could help.
    I have everything working, but today i was editing some files (enabling ips in .htaccess) on the server, and as i was using WinSCP because its more comfortable for me than CLI, i accidentaly moved a folder inside another folder in the lamp/htdocs directory. I was tryng to double clic something and i misclicked so i only saw a glimpse of a folder disappearing but couldn't see what folder was put into what other folder.
    So (tl;dr): If anyone could give me a screenshot of their "lamp/htdocs" directory of this server so i can compare it to mine and figure out what is missing, that would be great!

  3. #3708
    Apprentice nationss is offline
    MemberRank
    Oct 2013 Join Date
    Vineland, New JLocation
    20Posts

    Re: ¤ The Complete PW Package ¤

    Is there a way to do everything without burning the iso's onto a cd/dvd ? If so what command can i replace "mount /dev/cdrom /cdrom" with ? & others if they have to be changed aswell ,
    Last edited by nationss; 23-08-14 at 02:33 AM.

  4. #3709
    SentinelOriginal Fluzzy is offline
    MemberRank
    Nov 2013 Join Date
    Wisconsin, USLocation
    323Posts

    Re: ¤ The Complete PW Package ¤

    Quote Originally Posted by nationss View Post
    Is there a way to do everything without burning the iso's onto a cd/dvd ? If so what command can i replace "mount /dev/cdrom /cdrom" with ? & others if they have to be changed aswell ,
    Well if you are using a program like VMware to host the server then no you don't need to burn the ISO files to a cd/dvd.
    If you are using an external computer that is at your access then i would burn the ISO files just to have a back up.
    As for the command related question. i don't think there is a "replacement command" you shouldn't need to use a "replacement" providing you use the commands properly...
    mkdir /cdrom
    *put iso/cd/dvd in drive*
    mount /dev/cdrom /cdrom
    ./install-*whatever here*

    That help alittle?

  5. #3710
    Apprentice nationss is offline
    MemberRank
    Oct 2013 Join Date
    Vineland, New JLocation
    20Posts

    Re: ¤ The Complete PW Package ¤

    As i enter " mkdir /cdrom " it says file exists , i re-enter mount /dev/cdrom /cdrom but get the same resullt as before . : "mount /dev/sr0 unknown device" . Ive entered the command "man mount" to see if there is a command to mount iso's from a program called MagicDisc but havent found anything , & if i dont have to burn the iso's (Im using vmware) then what command should i type in to get them from a folder * such as Documents , downloads , library , etc *



    * Not related *
    How do i unpack zip files / rar.exe files ?
    Last edited by nationss; 23-08-14 at 03:29 PM.

  6. #3711
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: ¤ The Complete PW Package ¤

    Mounting...
    You can get the virtual software to mount the cdrom at boot but if you need here's how to do it manually ...

    Find the device name 1st


    Code:
    lsblk
    Then make the folder and mount
    change XXX below to match the cdrom drive as above
    Code:
    mkdir -p /mnt/whatever
    mount /dev/XXX /mnt/whatever
    Verify contents
    Code:
    ls /mnt/whatever
    Archives...
    Install unzip
    Code:
    apt-get install unzip


    Unzipping
    Code:
    unzip /path/to/file.zip
    or if you want to specify a different location to unzip the files
    Code:
    unzip /path/to/file.zip -d /destination/folder
    You can also use 7z and unrar

    If you are going to be using these server files then read up on basic linux knowledge
    most things are very simple...
    Last edited by sora1984; 24-08-14 at 01:08 AM.

  7. #3712
    Apprentice nationss is offline
    MemberRank
    Oct 2013 Join Date
    Vineland, New JLocation
    20Posts

    Re: ¤ The Complete PW Package ¤

    - - - Updated - - -

    Quote Originally Posted by sora1984 View Post
    Mounting...
    You can get the virtual software to mount the cdrom at boot but if you need here's how to do it manually ...

    Find the device name 1st
    Code:
    mount|grep ^'/dev'
    ** I didnt find this command , thnxs allot man (:

    *** How do i insert the "I" in the command line o.o i dont have a key that does that lol btw that was a capital "i" not the actual one you put .


    Then make the folder and mount
    change XXX below to match the cdrom drive as above
    Code:
    mkdir -p /mnt/whatever
    Mount /dev/XXX /mnt/whatever
    I did however find this command in ubuntu forums/website lol
    Verify contents
    Code:
    ls /mnt/whatever
    Found this one aswell :b
    *******************************************************
    - Not related -
    Archives...
    Install unzip
    Code:
    apt-get install unzip
    Already had it installed : Found on ubuntu website aswell


    Unzipping
    Code:
    unzip /path/to/file.zip
    This command was also on ubuntu site BUT i type in "unzip /Cruz Azul xD/Downloads/mappack.zip"
    I dont get any results only something saying there was nothing found.


    or if you want to specify a different location to unzip the files
    Code:
    unzip /path/to/file.zip -d /destination/folder
    Tried this one aswell bro , no luck .
    You can also use 7z and unrar

    If you are going to be using these server files then read up on basic linux knowledge
    most things are very simple...
    Ive been learning , trying my hardest not to post questions lol
    Last edited by nationss; 23-08-14 at 10:10 PM.

  8. #3713
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: ¤ The Complete PW Package ¤

    download and use putty or its "shift" + "\" should be next to Z on a qwerty layout!?

    unzip /Cruz Azul xD/Downloads/mappack.zip
    doesnt make sense is that file on the ubuntu machine?

    - - - Updated - - -

    right ok why not just simplify things a bit now because what you are trying is to unzip it in /Cruz Azul xD/Downloads/ anyway which you would then have to move to the correct location...

    do
    cd "/Cruz Azul xD/Downloads/" has to be inside "" because the folder name has spaces!
    unzip mappack.zip -d /XX/gamed/config/

    XX = base location of server eg. /pwserver/gamed/config/

  9. #3714
    Apprentice sCeege is offline
    MemberRank
    Sep 2013 Join Date
    15Posts

    Re: ¤ The Complete PW Package ¤

    Quote Originally Posted by nationss View Post
    Is there a way to do everything without burning the iso's onto a cd/dvd ? If so what command can i replace "mount /dev/cdrom /cdrom" with ? & others if they have to be changed aswell ,
    I've literally just answered this question 2 posts before it. Has someone actually burned DVDs to install this stuff? o.o

    The "|" is called a pipe symbol. On a generic US 104 keys Keyboard its above the enter button.

    As for unzipping, do you have spaces within your full path to your file? You have to put that in quotes, so if you were unzipping a folder called "This has spaces.zip", you can't use
    Code:
    unzip this has spaces.zip
    .

    You ahve to use
    Code:
    unzip "this has spaces.zip"
    The 343 release is by far one of the easiest packs to setup, I'm really surprised at the amount of trouble you're having.

    - - - Updated - - -

    Quote Originally Posted by AngryVix View Post
    Hey, i have a small request if anyone with the fully installed server could help.
    I have everything working, but today i was editing some files (enabling ips in .htaccess) on the server, and as i was using WinSCP because its more comfortable for me than CLI, i accidentaly moved a folder inside another folder in the lamp/htdocs directory. I was tryng to double clic something and i misclicked so i only saw a glimpse of a folder disappearing but couldn't see what folder was put into what other folder.
    So (tl;dr): If anyone could give me a screenshot of their "lamp/htdocs" directory of this server so i can compare it to mine and figure out what is missing, that would be great!
    Is this what you're looking for?

    Code:
    root@ubuntu:~# ls /opt/lampp/htdocs/ -l
    total 96
    dr-xr-xr-x 8 root   root  4096 Dec 12  2013 admin
    dr-xr-xr-x 2 root   root  4096 Jan  3  2014 changepw
    -r-xr-xr-x 1 root   root  1038 Jul 11 03:08 config.php
    lrwxrwxrwx 1 root   root    18 Jul 10 23:19 cpw -> /opt/cpw/files/CPW
    -rw-r--r-- 1 root   root 30894 May 11  2007 favicon.ico
    dr-xr-xr-x 2 root   root  4096 Jan  3  2014 getgold
    dr-xr-xr-x 2 root   root  4096 Jan  3  2014 getitem
    dr-xr-xr-x 2 root   root  4096 Jan  3  2014 guildicon
    -r-xr-xr-x 1 root   root   134 Jan  3  2014 index.html
    -rw-r--r-- 1 root   root   256 Feb  5  2009 index.php
    dr-xr-xr-x 2 root   root  4096 Jan  3  2014 patch
    dr-xr-xr-x 3 root   root  4096 Jan  3  2014 rank
    dr-xr-xr-x 2 root   root  4096 Jan  3  2014 rank-old
    dr-xr-xr-x 2 root   root  4096 Jan  3  2014 register
    -r-xr-xr-x 1 root   root  2232 Jan  3  2014 status.php
    dr-xr-xr-x 8 root   root  4096 Jan  3  2014 support
    drwxr-xr-x 2 nobody root  4096 Jul 15  2009 webalizer
    drwxr-xr-x 7 root   root  4096 Mar  1  2011 xampp
    Last edited by sCeege; 24-08-14 at 04:03 PM.

  10. #3715
    Enthusiast AngryVix is offline
    MemberRank
    Aug 2014 Join Date
    44Posts

    Re: ¤ The Complete PW Package ¤

    Yeah, that was exactly what i was looking for.
    Thanks a lot sCeege!

  11. #3716
    Apprentice nationss is offline
    MemberRank
    Oct 2013 Join Date
    Vineland, New JLocation
    20Posts

    Re: ¤ The Complete PW Package ¤

    I dont think i can ever get past this step *-* , " mount /dev/cdrom /cdrom " my dev is called sr0 . so i tried "mount /sr0/cdrom /cdrom" & still nothing . I tried what guys told me to do i even searched on man mount for more info but nothing ... I just wanna mount my iso server ( no its not on a cd/dvd ) mount|grep ^'/dev' on 'dev' i put in sr0 for example ---- mount|grep ^/sr0 but nothings come up , doesnt even search it shows up another one of these root@perfectworl:~# . Im not sure im the only one with this problem but if i can get help that'd be great !
    Last edited by nationss; 25-08-14 at 07:12 PM.

  12. #3717
    Developer - JS Ben is offline
    MemberRank
    Jul 2013 Join Date
    BelguimLocation
    1,244Posts

    Re: ¤ The Complete PW Package ¤

    No offense guys but ik that ''complete packages'' are great to work with because they contain everything you need handed by a golden spoon BUT If you can't get the mount to work, why not start searching how to apply the files manually to the server you wnna run it on?

    No offense to 343 as everyone can be glad that he actually made a package like this but instead of trying to figure out how to get the mount to work, work with the files itself.

    The way how I learned this was with a premade Virtual machine and after then the great guides from Bola on the release of 1.4+ server files.

    Setting it up on localhost is really not hard...
    .

  13. #3718
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: ¤ The Complete PW Package ¤

    Quote Originally Posted by nationss View Post
    I dont think i can ever get past this step *-* , " mount /dev/cdrom /cdrom " my dev is called sr0 . so i tried "mount /sr0/cdrom /cdrom" & still nothing . I tried what guys told me to do i even searched on man mount for more info but nothing ... I just wanna mount my iso server ( no its not on a cd/dvd ) mount|grep ^'/dev' on 'dev' i put in sr0 for example ---- mount|grep ^/sr0 but nothings come up , doesnt even search it shows up another one of these root@perfectworl:~# . Im not sure im the only one with this problem but if i can get help that'd be great !
    mkdir /cdrom
    mount /dev/sr0 /cdrom

    simple..........

  14. #3719
    In the Emperor name Caosfox is offline
    MemberRank
    Jun 2011 Join Date
    Balcora GateLocation
    1,608Posts

    Re: ¤ The Complete PW Package ¤

    ok, if you have so many problems with mount, simply copy all the data of the iso to the server root using winscp

  15. #3720
    Apprentice sCeege is offline
    MemberRank
    Sep 2013 Join Date
    15Posts

    Re: ¤ The Complete PW Package ¤

    ^^^ got to it before I did haha

    Quote Originally Posted by nationss View Post
    I dont think i can ever get past this step *-* , " mount /dev/cdrom /cdrom " my dev is called sr0 . so i tried "mount /sr0/cdrom /cdrom" & still nothing . I tried what guys told me to do i even searched on man mount for more info but nothing ... I just wanna mount my iso server ( no its not on a cd/dvd ) mount|grep ^'/dev' on 'dev' i put in sr0 for example ---- mount|grep ^/sr0 but nothings come up , doesnt even search it shows up another one of these root@perfectworl:~# . Im not sure im the only one with this problem but if i can get help that'd be great !
    Why dont you just open the ISO file with WINRAR or something on your host machine, and then move the contents manually to the server? Say... make a folder:

    mkdir /iso136

    and put all the contents of the 136 image in it.and then make another one

    mkdir /iso146, and move the 146 image in there. Now you have two folders you can navigate to, instead of trying to mount the ISO.

    Quote Originally Posted by whoami1995 View Post
    No offense guys but ik that ''complete packages'' are great to work with because they contain everything you need handed by a golden spoon BUT If you can't get the mount to work, why not start searching how to apply the files manually to the server you wnna run it on?

    No offense to 343 as everyone can be glad that he actually made a package like this but instead of trying to figure out how to get the mount to work, work with the files itself.

    The way how I learned this was with a premade Virtual machine and after then the great guides from Bola on the release of 1.4+ server files.

    Setting it up on localhost is really not hard...
    .
    I don't understand what you're saying. Why would anyone be offended? Also are you typing on a phone? I think you're missing a few commas here and there.



Advertisement