+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
Web Development Thread, PHPMYADMIN - Centos 5 in Coding and Web Development; Thanks so much to everyone who has helped so far. I am all installed and can access PHPMYADMIN but get ...
  1. #16
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    17
    Thanks so much to everyone who has helped so far. I am all installed and can access PHPMYADMIN but get the following message: The configuration file now needs a secret passphrase (blowfish_secret). Could anyone help please?
    Last edited by frosty; 10th November 2010 at 03:13 PM. Reason: Typo

  2. #17


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

  3. #18
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    17
    My /usr/share/phpmyadmin/conf.inc.php file is empty...is that right?

  4. #19


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149
    IMO switch to Debian or Ubuntu now before you learn a whole new OS. By far the easiest linux distro to work with imo. Plus it would seem the debian based ones, particulaly ubuntu, are the most popular with edugeek users so you'll get the most help with those.

    apt-get install package
    If the package relies on other packages (dependancies); apt-get -f install
    search the package repositary; apt-cache search package

    As someone has already posted, to set up a LAMP webserver with phpmyadmin on ubuntu/debian it is littrally "apt-get install aforementioned packages", thats it, all the config is done for you. All that you need to do is put a password on mysql
    Last edited by j17sparky; 10th November 2010 at 03:53 PM.

  5. #20

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by j17sparky View Post
    All that you need to do is put a password on mysql
    Wrong, debconf will prompt you for it.

  6. #21


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149
    Quote Originally Posted by powdarrmonkey View Post
    Wrong, debconf will prompt you for it.
    I didn't say where you put it in, only that you had to put it in

  7. #22
    frosty's Avatar
    Join Date
    May 2007
    Location
    East Sussex
    Posts
    121
    Thank Post
    13
    Thanked 10 Times in 10 Posts
    Rep Power
    17
    Quote Originally Posted by j17sparky View Post
    IMO switch to Debian or Ubuntu now before you learn a whole new OS.l
    Took your advice and all up and running. IMHO it was painless to install and set up so thanks :-). Hopefully just one last question on this!? Is it possible to have the www root as a mapped drive on my PC? It is a bit of a pain using FTP.

  8. #23


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149
    FTP...? Yack! Try this WinSCP :: Free SFTP and FTP client for Windows as your windows client, with "apt-get install openssh-server" on your server.

    But to answer your question, yes and no. Yes it is perfectly possible and relatively easy with samba, but no because you will wreck permissions. If you still really want to do it, its a non-production server which you are just "dicking around" with, you will happily fix permissions after working on it, and you understand the only reason I mention this is it is a learning exercise in working with webmin and samba;

    Code:
    chmod -R 777 /var/www
    cd /tmp
    wget http://downloads.sourceforge.net/project/webadmin/webmin/1.520/webmin_1.520_all.deb?r=http%3A%2F%2Fwww.webmin.com%2Fdownload.html&ts=1289737871&use_mirror=kent
    apt-get install samba
    dpkg -i *.deb
    apt-get -f install
    Then goto https://<your-server-ip>:10000 in a web browser, and goto the server/samba module, convert unix users to samba users, add a folder share for /var/www and add yourself as a read/write user. Also goto file permissions and change both new unix files andf new unix folders to read 777.

    Like i say this is NOT how you would do it, and you really want to get into the habit of using something like winscp and then changing permissions as you go. The reason for this is the files and folders should be owned by user and group; www-data, and set with the appropriate permissions, usually something like 750 but this will varie depending on if its your config.php file etc.
    Oh, and after that, have a look over teh samba config file to see how what you have done relates to it.
    Have a read of this http://www.zzee.com/solutions/unix-permissions.shtml
    Last edited by j17sparky; 14th November 2010 at 01:13 PM.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. WAMP and phpMyAdmin password issues
    By ceebster in forum Windows
    Replies: 5
    Last Post: 4th August 2010, 07:33 PM
  2. please pm me the phpmyadmin url
    By SimpleSi in forum CLEO
    Replies: 4
    Last Post: 28th April 2010, 01:59 PM
  3. phpMyAdmin and MySQL not working on WAMP
    By sasha in forum Windows Vista
    Replies: 5
    Last Post: 18th June 2009, 09:26 AM
  4. [Ubuntu] Trouble logging on to phpmyadmin
    By reggiep in forum *nix
    Replies: 4
    Last Post: 8th June 2009, 07:17 AM
  5. MySQL Backup with phpMyAdmin
    By mark80 in forum How do you do....it?
    Replies: 5
    Last Post: 20th June 2007, 12:15 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •