Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Wednesday, April 20, 2022

How To: Install AMPPS Into Ubuntu / Xubuntu And Fix Post-Installation Problem

 

.

The Linux installation of AMPPS runs on a package manager. Below are the steps for successfully loading all elements onto your server.


1) Run "sudo apt-get update" to automatically update all existing software packages installed on Ubuntu.

2) Run "sudo apt-get install libfontconfig1 libxrender1" to add the necessary dependencies that are required for the AMPPS to proceed.

3) Run "wget http://s4.softaculous.com/a/ampps/files/Ampps-3.8-x86_64.run" to download and launch the AMPPS installer package directly from the Softaculous host. This may take a few minutes depending on your network speed.

4) Run "sudo chmod 0755 Ampps-3.8-x86_64.run" to allow your Ubuntu account to execute the installation steps.

5) Run "sudo ./Ampps-3.8-x86_64.run" to proceed through the setup wizard.

6) Run "/usr/local/ampps" to navigate to the root of the new AMPPS directory.

Run "sudo ./Ampps" to enable all AMPPS elements.

Once installation is complete, the individual AMPPS elements will be located in separate directories. Apache will be under "www", MySQL will be under "var", and PHP will be under "php-5".


If the following error is encountered when Ampps command above is executed

/usr/local/ampps/apache/bin/httpd: symbol lookup error: /usr/local/ampps/apache/lib/libapr-1.so.0: undefined symbol: dlopen


Try running update commands

1) cd /usr/local/ampps/apache/lib

2)sudo mkdir bck

3)sudo mv ./libapr* ./bck/

4)sudo apt-get -y install libaprutil1 libaprutil1-dev libapr1 libapr1-dev


REFERENCE:

https://www.ampps.com/blog/how-to-install-ampps-on-ubuntu-18-04-full-guide/

https://www.softaculous.com/board/index.php?tid=13513&tpg=1

How To: Fix Problem Apache httpd error while loading shared libraries in Ubuntu / Xubuntu

 .

Error:

During the call to start http for e.g.

$ sudo ./httpd start

the following error message is displayed:

./httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory


Solution:

Type Terminal Command:

1) cd /usr/local/ampps/apache/lib

2)sudo mkdir bck

3)sudo mv ./libapr* ./bck/

4)sudo apt-get -y install libaprutil1 libaprutil1-dev libapr1 libapr1-dev



.

Tuesday, April 19, 2022

How To: Download And Install Chrome For Windows, Linux and Mac

  

.

Chrome can be installed by Terminal command as follows

1) sudo dpkg --install google-chrome-stable_current_amd64.deb

2) during installation if the following error occurs:

error processing package google-chrome-stable (--install):

 dependency problems - leaving unconfigured

Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...

Processing triggers for mime-support (3.64ubuntu1) ...

Processing triggers for man-db (2.9.1-1) ...

Errors were encountered while processing:

 google-chrome-stable


3) Try running the following command:

sudo apt -f install

or

sudo apt-get install -f


4) Run chrome
/opt/google/chrome/chrome

.

The Chrome Offline Installer for Windows

Chrome offline installer is available from the Chrome website, but it’s not easy to find. Note that when you do find it, it looks a lot like the regular Chrome download page. Click “Download Chrome anyway” and you’ll see different dialogs and a different file size to download. These downloads will work for Windows 7, 8, 8.1, and 10.

This is the Chrome web page for standalone downloads.

If you want to download the offline installer for a single user on a Windows machine, this is the link for you.

This will match your operating system architecture the way the standard Chrome download page does, so it’s good for both 32-bit and 64-bit Windows machines.

However, it doesn’t work for everyone. If you specifically want to download Chrome 32-bit, here’s the page you need.

If you prefer:

  • This is the 32-bit Chrome offline installer direct download link.
  • For 64-bit Windows machines, this is the specific web page link.
  • This is the 64-bit direct download link.

What about if you want to download Chrome’s offline installer for use on multiple machines? That’s one of the main reasons people want the offline installer, after all.

  • Here’s the 32-bit offline installer for all users on a PC.
  • Here’s the 64-bit version.

If you’re downloading the Chrome offline installer from one of the web pages, rather than directly, here’s how to do it.

Click to download, then click “Accept and Install” to agree to the terms and download the installer. The file is 57MB, significantly larger than the stub installer.

Once you’ve downloaded the file, you’ll be prompted by system dialogs. You might have to save the file and then run it manually, depending on your specific Windows version and how you have it set up. You will not need an internet connection to install Chrome once this file has been downloaded.

Once the installer has downloaded, you can copy it onto a USB and use it to install Chrome on multiple computers without needing an internet connection.

It’s worth noting that Chrome offline installations don’t automatically update. If you don’t want to update automatically, and you’re installing on multiple devices, consider the Windows MSI Chrome installer.

The Chrome Offline Installer for Mac

Apple dropped support for the 32-bit version of Chrome, so there’s only a 64-bit option.

Here’s the web page link to download it. The file is about 80MB.

Once it’s downloaded, open the file googlechrome.dmg and drag Chrome to the Applications folder. You don’t need an internet connection to do this.

The Chrome Offline Installer for Linux

There’s a Chrome offline installer for the most popular Linux builds: Ubuntu, Debian, Fedora, and openSUSE.

Here’s the link. The file is about 59MB.

For all other Linux distros, you’ll need to download the Chromium package.

Once the file is downloaded, click “OK” to open the package and then click “Install Package.” You can do this any time without an internet connection.

.

Monday, April 18, 2022

How To: Run Installer From CD Drive In Virtual Ubuntu of VirtualBox

.

Installers such as VirtualBox Guest Additions and Xampp are provided in the format .run ***

Type Terminal command:

e.g. sudo ./VBLinuxAdditions.run

or

e.g. sudo ./xampp-linux-x64-1.8.2-6-installer.run


*** A RUN file is an executable file typically used to install Linux programs. It contains program data and installation instructions. RUN files are often used to distribute device drivers and software among Linux users. You can execute RUN files in the Ubuntu terminal.

.

How To: Share Folders Between Windows Host and Linux Guest In VirtualBox

 


1) Add Linux Guest OS.


2) In the Shared Folder setting, add a folder e.g. Z.

(this folder will automatically be assigned to a group called vboxsf )


3) Run Linux OS


4) Add User to vboxsf group via Terminal command

sudo usermod -G vboxsf -a $USER


REFERENCE:

https://websiteforstudents.com/share-host-folders-with-virtualbox-ubuntu-guests/

How To: Configure Pro FTP Users In Ubuntu

 


Assuming you already have a user e.g. user1 in the Ubuntu.


1. Create group via Terminal command.

groupadd ftp

2. Add user to the group.

usermod -a -G ftp user1

3. Set the ownership of the target directory

cd /opt/lampp

chown root.ftp htdocs

chmod 775 htdocs



READ ALSO:

http://www.facweb.iitkgp.ac.in/dashboard/docs/transfer-files-ftp.html

https://bobcares.com/blog/proftpd-create-user/

How To: Fix Missing Users & Groups Settings In Ubuntu


Install via Terminal command

sudo apt install gnome-system-tools


READ ALSO:

https://docs.xubuntu.org/current/user/C/administrative-tasks.html