WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to change the nginx configure file(Resolved)?  (Read 4289 times)

Offline swish

  • Newbie
  • *
  • Posts: 2
How to change the nginx configure file(Resolved)?
« on: December 22, 2010, 11:54:58 PM »
In Tiny Core Linux 3.4,I install a nginx,but I can't change the configure file.When I try edit /usr/local/conf/nginx.conf and save it ,A error message:
  Error writing to file 'nginx.conf':
  Read-only file system.
  So,what's can I do next?How to change the configure file?
« Last Edit: December 23, 2010, 12:26:38 AM by swish »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to change the nginx configure file?
« Reply #1 on: December 23, 2010, 12:01:42 AM »
cd /usr/local/conf
mv nginx.conf nginx.conf.org
cp nginx.conf.org nginx.conf

echo "usr/local/conf/nginx.conf" >> /opt/.filetool.lst

Offline swish

  • Newbie
  • *
  • Posts: 2
Re: How to change the nginx configure file?
« Reply #2 on: December 23, 2010, 12:17:53 AM »
 ;)Very Very thank you.It's OK!