Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 35479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:14:32+00:00 2026-05-10T14:14:32+00:00

I am using xampp on Windows, but I would like to use something closer

  • 0

I am using xampp on Windows, but I would like to use something closer to my server setup.

Federico Cargnelutti tutorial explains how to setup LAMP VMWARE appliance; it is a great introduction to VMware appliances, but one of the commands was not working and it doesn’t describe how to change the keyboard layout and the timezone.

ps: the commands are easy to find but I don’t want to look for them each time I reinstall the server. I am using this question as a reminder.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:14:33+00:00Added an answer on May 10, 2026 at 2:14 pm

    This is my install scrpt, I use it on debian servers, but it will work in Ubuntu (Ubuntu is built on Debian)

    apt-get -yq update apt-get -yq upgrade apt-get -yq install sudo apt-get -yq install gcc apt-get -yq install g++ apt-get -yq install make apt-get -yq install apache2 apt-get -yq install php5 apt-get -yq install php5-curl apt-get -yq install php5-mysql apt-get -yq install php5-gd apt-get -yq install mysql-common apt-get -yq install mysql-client apt-get -yq install mysql-server apt-get -yq install phpmyadmin apt-get -yq install samba echo '[global]    workgroup = workgroup    server string = %h server    dns proxy = no    log file = /var/log/samba/log.%m    max log size = 1000    syslog = 0    panic action = /usr/share/samba/panic-action %d    encrypt passwords = true    passdb backend = tdbsam    obey pam restrictions = yes    ;invalid users = root    unix password sync = no    passwd program = /usr/bin/passwd %u    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .    socket options = TCP_NODELAY [homes]    comment = Home Directories    browseable = no    writable = no    create mask = 0700    directory mask = 0700    valid users = %S [www]    comment = WWW    writable = yes    locking = no    path = /var/www    public = yes' > /etc/samba/smb.conf (echo SAMBAPASSWORD; echo SAMBAPASSWORD) | smbpasswd -sa root echo 'NameVirtualHost * <VirtualHost *>         ServerAdmin webmaster@localhost         DocumentRoot /var/www/         <Directory />                 Options FollowSymLinks                 AllowOverride None         </Directory>         <Directory /var/www/>                 Options Indexes FollowSymLinks MultiViews                 AllowOverride None                 Order allow,deny                 allow from all         </Directory>         ErrorLog /var/log/apache2/error.log         LogLevel warn         CustomLog /var/log/apache2/access.log combined         ServerSignature On </VirtualHost>' > /etc/apache2/sites-enabled/000-default /etc/init.d/apache2 stop /etc/init.d/samba stop /etc/init.d/apache2 start /etc/init.d/samba start 

    edit: add this to set your MySQL password

    /etc/init.d/mysql stop echo 'UPDATE mysql.user SET Password=PASSWORD('MySQLPasswrod') WHERE User='root'; FLUSH PRIVILEGES;' > /root/MySQLPassword mysqld_safe --init-file=/root/MySQLPassword & sleep 1 /etc/init.d/mysql stop sleep 1 /etc/init.d/mysql start 

    end edit

    This is a bit specailised but you get the idea, if you save this to a file (‘install’ for example) all you have to do is:

    chmod +x install ./install 

    Some of my apt-get commands are not necessary, because apt will automatically get the dependencies but I prefer to be specific, for my installs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 75k
  • Answers 75k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer SELECT * FROM ( SELECT * FROM ( SELECT *… May 11, 2026 at 2:51 pm
  • added an answer Win32 functions almost never return a HRESULT. Instead they return… May 11, 2026 at 2:51 pm
  • added an answer Well, if you're new to flash (as the edit says;)… May 11, 2026 at 2:51 pm

Related Questions

I have an Ubuntu Server (with all of LAMP and Subversion installed). I use
I can't seem to connect to mysql with a php script, even though I
I am using the gethostbyname() function in the usual manner... iaHost.s_addr = inet_addr(lpServerName); if
I'm trying to install Laconica , an open-source Microblogging application on my Windows development

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.