Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Showing posts with label XAMPP. Show all posts
Showing posts with label XAMPP. Show all posts

Sunday, April 17, 2022

How To: Fix Xampp Launcher In Ubuntu/Xubuntu Start Menu

 .

0) You may need to install nano text file editor first.

sudo apt-get install nano

1) Create and edit config files.

sudo touch /usr/share/applications/xampp-control-panel.desktop

sudo vim /usr/share/applications/xampp-control-panel.desktop


2) Type the config texts.

Save ([CTRL]+x)


[Desktop Entry]

Encoding=UTF-8

Type=Application

Name=XAMPP Control Panel

Comment=Start and Stop XAMPP

Exec=sudo /opt/lampp/manager-linux-x64.run

Icon=/opt/lampp/htdocs/favicon.ico

Categories=Application

Type=Application

Terminal=false


3) Update

sudo apt-get update



How To: Fix Xampp Installation Error in Ubuntu / Xubuntu

 



Xampp installation process may get killed half way through, try the following terminal command to solve the problem: 

sudo dd if=/dev/zero of=swapfile bs=1024 count=2000000

sudo mkswap -f swapfile

sudo swapon swapfile


 REFERENCE:

https://stackoverflow.com/questions/28268267/xampp-auto-killed-on-installation

How To: Install Xampp In Ubuntu / Xubuntu

 

1) Download Xampp from the website.

Once download process completed, in Chrome window, click download option at the bottom bar and select Show in folder.


2) Go to download path.

In the Download tab of File Manager Application, right-click and select Open Terminal Here.


3) Type Terminal commands.

chmod 755 xampp-linux-*-installer.run

sudo ./xampp-linux-*-installer.run


4) Follow Xampp Installer Wizard.











CRITICAL: Xampp installation process may get killed half way through, read the following to solve the problem: https://setup-steps.blogspot.com/2022/04/how-to-fix-xampp-installation-error-in.html


ADDITIONALLY: If you want to check that the services are running, type the following comand:

ps aux | grep ftp

To stop the service, type the command:

sudo kill -9 21882


READ ALSO:

https://www.debianhelp.co.uk/xampp.htm

https://phoenixnap.com/kb/how-to-install-xampp-on-ubuntu

Monday, August 12, 2019

How To: Install PHP Composer on Mac OSX


.
  1. Open a terminal and navigate to your user directory, ie cd /User/<USER_NAME>/
  2. Run this command shown below to download Composer. This will create a Phar (PHP Archive) file called composer.phar:
    curl -sS https://getcomposer.org/installer | php
    
  3. Now we move composer.phar file to a directory
    sudo mv composer.phar /usr/local/bin/
  4. We want to run Composer with having to be root al the time, so we need to change the permissions:
    sudo chmod 755 /usr/local/bin/composer.phar
    

  5. Next, we need to let Bash know where to execute Composer: 
    nano ~/.bash_profile
    
    Add this line below to bash_profile and save
     
    alias composer="php /usr/local/bin/composer.phar"
    
    Note: If you want to save the changes you've made in Nano Text Editor, press Ctrl + O . To exit Nano, type Ctrl + X . If you ask nano to exit from a modified file, it will ask you if you want to save it.

    and then run this command:
     
    source ~/.bash_profile

  6. Finally, run: 
    composer --version
    

.
From: https://duvien.com/blog/installing-composer-mac-osx

Saturday, October 20, 2018

Solution To: Warning ... deactivate UAC with msconfig after this setup



PROBLEM:
During XAMPP Installation, the installer issued a warning message saying that "...an activated User Account Control (UAC) on your system some functions of ... are possibly restricted..."


SOLUTION:
1. Hold the Windows Key down and press “R” to bring up the “Run” dialog.
2. Type “msconfig“. An option for “System Configuration” should appear. Select it.
3. Select the “Tools” tab.
4. Select “Change UAC Settings“, then select the “Launch” button.

You can choose 1 of 4 settings. From top to bottom they are:
[1] Always notify me when – Programs try to install software or make changes to my computer and when I make changes to Windows settings.
[2] Notify me only when programs try to make changes to my computer – Don’t notify me when I make changes to Windows settings.
[3] Notify me only when programs try to make changes to my computer (do not dim my desktop) – Don’t notify me when I make changes to Windows settings.
[4] Never notify me when – Programs try to install software or make changes to my computer and when I make changes to Windows settings.

The bottom option  (no [4]) completely disables UAC. Select this option.

Restart your windows for the changes to take effect.

Thursday, January 24, 2013

XAMPP for Linux On Centos 6.3


Setup steps for XAMPP for Linux On Centos 6.3

Note:
a. This tutorial is based on VirtualBox Image of Centos 6.3 downloadable from http://sourceforge.net/projects/virtualboximage/files/CentOS/6.0/CentOS-6-Gnome-i386.7z/download.
b. This image uses Italian Keyboard Layout. It is recommended that you change the layout to United States. Otherwise, you may have problem such as vi commands not getting through the system.
c. The steps below were adapted from http://www.host1free.com/forum/vps-technical-support/7609-tutorial-how-install-xampp-centos-6-a.html.


1. Run Centos 6.3.
a. Log in as Centos.
b. Run Terminal.
c. Change user to root. Enter password "reverse".

[centos@localhost ~]$ su



2. Update system using yum
[root@localhost centos]# yum update


3. Get the latest version of XAMPP Linux
[root@localhost centos]# wget http://www.apachefriends.org/download.php?xampp-linux-1.8.1.tar.gz



4.  Extract it to /opt/ folder
[root@localhost centos]# tar xvfz xampp-linux-1.8.1.tar.gz -C /opt


5.after you run the xampp be sure you stop the httpd service(in case it is pre-installed)
[root@localhost centos]# service httpd stop


6.add password to the /xampp/,Phpmyadmin,mysql and FTP
[root@localhost centos]# /opt/lampp/lampp security
you will asked to add password. be sure you will remember the password. the password in mysql is not recoverable.

The Virtual Image that we are using is currently using centos/reverse and root/reverse for username/password. To make it easy, set all passwords to 'reverse'. Remember that username for XAMPP is 'lampp'.


7.Edit the httpd-xampp.conf
[root@localhost centos]# vi /opt/lampp/etc/extra/httpd-xampp.conf


8. Remove the following line(end of the file):
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
81.196.40.94/32
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
useful vi commands:
[alt]+i = INSERT mode
[esc] = shift from INSERT mode to COMMAND mode
dd = delete a line
zz = save
:wq = save before quit
:q = quit without save

9. Run XAMPP
[root@localhost centos]# /opt/lampp/lampp start


10. The XAMPP is now working. if you don't know the username this is the default username:
Code:
/xampp/ - lampp
PhpMyAdmin - root
MySql - root
ProFTP - nobody




11. Useful Paths:
/opt/lampp/bin/ - The XAMPP commands home. /opt/lampp/bin/mysql calls for example the MySQL monitor.
/opt/lampp/htdocs/ - The Apache DocumentRoot directory.
/opt/lampp/etc/httpd.conf - The Apache configuration file.
/opt/lampp/etc/my.cnf - The MySQL configuration file.
/opt/lampp/etc/php.ini - The PHP configuration file.
/opt/lampp/etc/proftpd.conf - The ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/config.inc.php - The phpMyAdmin configuration file.