Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 12 Nov 2018, 20:41
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Need guidance for Web server for Fatdog 7.02 and up.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 05:43    Post subject:  Need guidance for Web server for Fatdog 7.02 and up.
Subject description: Is WAMP only for windows?
 

I am at the beginning of using Aptana Studio to design a web-site for a corporate site. I know at some point I will have to process queries so WAMP means:

Windows Apache ? PHP?

So how can I install a server that will do this stuff but on LInux, and specifically on Fatdog so I don't have to use a different Linux OS unless absolutely necessary for some strange reason? Is there some sort of WAMP for Linux (specifically Fatdog)? I'm assuming my website will eventually be running on a Linux server. Sorry, I'm new to this - I've only done simple webpages for friends, and they didn't need to process queries.

Does Fatdog already have what I need? I like the Aptana Studio so far. I also use Geany a lot.

Until I reorganize my computer office, I will pretty much prefer using my Fatdog 7.02 machine.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1667

PostPosted: Wed 17 Oct 2018, 06:11    Post subject:  

I can't vouch for FD-702, but I used to use XAMPP on 721: https://www.apachefriends.org/index.html.
It's a one-click installer.

Apache, MariaDB, PHP, etc. are also available in the repo, if you're in the mood of configuring all that stuff manually. Wink

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 06:23    Post subject: Thanks SFR, I'll try the Xampp as it seems like WAMP
Subject description: So I tried it already
 

The installation failed when it tried to create the directory /opt/lampp or something like that so I need to troubleshoot that.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 06:29    Post subject: I may need to sudo this
Subject description: Probably permissions
 

I need to run it from the command line.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 06:35    Post subject: That worked
Subject description: Xampp is now installed and running on my Fatdog 7.02.
 

I just need to test it out now!
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 06:46    Post subject: Trying to set my project location in Aptana Studio
Subject description: I keep trying to set it to /opt/lampp/htdocs
 

I believe this is the docs directory of choice but it's weird, as soon as it finds a match it greys out (disables) finish button. So it might want me to create a different directory to be safe I guess - perhaps I can try adding www or something.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 06:48    Post subject: I used www and I WAS able to click Finish
Subject description: But now it errors on Unable to create resource
 

It claims that my project does not exist. No kidding - of course it doesn't exist - it's a new project.

God, these tools are so awkward to use. Nothing ever goes smoothly.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 06:49    Post subject: I decided to recheck the default location in Aptana
Subject description: So that I can move forward, I accepted the default
 

I have now created my corporate site project in Aptana Studio. I'll have to troubleshoot separately why I could not be "creative" here. It wouldn't surprise me if there is something I don't understand about Aptana or the tools I'm using hence the "nothing ever goes smoothly" comment I obstinately made.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 08:50    Post subject: When I run scripts, I have another error
Subject description: I can use any browser to test my web pages
 

But apparently, Aptana wants me to use Firefox to debug. I installed 38.xxx esr and perhaps there's some issue with it so I need to install another .deb or something over it.

I get the following error:

GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

There's something with glib and something in the browser or whatever.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 09:13    Post subject: I've tried switching to Chrome
Subject description: I get a different error
 

In each of the cases, whether I use Nightly or Chrome, the webpage loads, nothing crashes, but there is the weird == 0 error I describe above and with chrome I get an additional error:

l_helper: error while loading shared libraries: libnssutil3.so: cannot open shared object file: No such file or directory

And with Nightly, I cannot set the home page to open to. It ignores it on startup.

I believe the libnssutil3.so has something to do with nss.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 09:28    Post subject: Can I ask a really dumb question
Subject description: My libnss is unchecked in gslapt package manager.
 

Should I check the thing and have it installed?

As in 3.16.1-x86_64-1? Might that get rid of the google-chrome bugaboo?
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 09:31    Post subject: Cool, google chrome is happy now
Subject description: I checked libnss and it installed a couple things in gslapt
 

Now there are no errors on starting up a web page with Google Chrome as the browser. Now I need to see if I can debug with it.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 09:33    Post subject: Oh well, Google Chrome is not supported
Subject description: I cannot debug with Google Chrome
 

I will have to try to fix the == 0 error that's been around for quite some time with Firefox - it's got nothing to do with scripts. And I don't think much to do with plugins as I tried disabling them all in Nightly. So I need to keep reading people's posts and get some insights as I will have to use Nightly with Aptana.
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 845
Location: Connecticut, United States

PostPosted: Wed 17 Oct 2018, 11:39    Post subject:  

where do you stand in progress?
You need a LAMP which is of course the Linux version of a WAMP

I install Apache,mariaDB,PHP 7.2 with the package manager and configure it manually. It is not that difficult. Also I use the Hiawatha web server built into Puppy Linux instead of Apache...easier to set up easy to update from the version built in.

pay attention to the user's needed to run the servers.

XAMPP is a great way to start as well. Do you have the XAMPP working?

what language(s) will be the website itself?
Back to top
View user's profile Send private message Visit poster's website 
PappyPuppy

Joined: 30 Sep 2016
Posts: 409

PostPosted: Wed 17 Oct 2018, 21:51    Post subject: I installed XAMPP 7.2.10.0: "./xampp-linux-x64-7.2.10-0-
Subject description: installer.run." It installed quite easily - no complaints that anything's missing.
 

rockedge wrote:
where do you stand in progress?
You need a LAMP which is of course the Linux version of a WAMP

I install Apache,mariaDB,PHP 7.2 with the package manager and configure it manually. It is not that difficult. Also I use the Hiawatha web server built into Puppy Linux instead of Apache...easier to set up easy to update from the version built in.

pay attention to the user's needed to run the servers.

XAMPP is a great way to start as well. Do you have the XAMPP working?

what language(s) will be the website itself?


It failed to install when I double-clicked so I opened an x terminal window and used the above command.

Today, I spent nearly ALL day using Aptana Studio for only the 2nd time - the last time was this past January I believe. But today I developed what will eventually be the navigation bar for my corporate app using HTML and CSS. The style sheets I used are just some nested classes that allow me to have my corporate name and/or logo on the left and the menu items - Home, News, Shop, About, Contact, etc.. on the right. At first it didn't work until I mastered how to nest it all and use inline-block and float in the proper way. I had never even tried to use css so I'm definitely bit wet behind the ears with web page development. Well, that, and watching the stock market, and tending to my garden.

So as for what language I will use for the site - do you mean POFCL (plain old fashioned computer language(s))? I don't really know yet - I'll just use whatever makes a good website that can process queries against MySQL and run nicely with the XAMPP - MySQL, PROFTPD, and Apache Web server. I don't really know any of this stuff yet. Some day I might take an interpreter I wrote in C++ and embed to the site so people can do math but for now, I just have to allow the ordering of a hardware and software product I developed earlier this year. When I'm not still embarassed by something not finished, I can post a screen shot and let people know how things work out with XAMPP and whatever the host OS server will be. For now, it's Fatdog 7.02. I will try to resurrect my 7.10 machine as I clean up my office. I also have Linux Mint and a Redhat that has some sort of login to the Redhat support site issue. I can only log in from one machine.
My goal is to NOT have to buy a subscription to an order-counting domain site but instead, one that might be similar to GOOGLE or whatever. Currently, I lean towards NOT using Site 123 or something similar as I think I can handle the development aspect and I don't want a web page system that I can't just download and test locally with ease. So Fatdog will be the test-bed - right in front of me. This is all stuff I have to experience. I could probably make use of Google somehow. Sooner or later, I'll have the web server running and hopefully serving up pages with HTML, CSS, and javascript. I'm open to whatever I need to learn. Clearly, it will be one baby step at a time. Then I need to make sure each technique will work on Internet 7 and up, and on phones. I might need to use the Java script and other styles to make it all happen smoothly.
I have not yet hammered any queries at the XAMMP server yet - I have not even created a MYSQL database with some tables either. Should be a learning experience. Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1066s ][ Queries: 11 (0.0164s) ][ GZIP on ]