📌 오늘의 국제 원자력 동향 2026년 3월 21일(토)
- X-energy가 미국 IPO 서류를 제출하며 AI 전력 수요와 정책 지원을 배경으로 한 차세대 원전 투자 기대가 자본시장 조달 국면으로 이동함
- X-energy와 Talen이 PJM 시장에서 XE-100 다기 배치를 검토하며 데이터센터와 제조업 수요를 겨냥한 미국 SMR 사업화 경로를 구체화함
- IAEA가 자포리자·하르키우·체르노빌의 외부전원 취약성을 재차 경고하며 우크라이나 핵시설의 전시 전력안정성이 핵심 안전 변수로 부상함
- SCK-CEN이 Framatome과 BR2 연구로용 저농축 우라늄 연료 공급 계약을 체결하며 HEU 대체 전환을 가속화함
- 후쿠시마 제1원전 3호기 압력용기 하부의 구멍과 연료잔해 추정 물질이 처음 확인되며 잔해 제거 전략 수립이 진전됨
LAMP (SoftInstall): 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
| (같은 사용자의 중간 판 7개는 보이지 않습니다) | |||
| 1번째 줄: | 1번째 줄: | ||
LAMP | LAMP | ||
== Date time == | |||
# ln -sf /usr/share/zoneinfo/ROK /etc/localtime | |||
# date | |||
== MySQL == | == MySQL == | ||
=== Install === | === Install === | ||
| 8번째 줄: | 12번째 줄: | ||
To set initial password | To set initial password | ||
$ mysql_secure_installation | $ mysql_secure_installation | ||
=== Problem in root password === | |||
Disable password checking temporally. | |||
by adding a line at /etc/mysql/mysql.conf.d/mysqld.cnf | |||
[mysqld] | |||
skip-grant-tables | |||
Stop and restart mysql | |||
$ sudo systemctl stop mysql | |||
$ sudo systemctl start mysql | |||
Change using no password mode. | |||
$ mysql -u -p | |||
mysql> user mysql; | |||
mysql> update user set plugin="mysql_native_password" where User='root'; | |||
mysql> update user set authentication_string=PASSWORD('newpassword') where User='root'; | |||
mysql> flush privileges; | |||
mysql> quit | |||
Restart mysql after deleting "skip-grant-table" | |||
$ sudo systemctl stop mysql | |||
$ sudo systemctl start mysql | |||
Check if working well. | |||
$ mysql -u root -p | |||
Enter password: xxxx | |||
mysql> use user; | |||
mysql> select * from user where User='root'; | |||
== Apache2 == | == Apache2 == | ||
| 23번째 줄: | 50번째 줄: | ||
</Directory> | </Directory> | ||
</pre> | </pre> | ||
=== SSL === | |||
Lets Encrypt SSL install; (for ubuntu) | |||
$ sudo add-apt-repository ppa:certbot/certbot | |||
$ sudo apt install python-certbot-apache | |||
Setup SSL Certificate; Modify <code>/etc/apache2/sites-available/000-default.conf</conf>. | |||
Change server name properly. | |||
ServerName atomic.snu.ac.kr | |||
Check configuration | |||
$ sudo apache2ctl configtest | |||
Obtain an SSL certicate | |||
$ sudo certbot --apache -d atomic.snu.ac.kr | |||
Verify SSL auto renewal. | |||
$ sudo certbot renew --dry-run | |||
== Php == | == Php == | ||
=== Install === | === Install === | ||
$ sudo apt-get install php | $ sudo apt-get install php | ||
$ sudo apt-get install | $ sudo apt-get install php-gd | ||
$ sudo apt-get install libapache2-mod-php php-mysql | |||
$sudo apt-get install php | |||
[[Category: SoftInstall]] | [[Category: SoftInstall]] | ||
2019년 4월 7일 (일) 04:59 기준 최신판
LAMP
Date time
# ln -sf /usr/share/zoneinfo/ROK /etc/localtime # date
MySQL
Install
$ sudo apt-get update $ sudo apt-get install mysql-server $ sudo systemctl start mysql $ sudo systemctl enable mysql
To set initial password
$ mysql_secure_installation
Problem in root password
Disable password checking temporally. by adding a line at /etc/mysql/mysql.conf.d/mysqld.cnf
[mysqld] skip-grant-tables
Stop and restart mysql
$ sudo systemctl stop mysql $ sudo systemctl start mysql
Change using no password mode.
$ mysql -u -p
mysql> user mysql;
mysql> update user set plugin="mysql_native_password" where User='root';
mysql> update user set authentication_string=PASSWORD('newpassword') where User='root';
mysql> flush privileges;
mysql> quit
Restart mysql after deleting "skip-grant-table"
$ sudo systemctl stop mysql $ sudo systemctl start mysql
Check if working well.
$ mysql -u root -p Enter password: xxxx mysql> use user; mysql> select * from user where User='root';
Apache2
Install
$ sudo apt-get install apache2 apache2-utils
$ sudo systemctl enable apache2 $ sudo systemctl start apache2
Missing file
404 Not found를 처리하기 위해 /etc/apache2/apache.conf를 수정
<Directory / > Overrride FileInfo ErrorDocument 404 /error.html </Directory>
SSL
Lets Encrypt SSL install; (for ubuntu)
$ sudo add-apt-repository ppa:certbot/certbot $ sudo apt install python-certbot-apache
Setup SSL Certificate; Modify /etc/apache2/sites-available/000-default.conf</conf>.
Change server name properly.
ServerName atomic.snu.ac.kr
Check configuration
$ sudo apache2ctl configtest
Obtain an SSL certicate
$ sudo certbot --apache -d atomic.snu.ac.kr
Verify SSL auto renewal.
$ sudo certbot renew --dry-run
Php
Install
$ sudo apt-get install php
$ sudo apt-get install php-gd
$ sudo apt-get install libapache2-mod-php php-mysql