Skip to main content

Featured

Difference between Fedora Workstation and Fedora Server

Fedora is a popular Linux distribution that is available in two primary editions: Fedora Workstation and Fedora Server. While both editions share the same underlying technology and software, they are designed with different use cases and target audiences in mind. In this article, we'll take a closer look at the differences between Fedora Workstation and Fedora Server to help you choose the best edition for your needs. Fedora Workstation Fedora Workstation is designed for desktop and laptop computers, and is aimed at developers, designers, and other creative professionals. It comes with a wide range of tools and applications that are tailored to these users, including integrated development environments (IDEs), software development kits (SDKs), and design tools. Some of the key features of Fedora Workstation include: GNOME Desktop: Fedora Workstation comes with the GNOME desktop environment, which provides a modern, user-friendly interface that is optimized for productivity and ease...

How start lampp Server in Ubuntu | Using the Terminal | Using Desktop Launcher | Using Auto-Start XAMPP

You can start the lampp server in different ways
  1. Using the Terminal
  2. Using Desktop Launcher
  3. Using Auto-Start XAMPP

Using the Terminal

  • Step 1 - Here you have to execute this command and provide the pc password it will start the lamp server.
  • Step 2 - Check it from the browser
edge@edge-HP-dx2310-MT-KQ861AV:~$ sudo /opt/lampp/lampp start
[sudo] password for edge:
Starting XAMPP for Linux 7.3.1-0...
XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
ok.
XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
ok.
XAMPP: Starting ProFTPD.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
Ok.

Using Desktop Launcher

First you have create a desktop launcher in order to click it. 
  • Step 01 - open the terminal and type
    • gnome-desktop-item-edit ~/Desktop/ --create-new
    • this and run it. In this case if you didn’t get the crate launcher tab then you don’t have the gnome-panel. You need to have gnome-panel to create a desktop launcher
    • If you don’t have gnome-panel
    • edge@edge-HP-dx2310-MT-KQ861AV:~$ gnome-desktop-item-edit ~/Desktop/ --create-new
      Command 'gnome-desktop-item-edit' not found, but can be installed with:
      sudo apt install gnome-panel
  • Step 02 - install gnome-panel
    • Type this in the terminal
    • sudo apt install gnome-panel
    • edge@edge-HP-dx2310-MT-KQ861AV:~$ sudo apt install gnome-panel
      [sudo] password for edge:
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following package was automatically installed and is no longer required:
      default-jdk-headless
    • After this operation, 76.4 MB of additional disk space will be used.
      Do you want to continue? [Y/n] y
    • Type y and press enter
  • Step 03 - run this command
    • gnome-desktop-item-edit ~/Desktop/ --create-new

  • Step 04 - fill the Create Launcher
    • Type - Application in Terminal
    • Name - Lampp Server
    • Command - sudo /opt/lampp/lampp start
    • Comment - start lampp Server
  • Step 05 - find this in the desktop and click it

  • Step 07 - select Trust and launch

  • Step 08 - submit the password and run it


It will look this after the first click 

Using Auto-Start XAMPP

 1.Copy the /opt/lampp/lampp script to the /etc/init.d directory.
  • sudo cp /opt/lampp/lampp /etc/init.d
  • Add or modify the following lines at the beginning of the /etc/init.d/lampp script.
    • ### BEGIN INIT INFO 
    • # Provides: xampp 
    • # Required-Start: $remote_fs $syslog 
    • # Required-Stop: $remote_fs $syslog 
    • # Default-Start: 2 3 4 5 
    • # Default-Stop: 0 1 6 
    • # Short-Description: Start XAMPP at boot time 
    • # Description: Enable services provided by XAMPP. 
    • ### END INIT INFO
  • Add the script to the default runlevels and enable it.
    • sudo update-rc.d -f lampp defaults 
    • sudo update-rc.d -f lampp enable
  • Reboot your system and XAMPP should start automatically.
  • To revert the changes, use the commands below:
    • cd /etc/init.d 
    • sudo update-rc.d -f lampp remove








Comments

Popular Posts