{"id":21027192,"url":"https://github.com/ivanhao/entware-ivan","last_synced_at":"2025-10-20T09:09:06.053Z","repository":{"id":89341982,"uuid":"52492422","full_name":"ivanhao/entware-ivan","owner":"ivanhao","description":"entware which include lighttpd,php5,php5-cgi,php5-cli,samba,dlna and also include XunLei Xware.It's support Owncloud.","archived":false,"fork":false,"pushed_at":"2016-02-26T04:59:29.000Z","size":62440,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T14:38:38.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivanhao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-25T03:00:43.000Z","updated_at":"2019-04-21T16:11:11.000Z","dependencies_parsed_at":"2023-05-10T14:50:26.554Z","dependency_job_id":null,"html_url":"https://github.com/ivanhao/entware-ivan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhao%2Fentware-ivan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhao%2Fentware-ivan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhao%2Fentware-ivan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanhao%2Fentware-ivan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanhao","download_url":"https://codeload.github.com/ivanhao/entware-ivan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243464640,"owners_count":20295288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T11:48:46.064Z","updated_at":"2025-10-10T05:46:21.981Z","avatar_url":"https://github.com/ivanhao.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Entware-ivan\n\n\u003eIt's a entware which include lighttpd,php5,php5-cgi,php5-cli,samba,minidlna and also include XunLei Xware.It's support Owncloud.\n\n\u003eIt's tested in `armv7` device such as some Openwrt device,Raspberry Pi 2,Banana Pi M1+.\n\n##Installation note\nThe entware will run in path:`/opt`,you can make directory `/opt` or make soft link from your Hard Driver.For example:\n```\nln -s /mnt/sda1/opt /opt\n```\nThen clone the tar archive to your disk and uncompress tar archive to location:`/opt`.\n\n* Test:\n\n```\n/opt/bin/opkg list-installed\n```\nIf nothing goes wrong,it will show the installed packages list.\n\n##Lighttpd\n#### Default port and default document-root:\n\nlighttpd's default port is 9001,default document-root is `/opt/share/www` you can config it by the following method:\n```\nvi /opt/etc/lighttpd/lighttpd.conf\n```\nchange the `server.port   = 9001` to other port number you want.\n\nchange the `server.document-root  = \"/opt/share/www\"` to other path you want.\n\n#### Start lighttpd: \n\n```php\n/opt/sbin/lighttpd -f /opt/etc/lighttpd/lighttpd.conf\nor\n/opt/init.d/S80lighttpd start\n```\nyou can add this to `/etc/rc.local` to make it auto start after boot.\n\n##Owncloud\nIt's support [owncloud](https://owncloud.org/install/#instructions-server)8.2.2(latest version) which is tested by me.You can test other version youself.\n\nyou can download owncloud to `document-root` then start lighttpd.\n\n##Xware\nXware is a software for [Xunlei](http://luyou.xunlei.com/thread-12545-1-1.html) downloader,you can run it like this:\n```\n/opt/xware/portal\n```\nwhen first running,it will show the active code like this:\n```\ngetting xunlei service info...\nConnecting to 127.0.0.1:9000 (127.0.0.1:9000)\n\nTHE ACTIVE CODE IS: ufwhkx\n\ngo to http://yuancheng.xunlei.com, bind your device with the active code.\nfinished.\n```\nthen use `THE ACTIVE CODE IS: xxxxxx` to bind and active your device from [http://yuangcheng.xunlei.com](http://yuangcheng.xunlei.com).\n\n##Samba\nThe samba config file in `/opt/etc/samba/smb.conf`\n\nyour can change `path = /opt/share/www` to other path you want.\n\n#### config samba password:\n\n`smbpasswd -a root` |input your password twice.\n\n`/opt/sbin/samba/smbpasswd -a root` |if it's not working up,input this.\n\n`/opt/etc/init.d/S08samba start` |start samba server. you can add this to `/etc/rc.local` to make it auto start after boot.\n\n##minidlna\nThe default minidlna config file in `/opt/etc/minidlna.conf`\n\nchange configs below:\n```\nport=8200\nmedia_dir=/opt/media\ndb_dir=/opt/var/minidlna\nlog_dir=/opt/var/minidlna\n```\nyour can change the `media_dir` to the multi-media path.if you want to restrict a media_dir to specific content types, you can prepend the types, followed by a comma, to the directory:\n```\n+ \"A\" for audio  (eg. media_dir=A,/home/jmaggard/Music)\n+ \"V\" for video  (eg. media_dir=V,/home/jmaggard/Videos)\n+ \"P\" for images (eg. media_dir=P,/home/jmaggard/Pictures)\n+ \"PV\" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)\n```\n\n#### start minidlna:\n\n```\n/opt/etc/init.d/S90minidlna start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanhao%2Fentware-ivan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanhao%2Fentware-ivan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanhao%2Fentware-ivan/lists"}