CentOS 7 AMPPS Launch Issue - centos

I am in the process of setting up a Linux Based AMPPS LAMP box for local web development needs before the projects go live. I have been following this installation guide for AMPPS website, on a fresh install of CentOS: https://www.ampps.com/wiki/Installing_AMPPS_on_Linux#Important_Locations
The following is stated in the instructions:
First Run of AMPPS When you run AMPPS for the first time make sure your Internet connection is active. Note: AMPPS doesn't support proxy
yet. So you must have a Direct Internet Connection.
Now open /usr/local/ampps/Ampps from Explorer, this will take some
time as it is setting up AMPPS for your Linux. If you are using Ubuntu
OS then you have to start Ampps from terminal with sudo privilege.
cd /usr/local/ampps
sudo ./Ampps
Upon entering ./Ampps in as root, the terminal returns the following:
./Ampps: error while loading shared libraries: libXrender.so.1: cannot open shared object file: no such file or directory
I have done a little of a search and turned up basic fixes, such as:
yum install libXrender.so.1
Even with the libraries installed it throwing the same error.
Any help would be great,
Sorry if my post lacks anything its my first :)
Thanks in advance,
Jon

This seemed to do the trick guys, Thanks anyways :D
$ yum groupinstall "X Window System" "Desktop" "Desktop Platform" "Fonts"

Related

How to install specific version in ARCH using yay?

I have issue with latest version of vscode==1.75.1.
I'm ussing Microsoft Dev Containers extension, and inside dev container I cannot run termminal .
Error is: The connection to the terminal's pty host process is unresponsive, the terminals may stop working.
I'm traying to find any olution for this problem.
I done uninstall, remove all filles related to vscode, install agan with yay -S visual-studio-code-bin and still have issue.
I want to install specific version of visual-studio-code-bin==1.74.3, how to install with yay -S?
p.s. This was after I updated system.
Thanks!

Code-OSS doesn't open folder or files from terminal command 'code-oss .'

A few days ago I installed Kali Linux. I'm trying to use Code-OSS instead of VSCode, since newest version of Kali doesn't have the libraries needed to install the normal one.
If I try to open a folder in Code-OSS from terminal using code-oss . or code ., it just opens Code on a new 'untitled-1' document, or opens the folder I was before closing Code-OSS. It doesn't open the folder I was in the terminal.
In these cases I need to open the folder I want through File > Open folder > search for folder and then open it.
The same just occurred with git commit or git commit --amend; it opens a new document, not the one I want to open.
I spent sometime searching for a solution on documentation, stackoverflow, google but could not find anything.
I cannot find any way to resolve this problem on Code-oss. Apparently it happened just with me.
Surprisingly for me, I was able to install VSCode following this tutorial, and it apparently managed to ignore the lack of libraries of Kali Linux that I mentioned above.
I hope this solution prevent any person in the future to get stuck on this.
I had the same issue when I first installed Kali-linux on my VM. Pretty anoying.
Just intall vscode by running :
sudo apt update
sudo apt install code
It will unistall code-oss and install VsCode, and it works now.

I installed PostgreSQL on mavericks, but running `which psql` does not do anything. Did it install correctly?

I installed PostgreSQL using the downloadable graphic installer. I'm able to launch pgAdmin which is PostgreSQL's GUI. However, when I run which psql on the terminal, I'm not getting any path (and based on what I read here it should yield a path provided postgres successfully installed).
After looking at this Stackoverflow post, I should have done it via homebrew. Should I uninstall the PostgreSQL that I got via the graphic installer, and re-install using homebrew?
Noob here, and I appreciate your patience.
If you've installed it using Postgres.app, the path to your binary should be under /Applications/Postgres.app/. Try running this at the terminal, you can see on my system it's under /Applications/Postgres.app/Contents/MacOS/bin.
$: find /Applications/Postgres.app/ -name "psql" -print
/Applications/Postgres.app/Contents/MacOS/bin/psql
If you then want to add this to your path variable, you could use this tutorial.

Team explorer missing in eclipse

I followed this installation guide:
http://msdn.microsoft.com/en-us/library/hh301122.aspx
On some computers, all went well. But on some, the team explorer window is missing.
I can't find it even in: Window->Show view->Other. In fact there is no trace of TFS anywhere in eclipse (it does not appear at preferences under team). But it's listed in installed software.
All computers have Ubunto 12.04 LTS and eclipse 3.7.2 with eclipse cdt.
Check if you have Version Control (Team).
I recently installed Eclipse 4.20,
and I am thinking that the Team menu name was changed to Version Control (Team)
(Team -> Version Control (Team)).
the solution apparently is to open eclipse with sudo and then start the installation.
some permission problem that wasn't notified by the installation.
it may happen for permissions issue, you did not have enough permissions to the location where eclipse is installed so the installation of TEE failed.
I was experiencing the same issue. MSDN's site states: Team Explorer Everywhere is designed to be run as a non-root user on computers that are running Unix.
I was finally able to fix my issue by running the command below:
sudo chown -R user:user /usr/lib/eclipse/ /usr/share/eclipse/

How to install YAWS on Mac OSX

The following is a guide, step-by-step, to install a YAWS (Yet Another Web Server) on your Mac OSX machine.
It has been tested on 10.6.8 SL and worked flawlessly, although the server needs to be restarted if you start spamming F5.
Here are the steps for properly installing and testing a YAWS (Yet Another Web Server) on your Mac OSX machine:
Installation:
Go to http://yaws.hyber.org/download/
Get Latest source - e.g. 'yaws-X.XX.tar.gz'.
Unpack it (for this tutorial let's say /Users/Name/Desktop/yaws/ ).
Open Terminal (it can be found in Applications/Utilities).
Type: 'cd /Users/Name/Desktop/yaws/yaws-X.XX/' (without quotes).
Type: './configure' (without quotes) and wait.
Type: 'make' (without quotes) and wait.
Type: 'sudo make install' (without quotes).
Now you need to type your administrator password, the terminal will not display anything you are typing, so don't worry if it seems it is not working properly, and press Enter.
Now YAWS is installing, after it has finish type 'sudo yaws' (without quotes) to run the webserver (it might ask again for the password).
Testing:
Open your browser.
Go to 0.0.0.0.
You should see the yaws homepage: Congratulations! You have installed YAWS.
To start testing your pages just put them in '/tmp' and the just type in your browser 'localhost/pagename.yaws'.
Check this for more information and tutorials: http://yaws.hyber.org/
You can use brew: http://brew.sh/
brew install yaws