When I try to install the pattern "lamp_server" with zypper on a fresh openSUSE 11.3 box I'm only getting the metapackage "patterns-openSUSE-lamp_server" installed, nothing else.Apache, MySQL, and PHP are all listed as "recommended" only.I know how to install the packages individually, and I know I can force matters with the "--recommended" flag. Unfortunately installing the recommended packages also wants to throw in apparmor and sw_management, neither of which I want right now.Am I overlooking something? The command I used:zypper install -t pattern lamp_serverMy main goal is to communicate this process to others, so I'd like to give them the option of the simpler pattern install.
I want to search a file for a particular pattern and if pattern found replace the line with new text. i am using awk 'match($0,"pattern") != 0 {print $0} ' filename to check if the pattern exists.how do i get the line number of the pattern and delete that line and replace the line with my new text?
I have to enhance the behaviour of a backup script written in perl. I don't need to change it, what I need to do is to create a bash script that does some checks like file name and file size, execute the backup script then check if the backup files match the original files.Here's how I try to do it:
- read the files from the original files folder - store them in an array - search in the array the files that have a specific file extension - store the file names that match the search pattern (I know the backup script skips some files so I can hardcode the search pattern) - run the backup script - read the files from the backup folder - store them in an array - compare the original files name and size stored in an array with those from the backup folder - send a report email
I have 3 virtual machines set up. 2 are servers and one is a client. On one of the servers I have installed apache, mysql, and php and mod_ssl. I can get to the web site on the server from my client system. I can even get to the info php site--the screen that shows everything about php (it's purplish!) I can also get to the secure https site. The one thing I can't do is get my table to display.I have set up a new user in mysql. I have granted that user all privileges. I have created a table on a new database in mysql. I then set up php code within html code But every time I try to go to my test.php site it only gives me the header. It obviously cannot find the table array. This is the code and someone already told me it looked right to them. So I am not sure what I am doing wrong.
End of my first week after using ubuntu. I have setup LAMP for the purposes of my own coding education, place to run php and python scripts.
LAMP seems to be setup fine and working - I even got php5 working with it - however I am having a lot more trouble getting python to work in much the same manner.
I have downloaded the mod_python from [URL], unzipped it, tried to run ./configure and it said apxs was not installed.
After some reading it turns out I had to remove some apache-fork something and install apache-devfork (please forgive lack of exact names).
After doing this the ./configure on mod_python passed the "finding apxs" test but then said it can't find apache2 at /sbin/apache2 and again aborted the configure.
Windows XP Pro, VMware and Kubuntu as the guest. Tried several different ways of adding LAMP server, via the Konsole and also via Synatpic and although I can get into localhost and it says "it works" doesn't actually take me to a list which includes the links to Apache and phpmyadmin like some tuts show. Also if I make the php test page that also works, but I cannot get phpmyadmin to work. When I look in the var/www folder there are only 3 files there and not the apache2 and phpmyadmin folders as shown on a lullabot tutorial.
im in the process of installing LAMP. im presently installing mysql and that's where i got into trouble...
im following the this tutorial [URL]
i tried the following :
Step 3. This is where things may start to get tricky. Begin by typing the following into Terminal:
mysql -u root
and i got this output:
root@konlah-laptop:/home/konlah# mysql -u root ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
obviously my question is why can't i connect to local mysql?
I am installing Ilias 4.1.4 is the lastes stable version on a Ubuntu 10.04 64 bit server with all the dependencies satisfied.
[URL]
Download ilias-4.1.4.zip and install on a Ubuntu 10.04 server. Now just when all the steps are done I log out since now the installation has finished immediately upon logging out I am at following URL (the installation has just finished)
[URL]
Quote:
Fatal Error: ilInitialisation::initClientIniFile called without CLIENT_ID.
I start searching net for above error and do not get any useful information.After some time I press back button and accidentally reached
Quote:
[URL]
and see some sort of screen that asks for a client ID. How can I get rid of this error
Quote:
Fatal Error: ilInitialisation::initClientIniFile called without CLIENT_ID.
I have an offline computer with centos5.5 running on it. I want to do some tests on mediawiki or any other opensource tools. However, I can't access localhost from the browser because I don't have a webserver. How do I install apache or LAMP in general without the "yum" command? Where can I find all the dependencies needed?
I want to go through a log file and find pattern1 and then a pattern2 only after pattern 1.So for example I want to know howManyRecords was in 13:30.I figured I grep for "start time for the job" and then only after that (and before the next occurence of that) grep for "howManyRecords". Is this a sane way?
I have an ec2 instance, with ubuntu server edition 10.10, and I am trying to install lamp.When I run sudo tasksel --section server, select lamp, and select ok, I get: tasksel:aptitude failed (100).
I did everything and restarted my machine, everything seems to be ok. But when i type in my IP on the browser which is 10.0.11.25 which would be the localhost machine, i get this below:
Code:
ERROR The requested URL could not be retrieved
While trying to retrieve the URL: [URL] The following error was encountered:
* Connection to 10.0.11.25 Failed
The system returned:
(113) No route to host
The remote host or network may be down. Please try the request again.
I have several (vhdl) files containing a pattern with newline characters that I need to replace by another pattern that also contains newline characters.
I start with something like:
Code:
I want to replace it by something like:
Code:
(I need to paste some lines)
As I need to do this (very) often I want to use a shell script.
In openSUSE 11.3 when I selected the Python Development pattern for install, it included everything needed for Python development. I installed openSUSE 11.4 yesterday from the full DVD ISO and selected the Python Development pattern, but all it installed is the patterns-openSUSE-devel_python meta package, which apparently doesn't include any other software. It didn't even install the python interpreter.
Of course I can easily install what I need manually, but the pattern is a handy one for quick installs that need Python. Is this pattern broken under 11.4 or am I missing something? I couldn't find anything about this behavior in the release notes, known 11.4 bug list on the forums, Google, etc.
I'm concerned about security of having a LAMP server on my laptop as having any server makes the system less secure. However, if I were to create a new partition and install a lamp server on that and only use it when offline, would the security of my main partition be affected at all?
I'm needing to stand up a Lamp server for a SugarCRM migration. I've been told I need to ensure php 5.2 on the box along with ensuring several mod's are installed as well for php and apache. I was planning on using the lamp provided from xampp (apache friends) but they're current build is using PHP 5.3, any suggestions on how to get around it? If I have to build the whole thing from several packages (apache, php, mysql) then no problem, but I really like the myphpadmin page that comes with the xampp installer.
I wanted to create and host a simple website using LAMP and Drupal. I read an article in a Linux magazine a while back on how to do this, but can't seem to find any instructions. Can someone direct me to a site or link that has step by step instructions on setting up lamp and drupal?
I have a LAMP server and need a web page to send email messages. I could do it with my Win 2k server through my cable service but can't seem to get it to work here.
I currently have a LAMP server running with multiple virtual hosts configured. I have one virtual host with a sub directory that contains pdf news letters.do not want the directory browsable and tried putting an index.php file that re-directshe user to the root directory but when I go to the [web address]/[directory name] in any browser I see the contents of the folder listed.
Currently the news letter list is drawn from a database table and displayed as links on a page in the root directory. The links point to the file name in the sub directory. How do I block users from going to that sub directory and seeinge contents of that directory listed? Would I add another <directory> statement in the vhosts.conf file? If so how would I structure that directive?
setting up my LAMP server to send email messages through my cable network SMTP server. If you respond please realize that I am new to linux/apache. I cannot send emails out with the built in email server on Suse and don't even know if it is enabled. I used to do it with my IIS/ColdFusion server but there were options for the outbound SMTP server and authentication. I have searched and think I have to use something called Pear but to be honest the instructions are vague to say the least and it all looks greek to me.
i am trying to set up LAMP on an old pc i have installed linux, apache, mySQL and PHP following this guide Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.3 (LAMP) | HowtoForge - Linux Howtos and Tutorials. i have installed phpMyAdmin but when i try and acess it i get this error
Error MySQL said: Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?
My problem is when trying to connect to: "hxxp://www.m-y-d-o-m-a-i-n.com/phpMyAdmin" I reported Error 404: PHP Code: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404
I want to cut out part of the 'uptime' output so all it displays is the load average. In the end I want to cut out everything before the word 'load'. I am a total sed newbie and could really use some examples or links. I've googled and haven't found anything useful yet.##edit###I used the 'cut' command- The code was Code:uptime |cut -d, -f 2,3,4,5 |cut 13-
I'm fairly new to the Ubuntu world but have been simply amazed by what it can do. Someone told me to install Mac4Lin after I was done and I've done that. The desktop looks a lot more like a Mac especially after installing AWN. I do have a bit of a problem and would be very grateful for any assistance here. My taskbar is set to a background pattern which gives it the OSX look. However, towards the left side where the menu's reside, there is a bit which does not show the background pattern and instead has a dull grey color. I've been searching around for where I can tweak that bit to also have the the same pattern as the taskbar but have had no luck. Attached is a screenshot.