Apache, Samba and mysql

From ComputingPlugs

Jump to: navigation, search

Installing Apache, Samba and mysql is very easy, they are all in the repository. So just type:

apt-get install apache2 samba mysql-server mysql-client

The packages will be installed and there are already way too much documentations about setting up these servers so I will not go into them. They are standard Ubuntu packages in case you need to locate their config files.



Comments:
  • Kenny Says:

    Please keep comments clean and constructive. Inappropriate comments will be removed. Thank you.

  • Eric Jarvies Says:

    After following your instructions, I get the following error:

    Could not open lock file /var/cache/apt/archives/lock - open (2 No such file or directory)

    Any idea why?

    thanks,

    Eric

  • Kenny Says:

    sounds similar to the apt-get problem listed here: http://computingplugs.com/index.php/Fixing_apt-get. Try that and see if it works.

  • hr.punio Says:

    Trying to setup samba got the following error

    smbpasswd -a smbuser

    New SMB password:

    Retype new SMB password:

    ltdb: tdb(/var/lib/samba/group_mapping.ldb): tdb_mmap failed for size 77824 (Invalid argument)

    and the password is not appended to passwd file, any suggestion

    how to proceed?

  • MM Says:

    Have you done any optimization of mysql or php caching to speed up your hosting? I recently installed apache/mysql/php on my tonido plug and page loads using wordpress are horribly slow. I'm wondering if I need to kill the tonido software, or if you've done something else to get mediawiki running rather well.

  • Kenny Says:

    no, I have not done any optimization on system. It is pretty much a stock setup from apt-get.

    I have a blog that is hosted on the same sheevaplug as computingplugs which runs wordpress. You can take a look at it and see if it is faster than your setup. The address is http://frustratedastronomer.com/

  • MM Says:

    Interesting. Seems marginally faster. I'm planning on trying the myriad of wordpress caching options to see if I get better performance out of my sites, thanks for the info!

  • Chris Says:

    Looks good so far - only bought/got this delivered today - updated linux and got apache/mysql with apt-get. I want to make a LAMP server out of this. Can I get Webmin running on it - I'm not fantastic on the command line, and I have kinda got used to using Webmin to do a lot of the admin work on our server at work.. was hoping I could use it on this Sheeva plug as well!

  • Kenny Says:

    Sorry Chris, I have no experience with webmin. But it sounds like a php type setup tools so it *should* work. Unfortunately webmin is not in the sheevaplug repository.

  • JGM Says:

    Hi I have just installed xcache

    apt-get install php5-xcache service apache2 restart

    and well the sheevaplug is flying what I can tell 100% recommended applications that took 0.7 to 1.2 milli seconds to render now in about 0.1 to 0.2 are rendered.

  • Kenny Says:

    Thanks for the tip JGM

  • JGM Says:

    Thanks to you for all the great articles you have wrote and this cool website running on a sheevaplug :D.

Click here to leave a comment




... ...

Did you find this page useful?
Help others find this site
by linking here.

... ...
Personal tools