Fedora Servers :: Anything Special To LAMP Server For AJAX To Work?
Apr 14, 2011Do I need to do anything special to my LAMP server for AJAX to work?
View 2 RepliesDo I need to do anything special to my LAMP server for AJAX to work?
View 2 RepliesI have Ubuntu 10.10 and i installed the lamp-server by typing:
Code:
sudo apt-get install lamp-server^
everything seemed to work fine.
[code]....
I've successfully installed my LAMP server (9.10). I've ran a test.php but am curious if there are any tutorials onlines or even books to buy in order o learn how it all works. Where the files are and the mechanics of it. I have it installed but what now ha... I've done HTML, I've built websites but I'm lost!...
View 1 Replies View RelatedI had a working LAMP server on my old server. After a HD went out and was replaced I rebuilt my server with Ubuntu 10.10 server. Talk about a smooth and impressive install. I set up my Apache server and MySQL and even installed php5 just like I had done before on my old server. The only thing different I did with this install is with Apache. I now host 3 websites with virtual hosts. This is the only thing different I have done than the last time.
My problem now is my website won't display PHP. I didn't know I had this problem until I installed Drupal for a friend to play around with. Drupal won't finish the installation process because it claims: In your ./sites/default/settings.php file you have configured Drupal to use a server, however your PHP installation currently does not support this database type.
Know I have googled this phrase to hell and back to find a resolution and haven't. I even talked to my local linux guru at work and he refereed me here. I have tried reinstalling php left and right. I'm convinced that there is an option to enable php globally that I'm missing. I really think the virtual hosts is what is causing this trouble. What input will the mighty Ubuntu community provide me with,
Ran the following command from a user account listed with ALL permissions in visudo.
Code:
sudo tasksel install lamp-server
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
tasksel: aptitude failed (100)
I build a LAMP server behind a router. The current situation is:
1.I could access index.html of apache within the LAN.
2.I could access the vsftp outside of the LAN.
3.I could access the ssh outside of the LAN.
I have configured my router to do reflections(although I don't know it's correct or not.). I think the LAMP works good since I could use it inside the LAN. The configuration of the router is at least partly right because ssh and vsftp work fine(I test by browsing the ip:74.***.***.*** in the lan, not 192.168.1.8 --this also works. ).
I cannot access web service outside the LAN. And the error message is "Oops! Google Chrome could not connect to 74. Did I miss some configuration of router?Apache2?Ubuntu? I use the ubuntu server 2010.10 version.
I am wanting to install the 10.04 lamp server on a winxp pro machine with several hard drives all with ntfs. Will the lamp server be able to use the ntfs partitions ? Or do i need to change them over.There is several hundred gigs of data on the hard drives and i do not relish the job of converting them.Also can you just mount the ntfs shares that are on the windows machine with the ubuntu machine using a intranet type setup
View 3 Replies View RelatedI've been searching around the net how to do this but I can't find any clues. I did this:
Code:
sudo apt-get install lamp-server^
But now I want to remove it. I've read this: http://ubuntuforums.org/showthread.php?t=510403
[code]....
I am sure there is a nice guide out there somewhere but I cannot find it. My question is: The company I work for has a fully windows environment, servers and clients. The current server is on a Windows 2000 Server and I plan on replacing that. I wish to use Ubuntu server with Joomla for this purpose. This is my first venture into a purely command line interface, although I have played around with Ubuntu desktop in the past. My first question right now is: How do I log onto the Windows Network (active directory) from the ubuntu server. eth0 is reporting a valid internal IP on the network, so its been picked up okay.
Edit: I also want to assign a static internal IP address instead of grabbing from the DHCP. Edit2: Thinking about it, as the ubuntu server and windows server can ping each other do I even need to log into the domain? The server will only be serving web pages.
I need to first point out that I am a complete n00b when it comes to Ubuntu Server, and I managed to install Ubuntu Server 10.04.1 (on a screen-less Acer Aspire 5100 laptop) with Apache2, MySQL, OpenSSH, & PHP5. I currently have this server (hosting my website) behind a linksys router with only port 22, and 80 forwarded to its ip address. Now my question is: Would it be safe to configure a print server on the same machine in order to print from the 3 other computers on my router to one printer, or are there security risks involved (like what I have heard with LAMP servers and Samba on the same machine)? I am also wondering if it is safe the way I configured port 80 & 22? It has extremely long passwords, and I also went through the secure installation of one of the programs setting a root password too... But can somebody please help me with my server? I am very surprised I have gone this far in my first 2 weeks of my Web Scripting class too!
View 1 Replies View RelatedMain purpose of this LAMP server is testing development. I would like to get this server setup up almost exactly to a T how my real web hosting server is setup. I am running 11.04 and have installed LAMP. I also installed vsftpd. I went ahead and made a symlink from /home/user/public_html to /var/www/. I login from a Windows 7 computer via CuteFTP to my Ubuntu server. I can enter the public_html directory and can create folders but the default permissions for any folder created is 700. I have tried running chmod -R 755 /home/user/public_html but this does not work. Every file or folder created now currently will take a 700 permission.
How do I make it so anything that is uploaded into this folder will be at either 755 or 775? Also what is the best practice for utilizing the /var/www directory? Should I be using a symlink to link it to my user's home folder? I have read through so many posts with regards to adding users to a group and giving this group permission and this or that I'm so confused.
I am looking to create a multi-user LAMP server. For example the domain name behind my curent server is [URL] I would like user1 to have [URL] and user2 [URL]
View 9 Replies View RelatedI want to use yum to install LAMP with ssl. Is there a certain order I have to do that in? If I understand this right, yum gets its rpms from one repository. In order to maintain the rpms I will need to know the installation layout of each rpm. How will I find this information?
Also, can I tell yum to go to a certain place and get that rpm? For instance, I've been reading linux topia. Can I tell yum to get that mysql rpm?
Once mysql is installed, how do I start it and get into the client/monitor?
My installation went fine. Apache, PHP, and MYSQL all work independently. My trouble getting PHP to serve MySQL content. The first thing I did was look in the PHP.INI file to check that it was set up correctly. Then I discovered my install of PHP does not have the expected directives, namely extension_dir or any DLL comments where I can enable MYSQL. Instead my config file has a PHP.D directory. In that directory there are no files for MYSQL. I look at the PHP.net site and I can't find any info on how to write this file. And there's the issue of the missing extension_dir directive.
As I said, I visited the PHP.net site and could not find any specific manual pages explaining this change to PHP 5.2.11. I downloaded "the latest php.ini" development file from the site. As near as I can tell its for PHP 6.0.0 and it does have the extension_dir directive, and it still uses the DLLs in Dynamic Extensions section. (EDITED= The introduction of the PHP.INI file doesn't give a version number, however later under error handling there is a note: "as of PHP 6.0.0"). Why I can't find more information about this on any forum or at PHP.net?
it seems i have successfully installed LAMP.. i have a very basic page below that works when invoking "data()" but when i try to connect to mysql server (by removing the comments "//") it would just return a blank page.
[Code]...
I have a desktop running on Fedora 14. I installed LAMP by using scripts for package installation. That works fine. Also, I have a virtual environment (Virtual Machine Manager), in which I installed Fedora 14 as well. I tried to install LAMP by the same scripts and the same packages as on my desktop, but strangely - it does not work.
I figured out that in both cases two instances of httpd.conf are installed, one residing in /etc/httpd/conf/, the other one in /usr/local/apache2/conf. The first one seems to belong to the server that is by default installed together with Fedora 14. The second one is the result from the package installation.
For a reason unknown to me, the second one (/etc/httpd/conf/httpd.conf) is always activated on my desktop, while the first one (/usr/local/apache2/conf/httpd.conf) is activated by default in my virtual computer. I have been able to change the DocumentRoot with succes.
I know how to install LAMP with yum, I have a second virtual computer with LAMP installed by yum, and the whole question is not an urgent one, but... I am just curious... what could have caused the difference? And what would I have to do whenever I would like to use the package installation or vice versa?
I've got my Samba shares up and running. I can stream files from the server, I can create files on the server, and I can copy files from the server.
Running a Windows program (from a Windows box) directly from the Samba server, however, is turning into a nightmare. I'm getting Access is Denied errors from the Windows box, yet I can copy/create/etc from the entire directory with no problems.
Are there any special permissions I need to run EXE files from a Windows box, located on a Samba share? I've already chmod'd everything to 777, and I show full access when ls -Z is used.
Managing MySQL servers can be quite complicated without a proper tool.I have used some commercial tools over the years, but I need something that is Web based, accessible from internet.There are NOT many offerings out there, so I wonder if, beside one company that launched a product quite recently (Novaquantum), there is something else out there that can I can compare it with?I guess when you find something that you like, you'll always to look for something better (PhpMyAdmin doesn't count!)
View 2 Replies View RelatedIn my Fedora 14 I want to setup "PHP,MYSQL,APACHE+PhpMyAdmin" for my Web Server.
View 3 Replies View Relatedjust curious, this might not be possible, but is there any way with ajax to open an ftp connection, download a file and then turn around and POST it to a web server? the reason i ask is because i'm writing a script on a shared hosting plan that doesn't give me permission to directly talk outbound on the ftp port but i need to synchronize a file from a csv on an ftp server, this means i have to do the process manually, is there any way i can just click the button and let my browser do the work?
View 4 Replies View RelatedThis morning I created a panel on the left side of my screen and I set it to auto hide. The problem is, now that it auto hides I can no longer get it to reappear again. Because I can't, my special effects do not work (cube). Is there a way to delete this panel if I can't get it to reappear again?
View 1 Replies View RelatedI have recently switched to Ubuntu from Windows Vista. But I am having a few problems, any pointers will be grand.First sleep and hibernate do not work. My laptop sleeps or hibernates fine, but on awake I just get a blank screen and the hard drive doesn't spin at all. This also disables the network manager, which is a real pain.Also for some reason I can't enable special effects. I have the ATI Radeon 200M series integrated graphics chipset.eres some spec details:
Code:
Summary
Computer
[code]....
I need to uninstall Lamp from my Ubuntu 10.04 OS. I just need to commands etc as I am rather noob at Ubuntu. I will be installing it again I just have come across several problems.
View 2 Replies View RelatedI've looked at several tutorials and since i'm a newb I can't figure them out. I'm trying to set my hostname on my LAMP 10.04. What files do I need to configure? (all IP's below are fake)
Here are the first lines from /etc/apache2/sites-available/default
Code:
<VirtualHost 111.111.111.111:80>
ServerAdmin webmaster@localhost
/etc/apache2/ports.conf has these lines after the comments
[Code]....
I'm using ubuntu server 11.04 in a LAMP configuration. I have my login page setup but my php email verification isnt working. I would like to know how can I install a relay that can take the email verifications and send them through a gmail account.
View 2 Replies View RelatedI am a php devloper and recently my company purchased an IBM X3400 M2 Server and i was told to set up the server.I installed the Ubuntu 10.04 LTS Server i386 version. Everything went up smoothly and i have some queries to be asked.
1.)Our scenario is like this,--> we have an a production LAMP Server and we need the to backup all the contents of www folder and all Mysql files.I plan to do this with a shell script and use the rsync for syncing and backup.
Again i have a mysql backup shell script that i want to activate on system shut down Like when i shut down my server,the backup script should run taking all the backups, just before the Shutdown.The script should run take the backups, one, on the server itself and other on a remote machine sync with rsync and system should then go for Final shut down.How can we achieve this.I know of cron jobs but i prefer the above way.Suggestion requested here.
2.)To Set up a Special Samba share. I need to set up a samba share that will allow only files to be copied and not be deleted.For eg i will create a folder "WEBSITE-BACKUPS"(will contain the list of all finished website works plus mysql dump)
The user on the network will have only permission to paste into this folder.Like a user just paste his work say 'abcwebsite',he will have only this privilege and no DELETE privilege or right.Can this be done?
3.)I have a LAN, in this the IBM Machine is acting as Production LAMP server with around 20 machines connecting and working with files on this server.All other machines are Windows.Can i get a log based on the ip like who has accessed with files at what times or last modification time from an IP address. I usually get complaints from my fellow developers that somebody has deleted or modified their work which is in this IBM Server.So is there any way to monitor this.I also know about subversion,the versioning system but most people here are uncomfortable with check in / check out commands.
I have a LAMP server running Ubuntu 8.04.03 Server edition running smoothly. Ive setup several websites on the server and all are ok, but I constantly have trouble with permissions. Everytime I setup a new domain to host, I setup a user specific to that domain. This allows SSH login specific to the domain. The problem I have is that every time I setup ownership in the virtual directories for the users they belong to, the settings don't seem to stay. Initially it seems to work ok, but when I install Joomla and setup the webspace, I always seem to have to login to the server itself to chmod the folders I need to have writable. I cant chmod properly from my FTP client which is weird. How to manage permissions?
Currently I am doing the following:
Code:
sudo mkdir -p {name of domain}/{public,private, etc...}
sudo usermod -g www-data {my user name}
sudo chown -R www-data:www-data /var/www/{directory for the domain}
sudo chmod -R 775 {folder path I need to change}
This works for a while but as I add new things to Joomla and I want to modify the folders, I always have to go back and redo the chmod and the chown commands to get them where I want.
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.
running 10.4 (lucid)
PHP in *.php files works in LAMP. PHP script within an *.html file is not executed. Does not display anything but view->source_code shows the <?php ... ?>
[Code]...
Doesn't display anything except the page title is there. View page source --- shows <?php phpinfo() ?> not the phpinfo() output. Both files are in /var/www/ with 644 permissions.
[Code]...
Basically I've made a right **** up of my apache2 configuration and I just want to un-install apache2 and re-install so I can start again.
I've done research on this but the guides have always been for people installing using "apt-get" or "rpm" packages. I've tried these methods but nothing has worked.
The way I installed lamp was from selecting it in the different options when installing ubuntu-server from disk.
Is there any way I can do this through the terminal and not through synaptic, only reason being is that I'm ssh'ing across a local network.