Using Lion Server as a web server for Wordpress sites?
Is anyone doing this? I have a few low traffic Wordpress sites I'd like to move to a Lion server I already have at MacMiniColo to try and reduce my costs.
Obviously I'll have to install MySQL and MySQL Workbench for the databases, which I'm fairly comfortable with, however I'm not sure what the best route for FTP access to the WP directories is. I've looked at Rumpus but it's just a little too pricy for my needs.
Does anyone have any advice?
John, I guess you did install MySQL and got Wordpress running? I use the default location for web sites on Lion server. So my site is in /Library/Server/Web/Data/Sites/wordpress/. Since the directory is owned by _www I use root to retrieve and put files under this directory. My own user account would not have sufficient rights. It is not safe to use root with ssh with a password, so you will have to make sure you can only login as root with an ssh key. Therefore edit /etc/sshd_config and make sure that a line with 'PermitRootLogin without-password' is present. sshd or your server should be restarted then.
On you local mac you can use the terminal to generate a key. Use 'ssh-keygen'. Here (and on various other web pages) you can find how to do this:
http://coolestguyplanettech.com/secure-ssh-keys-connection-with-remote-passwords -osx-10-6-linux/
On the server you will have to put the authorized_keys file in /var/root/.ssh/
Now you can use cyberduck and let it authenticate with the key you have generated (id_rsa if you use the web page I pointed to). Then you can go to the wordpress directory and upload or edit files.
Similar Messages
-
App server , process scheduler , web server and DB scripts
Team,
Good Morning.
I am looking for the script which will help me in doing health check-up for app server , process scheduler , web server and DB.
The script should trigger a email when any one of the domain is down and when it get up.
Waiting heartlyIf you really only want scripts you should write them yourself. If you don't understand the script how can you be expected to support it, modify it, or add new features? You don't even indicate what OS your using? I could give you a copy of a powershell script but what good is that on a linux box?
You need to identify what you really are interested in monitoring. Is it process health only? actual system integrity? Do you need to know if a process count goes under a certain threshold? Is the processes scheduler really working? Is queuing occurring somewhere? Is the web server at a critical number of open sessions? log monitoring for keywords? Do you need to actually simulate a web session which would prove the full system is working in one execution, although it won't indicate a failure will occur where some other monitoring might?
This is why the others have recommended pre-built packages that already offer most of this. If you still want scripts, gather your requirements, think about what you really need, try some stuff on your own, and if you have a specific problem with a script or how to accomplish a particular system check, post a new question, and I'll do my best to help. I think you'll get a better response from everyone if you do that. -
Difference entre G web server et LabVIEW web server
Salut,
je voudrais savoir quelle est la difference entre le G Web server et LabVIEW web Server et quelles sont les avantages de chcun d'eux.
Merci.Bonjour rose2009,
Labview web server est le serveur web alors que le G server permet d'executer des script CGI. Il faut se rappeller que labview web server ne permet pas de faire des entrées/sorties, les CGI VI permet de recevoir les entrées ou les requetes pour renvoyer les données.
Cordialement,
Hi rose2009
Labview web server is the web server until G server allow to execute CGI script. LabVIEW does not work with standard HTTP input and output, a CGI VI receives the standard input data as a string when it receives request and sends data that it generates as a string.
Best regards,
Aurélien J.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Du 30 juin au 25 août, embarquez pour 2 mois de vidéo-t'chat ! Prenez place pour un voyage au coe... -
Using Struts Example in IPlanet web Server 6.0
Hai
i am new to struts and i was trying to run the example application shiped along with the binary distribution
in iplanet webserver 6.0.
I have extracted the struts-example.war file in to a folder named strutsexamples under my iplanetdocroot\servers\docs\ Using the
link DeployWebApplications in the admin side of the iplanet application.
By doing the above steps all the example files are extracted in to the folder iplanetdocroot\servers\docs\strutsexamples directory .
Problem 1: when i restarted the server i found the following error in the log file
[06/Apr/2003:19:58:03] info ( 394): successful server startup
[06/Apr/2003:19:58:03] info ( 394): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
[06/Apr/2003:19:58:05] info ( 394): Installing a new configuration
[06/Apr/2003:19:58:05] info ( 394): [LS ls1] http://gdcblr1596.gdcblr, port 80 ready to accept requests
[06/Apr/2003:19:58:05] info ( 394): A new configuration was successfully installed
[06/Apr/2003:19:58:09] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:09] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:10] info ( 394): Adding web application (/diva) at (E:/iPlanet/Servers/docs/diva)
[06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:10] info ( 394): Adding web application (/struts) at (E:/iPlanet/Servers/docs/struts)
[06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:10] info ( 394): Adding web application (/strutsexamples) at (E:/iPlanet/Servers/docs/strutsexamples)
[06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
[06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
[06/Apr/2003:19:58:11] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context = '/strutsexamples'
[06/Apr/2003:19:58:11] info ( 394): action: init
[06/Apr/2003:19:58:13] warning ( 394): vs(https-gdcblr1596.gdcblr)ServletException thrown in servlet.init; context = /strutsexamples, servlet = 'action'; stack tace: javax.servlet.UnavailableException: Parsing error processing resource path
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java, Compiled Code)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java, Compiled Code)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java, Compiled Code)
at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java, Compiled Code)
at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:680)
, root cause:
[06/Apr/2003:19:58:13] info ( 394): Successfully initialized web application environment (web-apps.xml) for virtual server (https-gdcblr1596.gdcblr)
Problem 2: when i was trying to invoke the example by typing http://localhost/strutsexamples/ i am getting only the following errors .
[06/Apr/2003:20:03:17] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context = '/strutsexamples'
[06/Apr/2003:20:03:17] info ( 394): jsp: init
[06/Apr/2003:20:03:18] info ( 394): jsp: init
[06/Apr/2003:20:03:19] failure ( 394): Internal error: servlet service function had thrown ServletException (uri=/strutsexamples/): javax.servlet.ServletException, stack: javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
, root cause: javax.servlet.jsp.JspException
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:975)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
I have read all the FAQ and searched in web also and i am not able to find any answer to my problem .
Kindly if someone knows how to overcome the above problem do reply me to this id .
If any one has got the steps to be done to use struts in IplanetWebServer 6.0 do mail me also .
thanks and regards
Divakar.Renganathan
Associate Consultant
MascotSystems .
Bangalore.Hi,
Were you successful in getting the steps for incorporating struts with iPlanet Web Server 6.0 ?
If so, please email them to me as I am having similar problems.
Thanks
Harinder
[email protected] -
CAC or smart card use with Oracle database and web server
I've been asked to smart card (CAC) enable our Oracle web server and database access. We currently use CAC to access many of our other applications.
Where can I find the following information
Oracle software required (and is it an additional cost)
How to integrate Oracle App server (web server) with CAC.
How would I need to change the database users accounts to be CAC enabled rather than database users accounts.
Thanks
steven jackson
[email protected]
614-692-9768Virtualisation is not certified for Oracle RAC on Windows.
+Certified Software on Oracle VM [ID 464754.1]+ note states:
Oracle Real Application Clusters (RAC)
Oracle 10.2.0.4 and up (10gR2) and 11.1.0.7 and up (11gR1) and 11gR2 RAC for Linux x86 and Linux x86_64 certified on Oracle VM
Guest OS: Oracle Linux 5.1 (and above) RHEL 5.1 (and above) for Linux x86 / Linux x86_64
Paravirtualized (PV) mode only (Guest OS and drivers)
Only supported on Oracle VM 2.1.2 and above
Live-migration of an Oracle RAC VM is supported with Oracle VM 2.2.1 and above.
Previous versions are not supported. Please refer to this link for best practices.
Over-committing CPUs is not recommended, but supported with the following restrictions:
The total amount of VCPUs allocated to guest domains (running Oracle RAC guests), should not exceed
two times (2x) the amount of real CPUs / cores in the Oracle VM server.
The amount of VCPUs allocated to a single guest domain should not exceed the amount of real CPUs /
cores in the Oracle VM server.
Maintain Oracle VMs default VCPU allocation for dom-0: Oracle VM will allocate 1 VCPU for each real CPU or core to dom-0.
CPU pinning is only recommended for hard partitioning. If no hard partitioning is required, CPU pinning should not be used.
Static support only (dynamic support is being planned):
Dynamic resizing of guest virtual machine is not supported (VCPU, memory and I/O)
Virtual Machine Pause/Restore of an active Real Application Cluster virtual machine is not supported. -
Need server.xml and web.xml for connection pooling
hi guys,
I am having lots of problem implementing the Connection Pool. I want to use the Tomcat's Connection pool classes and not my connection pool.
I have gone through lots of problem trying to configure it.
I got the range of errors. Has someone worked on this. Does it work with Tomcat 4.1 and Oracle 8i. Can anyone provide any links or previous posts to help me out.
If someone can paste their working server.xml and web.xml then that would be really grt.
Any kind of help would be really helpful.
AmitTomcat does not have a connection pooling mechanism. I've used Apache Commons DBCP with Tomcat although with PostgreSQL. It works great.
Nothing in my web.xml gets modified. Only server.xml needs to be updated for DBCP. The Tomcat JNDI Datasource documentation is very good and should get you through. -
500 Internal server error in web template for specific users
Hi We have issue with Web templates for some of the users giving error "500 internal Server Error", all other users able to run the same report.
We have authorization for the user and following variable which will give target currency selection in variable screen.
SAP BI Environment
BI Java : Release: 7 - Patch level: 0000000107 - Description: BI Web Applications Java - Additional info: - Production mode: true BI JAVA SPS : 7, Patch : 0
BI ABAP : Release: 701 - Patch level: 0007 - Description: SAP Business Warehouse (PBICLNT005) - Additional info: - Production mode: true
Java Virtual Machine : Java HotSpot(TM) 64-Bit Server VM - Sun Microsystems Inc. - 1.4.2_28-b03
Operating System : Windows 2003 - amd64 - 5.2
Error Message :
ERROR: Specify a value for variable Select Target Currency
ERROR: Specify a value for variable Select Target Currency
Root Cause :
The initial exception that caused the request to fail was:
com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.initializeState(ProviderSelectionObject.java:932)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.queryview.ProviderQueryView.initializeState(ProviderQueryView.java:109)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.hasDefaultView(ProviderSelectionObject.java:1462)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.initializeState(SelectionObject.java:516)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.initializeState(QueryView.java:198)
please let me know if any of you guys had this kind of problem.SLD is not down its in active , I checked SLD url and Technical system also
Its in active , but when the problem is happend they done restart
but many times its happening every time restart is not preferrable ,upto that one is production system.
SLD is in active , but why the JCO'S ARE DISABLE under content Admin
where we can search the SLD user , we checked in SU01 but the user didn't exist there
If user is lock in the sense after the restart again it's working fine
I want to know the Root cause , why bcz it's simultaniously happend.
Regards,
SONY -
Using IIS 5.0 as web server to App Server 8.0 PE
I am developing a site for a company which has IIS 5.0 as the web server. The sysad there would like to allow only IIS to receive request and hide the App Server internally. I read that one can configure IIS 5.0 to forward request to App Server 7.0. Can you do that in App Server 8.0? How? I have read a post on how to configure Apache to forward request to App Server 8.0 but I don't seem to understand. Sorry, I am very new to the area of App Server and Web server.
My second question, Are there any advantages of configuring IIS 5.0 to accept request and forward any JSP/Servlet request to AP 8.0? How does the performance of HTTP service of AP 8.0 compared to that of IIS 5.0? Are there any performance or security or other issues associating with this option?
Cheers,
Nocellyou could try this AS7 but it may work, have being looking at how to do this myself
http://swforum.sun.com/jive/thread.jspa?forumID=114&threadID=19196
John -
in my application, i am sending public key to server, that is tomcat server. and i am using URLConnection class, which is used to send file from client to server. it is working fine.
After that in response server will send public key again to client. but that is not sending. and that is giving error of providers.
i am using flexicore provider , i also add explictily that provider using Security.addProvider , in program but that is not worikng.
so, pls anybody tell me how providers will be support in tomcat
server application.
pls, help me.What is the error message? You need to be more explicit if you want help from this forum, Sachin.
-
Trying to figure out using my macbook as a web server
So I have Apache and PHP enabled and working with MySQL installed. And I know that I am able to access my IP address and my IP address/~myusername online, but it says I don't have permission to do it. What folder or directory is the internet reading files?? I'm used to having a plain UNIX server running Apache that has a public_html folder that contains all of the files accessible by the internet. What's the equivalent on my macbook? Is there one?
illinifan339 wrote:
So I have Apache and PHP enabled and working with MySQL installed. And I know that I am able to access my IP address and my IP address/~myusername online, but it says I don't have permission to do it. What folder or directory is the internet reading files??
Files accessed using only your server name (or address) are in Library/WebServer/Documents
Those accessed from /~myusername are in /users/Sites as mentionned by etresoft.
But Leopard introduced a "mini" problem. You have to verify that in /etc/apache2/users there is a myusername.conf file. If not, copy it from /etc/httpd/users or create it with TextEdit or BBEdit.
Hope this helps. -
Running the G server and labview web server as a stand-alone serve
Hello,
Now I am running the G web server from the Internet toolkit cooprating with the Labview default web server because I need the server to handle both GCI reguests and the requests of the remote panel.
Now I have a question. Is there any way to make these two servers as stand-alone applications and also make it to be window service ( I think if I could make them the stand-alone applications, making them to be window services would be easy)? I just want the web server to be a stand-alone application without installing the Labview (just installing the run-time engine) on one machine. Could this be done? Thank you very much.
Best Regards,
Benjamin ChuHello Benjamin,
for running a LabVIEW application as Windows Service is here a tutorial.
I formerly tried to get the G web Server into an application and I know there were some dynamic VIs loaded by the HTTP Server Control.vi and some SubVIs. I never tried this seriously enough to get it running.
You need at least to put the VIs vi.lib\addons\internet\http\http0.llb\HTTP Server, vi.lib\addons\internet\http\http0.llb\srvr_%02d.vi (%02d is part of a format into string with a for loop index), HTTP Load Configuration Files.vi as dynamic VIs into your build definition.
Running the G Web Server and looking at the VI hierarchy is not for help because for some reasons the G Web Server VIs will not show up in the VI hierarchy window.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
I am wondering whether we can use WebHelp Pro output on a web
server. I ask because our company is moving towards using
SupportWorks as a
portal to all sorts of product information including, faqs, help
desk call logs, help files, etc.
SupportWorks is basically just a directory structure residing
on a web server so as far as I am concerned we only need WebHelp
output. However alongside this project is a push to use the
benefits of WebHelp Pro output. Initially it is likely that the
help will be installed locally by the company's applications and
also made available in the SupportWorks product. However in the
longer term the idea is to have the help files solely hosted in
SupportWorks on the web server.
Can anyone see any problem / issue with this approach?My output is Webhelp Pro from RHx5 - my server is a virtual
Web Server (Windows 2003 I think).
However, I use RoboEngine and no other additional software
packages (i.e. SupportWorks).
My company is looking into options to use Sharepoint 7 as a
portal for not only my RoboHelp product information (4400+ files)
but other information located in shared drives, etc
Cindi -
Sun App Server as a Web Server
Can the Sun App Server be used as a simple Web Server (like Apache)? If so, how does one set the root directory for HTML files?
ThanksThanks.
Just to clarify for any others who are interested, heres the deal:
1) Package the static HTML files using the 'deploytool' (See Packaging Web Modules in Chapter 3 of The J2EE(TM) 1.4 Tutorial). This creates a .war file with the required deployment descriptors(?); anyway it creates a bunch of .xml files that have the right data in them.
2) Take the .war file and drop it in the 'quick deploy' icon (copies the .war file to the 'autodeploy' directory for the App Server instance).
Anyhow thats the drill.
Good luck. -
Hi guys!
I know it's not a good idea to use oracle as a database for my site. But I want it just for learning oracle. Now I am using apache+ perl + oracle database on my site. Can I change perl and apache for oracle app server? Is it capable of doing it? Thanks.Yes it is possible by doing a fresh setup of oracle application server infrastructure i.e installing the metadata repository in your existing database you have. Then install the application server middle tier that configures components like OC4J, apache etc. Now re-register your applications .jar .war .ear files to the middletier.
Sami Malik -
Using existing SAP Queries in Web Dynpro for Java
Hello,
Does anyone knows any tool to easily reuse SAP Query reports in Web Dynpro for Java?
Thanks in advance,
DizHi Diz,
You can use RSAQ_REMOTE_QUERY_CALL (which rfc enabled) functional module to generate rfc adaptive model which can be used inside WD project.
Best regards, Maksim Rashchynski.
Maybe you are looking for
-
I have a lot of duplicate photographs in my iPhoto library. It happened while our EIS were saving a computer breakdown, but now i would like to know how to selectively delete the duplicates, without doing it individually. That is, can I set up iPhoto
-
I just lost my iphone5 in a foreign country. Was not able to previously register it with icloud and have not installed the findmy iphone app. How can i wipe out my data remotely without these setups? Is there any good app i can use to track it? Plea
-
Hello, I am using webutil in a server, and the clients use it to extract some data to a csv. The problem is that the created files are inserted in the server side, and I would like to save them in the client side. Actually it uses the path I select i
-
Problem with master card in app
problem with my master card if i doing any buying process the result your payment methods was declined please inter anther payment methods please how can i solve this problem .
-
Installing Oracle TimesTen in MacOSx
Hi , I am trying to install the Oracle TimesTen 11g in Mac OsX. I am able to install it but unable to start it. I am trying to use the IMDB functionality of TimesTen. and use it with JBoss. The java version is 1.5, the JBoss version is 5. Please send