Setting up wordpress on Ubuntu 12.04 - wordpress

I have dual-booted my Win7 laptop with Ubuntu 12.04, and I'm trying to install Wordpress. I have installed Apache2, Mysql-Server, and Wordpress and I keep getting asked for ftp credentials when I try and install plugins/themes. I know how to install the themes etc. manually by downloading and unzipping into the correct folders, but this isn't a permanent solution.
I've tried uninstalling and reinstalling everything but I keep getting faced with tutorials on setting up virtual hosts and I'm not sure if I need to have one?
Can anyone point me to an easy to follow (for beginners) tutorial from scratch? Or tell me if I'm missing something?
My Wordpress site needs to be moved from local machine to a server when it's finished (I don't know the server yet so I can't just start using it) so I need it to be as easy to use as possible.

Yes, there are available tutorials for that.
Step 1-
Installing the server-
Installing the server
Initial Setup (Optional)
Step 2-
Installing Wordpress-
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04

Related

Artifactory OSS 7.46.11 version not getting installed in Windows 10 laptop

I am not able to install JFrog Artifactory OSS version 7.46.11 in my Windows 10 laptop.
I am trying to setup Devops CI/CD pipeline using Jenkins in my laptop for my hands on Devops skills. I tried to setup Artifactory OSS 7.46.11 version in my laptop. However, I am not able to install the software. Even I tried to install as a service but in vain. I have enabled the ports as well. I tried setting up the JVM parameters as mentioned in the JFrog documentation.
Can someone help me in this.
Thanks.
Are you facing the issue while installing Artifactory itself or installation is successful but unable to start it?
you can try the below things.
Navigate to %JFROG_HOME/artifactory/app/bin directory and you will find a file
Open Power shell and try to run the artifactory.bat file.
This give you better idea on what is happening.
Navigate to %JFROG_HOME/artifactory/var/log folder where the complete logs will be printed. Try to focus on the below log files.
artifactory-service.log
access-service.log
router-service.log
This should reveal some useful information. If you could find anything, share the Error snippet from artifactory-service.log

To what extent can MAMP be hacked?

I am running Wordpress on a local development server to test plugins from 'dubious' sources. I believe I've been hacked after installing an unofficial copy of a plugin. Now I'm looking for help to assess how serious this may be and how to proceed.
Here's what exactly went down:
Installed MAMP (4.2) on my Mac (10.14.6), with htdocs in it's default location (in the MAMP application folder)
Installed multiple Wordpress sites to develop for clients over several months
Used one of these existing, old, dev sites to test plugins before purchase
I began to install a plugin .zip file, however after I clicked "activate" I was asked by macos whether to allow MAMP access to photos, and then to calendar, both of which I denied. The activation failed due to a "Fatal Error".
I ditched this plugin and moved onto the next. The next one also failed due to fatal error, this time with the error message: "Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in"
Googled this message revealing it's common when hacked.
So, does the hacker have any access to this website? To the entire local server? To my entire computer where MAMP is installed?
Am I in the clear just deleting the plugin? Clean install MAMP?
Thanks.
Wordpress hacks tend to be more about collecting information from WordPress.
Anytime you get a warning like that, it should tell you where the issue is.
However, I would install Wordfence on your local sites and have it run a scan. It will compare core files etc to what is on the repo and tell you. It will get about 99% of it unless it is a Zero day.

Drupal 8 constanly hangs and fails installing plugin

First, I am a newbie in drupal, and I still haven't managed this framework.
I am running Drupal 8 in localhost, and I can edit my pages. But, constantly I need to restart Drupal because if suddenly hangs. I tried to look at the logs, but I can't find any information about this behavior. It seems that the server has stopped responding. Any suggestions on how to solve this problem?
Also, I am trying to install the plugin ds-8.x-3.5.tar.gz in Drupal, and I get this error.
I know this is not a useful debug information, but this is what I have. I can't understand why this plugin is not installed. Any suggestion?
Looks like you have some dependency issues.
As you state in your question that you would like to install ds-8.x-3.5.tar.gz I deduce that you are the dependencies manager. Since it looks like you're trying to install the module manually. You can install the module and manage the dependencies manually but it can be a pain.
Better to leave that to a piece of software designed to manage all the complex dependencies Drupal has and use composer as a dependency manager.
To install composer follow this link: https://getcomposer.org/doc/00-intro.md
If you can, start a new Drupal install and read the docs about installing Drupal with composer: https://www.drupal.org/docs/develop/using-composer/using-composer-to-install-drupal-and-manage-dependencies
follow the section under heading: Using drupal/recommended-project
That is much easier than converting your existing install to composer.
But if you need to convert your existing install follow the section under heading: Managing existing sites using Composer
Once you have composer running and have installed Drupal with it. You can simply run: composer require drupal/ds and your module is installed with all the needed dependencies .

Best way to develop a WP-site on multiple machines

I'm busy working on my portfolio and I have a localhost setup. I use Wordpress as my CMS.
Since I'm not always home, I'd like to work on this project when on other machines (not on the same network, indeed).
What am I to do? Should I setup another localhost on the other computer and copy the wp files to over there? If so, how do I do that without mixing things up?
I've searched on Google for an answer but couldn't find any that solve my problem.
If the PCs at both locations run Windows, your solution would be to make a portable (USB stick/pen drive) installation of XAMPP + WordPress (+ your site).
A shortcut would be to make the portable XAMPP install, then install/use the Duplicator plugin (on the working site) to migrate it over to the USB drive, which will save you the trouble of installing WordPress.
https://wordpress.org/plugins/duplicator/
Once the portable install is ready, you just use it wherever, and your site will never go out of sync. :-)
Here is a nice guide to portable installation:
http://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-on-a-usb-stick-using-xampp/
Hope this works for you.

What am I doing wrong when trying to install Bitnami modules into a LAMP stack

When I first uploaded the basic LAMP stack from Bitnami, it was just one .run file. I first was making the mistake of not writing it like this:
./bitnami-lamp-stack.run
Note, full file name was longer, obviously. So, then to install WordPress, there is a native installer. So, I uploaded that, just as instructed. Made it executable. Then ran
./bitnami-wordpress-module.run
Note, again, the actual fine name was different. So, the second command, should find the bitnami installation and add WordPress. Strangely, it just returns immediately without doing anything. I tried it with an without sudo, as I had given read and execute permission temporarily. It just throws me back at the command prompt having done nothing.
I even tried running it from the same directory as where the lamp stack is installed. I am baffled by this and stumped. One idea did come to mind... Maybe I need to add the bitnami lamp stack location to the path. It doesn't seem to require that but who knows.
This is on Ubuntu 14.04.
Thanks in advance for any help,
Bruce
My understanding is that you already have the Bitnami LAMP properly installed and you have troubles installing the module on top of the LAMP. Could you run the module installer with the following option?
./bitnami-wordpress-module.run --mode text
Could you also try to download again the module from the bitnami page and check the md5 of both installers? You can check it with the following command:
md5sum /path/to/installer

Resources