http://oyeahhh.tistory.com/97

http://blog.naver.com/PostView.nhn?blogId=dme1004&logNo=220857327544&parentCategoryNo=&categoryNo=13&viewDate=&isShowPopularPosts=true&from=search

https://bitnami.com/forums/forums/lampstack/topics/lampstack-unable-to-run-etc-init-d-apache-restart



1. root 권한

sudo bash


2. Bitnami 사이트 접속해서 

https://bitnami.com/stack/lamp/installer


3. Linux Version 선택 Download 버튼 우클릭 후 링크 주소 복사

https://bitnami.com/redirect/to/157571/bitnami-lampstack-7.0.22-1-linux-x64-installer.run

 

4. wget 복사한 링크 주소 붙여넣기(리눅스에 입력)

wget https://bitnami.com/redirect/to/157571/bitnami-lampstack-7.0.22-1-linux-x64-installer.run



5. chmod 명령어를 사용하여 권한을 변경해 준다.

sudo chmod 700 bitnami-lampstack-7.0.22-1-linux-x64-installer.run

 


6. lamp를 설치 한다.

sudo ./bitnami-lampstack-7.0.22-1-linux-x64-installer.run


7. 설치할 때 PhpMyAdmin을 제외한 나머지는 설치 하지 않는다. 전부 n 를 해준다. Bitnami의 설치 위치를 변경하지 않는다면 엔터 해준다. ( 기본은 /opt/lampstack-버전 )


8. MySQL의 root 사용자의 비밀번호를 설정해 준다.

 

9. 설치 완료하면 실행 시켜 준다~

Posted by sungho88
,

보통 폼(form) 태그에서 action을 이용하여 input 정보들을 보낸다.


하지만, 이 외에도 form태그는 작성만 해놓고, 자바스크립트 내에서 처리할 수 있다.



<form name="comment_form" method="post">

 // 안에 작성

</form>

으로 HTML 코드를 작성하고,


<script type="text/javascript">


function submitForm() {

document.comment_form.action = "./comment.php";

document.comment_form.submit();

}


</script>


이렇게 하면, document로 form의 이름을 불러온 뒤, action 또는 submit()함수를 실행할 수 있다.

예를 들어 어떤 버튼을 눌렀을 때, form으로 전송하고 싶다면, submit type도 있지만

위와 같이 submitForm함수를 호출하여 처리를 할 수도 있다.


Posted by sungho88
,

보통 폼(form) 태그에서 action을 이용하여 input 정보들을 보낸다.


하지만, 이 외에도 form태그는 작성만 해놓고, 자바스크립트 내에서 처리할 수 있다.



<form name="comment_form" method="post">

 // 안에 작성

</form>

으로 HTML 코드를 작성하고,


<script type="text/javascript">


function submitForm() {

document.comment_form.action = "./comment.php";

document.comment_form.submit();

}


</script>


이렇게 하면, document로 form의 이름을 불러온 뒤, action 또는 submit()함수를 실행할 수 있다.

예를 들어 어떤 버튼을 눌렀을 때, form으로 전송하고 싶다면, submit type도 있지만

위와 같이 submitForm함수를 호출하여 처리를 할 수도 있다.


Posted by sungho88
,